- 主题:[KBS]在RedHat上make PHP时出错
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
main/internal_functions_cli.lo(.text+0x1c): In function `php_startup_internal_extensions':
main/internal_functions_cli.c:69: undefined reference to `php_startup_extensions'
main/internal_functions_cli.lo(.data.rel+0x0): undefined reference to `xml_module_entry'
main/internal_functions_cli.lo(.data.rel+0x4): undefined reference to
`tokenizer_module_entry'
main/internal_functions_cli.lo(.data.rel+0x8): undefined reference to
`basic_functions_module'
main/internal_functions_cli.lo(.data.rel+0xc): undefined reference to
`session_module_entry'
main/internal_functions_cli.lo(.data.rel+0x10): undefined reference to `posix_module_entry'
main/internal_functions_cli.lo(.data.rel+0x14): undefined reference to `pcre_module_entry'
main/internal_functions_cli.lo(.data.rel+0x18): undefined reference to
`overload_module_entry'
main/internal_functions_cli.lo(.data.rel+0x1c): undefined reference to `mysql_module_entry'
main/internal_functions_cli.lo(.data.rel+0x20): undefined reference to `iconv_module_entry'
main/internal_functions_cli.lo(.data.rel+0x24): undefined reference to `gd_module_entry'
main/internal_functions_cli.lo(.data.rel+0x28): undefined reference to
`domxml_module_entry'
main/internal_functions_cli.lo(.data.rel+0x2c): undefined reference to `ctype_module_entry'
main/internal_functions_cli.lo(.data.rel+0x30): undefined reference to
`php_zlib_module_entry'
collect2: ld returned 1 exit status
--
FROM 202.96.19.*
你自己编译php?php什么版本
gcc 3.4.3?
【 在 Tsinghoo (青虎) 的大作中提到: 】
: /usr/lib/gcc/i386-redhat-linux/3.4.3/../../../crt1.o(.text+0x18): In function `_start':
: main/internal_functions_cli.lo(.text+0x1c): In function `php_startup_internal_extensions':
: main/internal_functions_cli.c:69: undefined reference to `php_startup_extensions'
: ...................
--
FROM 128.12.150.*
php4.3.4
gcc3.4.3
【 在 atppp (Big Mouse) 的大作中提到: 】
: 标 题: Re: [KBS]在RedHat上make PHP时出错
: 发信站: 水木社区 (Mon Jan 7 16:05:58 2008), 转信
:
: 你自己编译php?php什么版本
: gcc 3.4.3?
: 【 在 Tsinghoo (青虎) 的大作中提到: 】
: : /usr/lib/gcc/i386-redhat-linux/3.4.3/../../../crt1.o(.text+0x18): In function `_start':
: : main/internal_functions_cli.lo(.text+0x1c): In function `php_startup_internal_extensions':
: : main/internal_functions_cli.c:69: undefined reference to `php_startup_extensions'
: : ...................
:
: --
:
: ※ 来源:·水木社区 newsmth.net·[FROM: 128.12.150.*]
--
FROM 202.96.19.*
搞定了
先执行一下make clean再make就没问题了,这算什么事儿啊 :(
【 在 Tsinghoo (青虎) 的大作中提到: 】
: 标 题: Re: [KBS]在RedHat上make PHP时出错
: 发信站: 水木社区 (Mon Jan 7 16:09:43 2008), 转信
:
: php4.3.4
: gcc3.4.3
: 【 在 atppp (Big Mouse) 的大作中提到: 】
: : 标 题: Re: [KBS]在RedHat上make PHP时出错
: : 发信站: 水木社区 (Mon Jan 7 16:05:58 2008), 转信
: :
: : 你自己编译php?php什么版本
: : gcc 3.4.3?
: : 【 在 Tsinghoo (青虎) 的大作中提到: 】
: : : /usr/lib/gcc/i386-redhat-linux/3.4.3/../../../crt1.o(.text+0x18): In function `_start':
: : : main/internal_functions_cli.lo(.text+0x1c): In function `php_startup_internal_extensions':
: : : main/internal_functions_cli.c:69: undefined reference to `php_startup_extensions'
: : : ...................
: :
: : --
: :
: : ※ 来源:·水木社区 newsmth.net·[FROM: 128.12.150.*]
:
:
: --
: 陋室空堂,当年笏满床;衰草枯杨,曾为歌舞场;蛛丝儿结满雕梁,
: 绿纱今又在蓬窗上。说甚么脂正浓、粉正香,如何两鬓又成霜?
: 昨日黄土陇头埋白骨,今宵红绡帐底卧鸳鸯。金满箱,银满箱,转眼乞丐人皆谤;
: 正叹他人命不长,那知自己归来丧?训有方,保不定日后作强梁。
: 择膏梁,谁承望流落在烟花巷!因嫌纱帽小,致使锁枷扛;昨怜破袄寒,今嫌紫蟒长;
: 乱哄哄你方唱罢我登场,反认他乡是故乡;甚荒唐,到头来都是为他人作嫁衣裳
:
:
: ※ 来源:·水木社区 newsmth.net·[FROM: 202.96.19.*]
--
FROM 202.96.19.*
你是不是make -j编译的?
【 在 Tsinghoo (青虎) 的大作中提到: 】
: 搞定了
: 先执行一下make clean再make就没问题了,这算什么事儿啊 :(
--
FROM 222.130.188.*
没有,就是make
【 在 JulyClyde (七月) 的大作中提到: 】
: 标 题: Re: [KBS]在RedHat上make PHP时出错
: 发信站: 水木社区 (Mon Jan 7 22:04:22 2008), 转信
:
: 你是不是make -j编译的?
: 【 在 Tsinghoo (青虎) 的大作中提到: 】
: : 搞定了
: : 先执行一下make clean再make就没问题了,这算什么事儿啊 :(
:
:
: --
: │││││││││││││││││││││││││││││╲ ︶︶ ︶︶ ︶︶
: 最美的不是下雨天 ┃ ┆ ┆ ┆
: 是曾与你躲过雨的屋檐 ┃ ┆
: ——周杰伦《不能说的秘密》 /● ● ┃ ┆ ┆ ┆
: ┳┳┳┳┳┳┳┳┳┳┳┳┳┳┳┳┳┳┳┳┳┳ /▲\/■> ┳┫ ┆ ┆ ┆
: ┻┻┻┻┻┻┻┻┻┻┻┻┻┻┻┻┻┻┻┻┻┻ >| || ┻ ┆ ┆ ┆
:
:
: ※ 来源:·水木社区 newsmth.net·[FROM: 222.130.188.*]
--
FROM 202.96.19.*