Welcome! Log In Create A New Profile

Advanced

make error

Posted by willko 
make error
August 10, 2009 03:04AM
Dear all:

sapi/cgi/fpm/fpm_conf.o(.data+0xa8): In function `fpm_evaluate_full_path':
/root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:354: undefined reference to `fpm_conf_set_log_level'
sapi/cgi/fpm/fpm_conf.o(.data+0xe8): In function `fpm_conf_cleanup':
/root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:496: undefined reference to `fpm_conf_set_listen_options_subsection'
sapi/cgi/fpm/fpm_conf.o(.data+0xf8):/root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:498: undefined reference to `fpm_conf_set_key_value_pairs_subsection'
sapi/cgi/fpm/fpm_conf.o(.data+0x158): In function `fpm_worker_pool_config_free':
/root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:293: undefined reference to `fpm_conf_set_key_value_pairs_subsection'
sapi/cgi/fpm/fpm_conf.o(.data+0x1a8):/root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:303: undefined reference to `fpm_conf_set_rlimit_core'
sapi/cgi/fpm/fpm_conf.o(.data+0x1c8):/root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:306: undefined reference to `fpm_conf_set_catch_workers_output'
sapi/cgi/fpm/fpm_conf.o(.data+0x1d8):/root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:307: undefined reference to `fpm_conf_set_pm_subsection'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1

Thanks for any help.

2009-08-10



Willko Cheng
Re: make error
August 10, 2009 03:56AM
what os/distro?

you're using php 5.3.0 final, and the proper 5.3.0 patch off php-fpm.org?


On Mon, Aug 10, 2009 at 12:04 AM, Willko Cheng<willko@foxmail.com> wrote:
> Dear all:
>
> sapi/cgi/fpm/fpm_conf.o(.data+0xa8): In function `fpm_evaluate_full_path':
> /root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:354: undefined reference to `fpm_conf_set_log_level'
> sapi/cgi/fpm/fpm_conf.o(.data+0xe8): In function `fpm_conf_cleanup':
> /root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:496: undefined reference to `fpm_conf_set_listen_options_subsection'
> sapi/cgi/fpm/fpm_conf.o(.data+0xf8):/root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:498: undefined reference to `fpm_conf_set_key_value_pairs_subsection'
> sapi/cgi/fpm/fpm_conf.o(.data+0x158): In function `fpm_worker_pool_config_free':
> /root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:293: undefined reference to `fpm_conf_set_key_value_pairs_subsection'
> sapi/cgi/fpm/fpm_conf.o(.data+0x1a8):/root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:303: undefined reference to `fpm_conf_set_rlimit_core'
> sapi/cgi/fpm/fpm_conf.o(.data+0x1c8):/root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:306: undefined reference to `fpm_conf_set_catch_workers_output'
> sapi/cgi/fpm/fpm_conf.o(.data+0x1d8):/root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:307: undefined reference to `fpm_conf_set_pm_subsection'
> collect2: ld returned 1 exit status
> make: *** [sapi/cgi/php-cgi] Error 1
>
> Thanks for any help.
>
> 2009-08-10
> ________________________________
> Willko Cheng
Re: Re: make error
August 10, 2009 04:06AM
SUSE LINUX Enterprise Server 9 (i586) ,Linux linux 2.6.5-7.191-smp
php-5.3.0-fpm-0.5.12.diff.gz php-5.3.0.tar.bz2

Thank you very much!
2009-08-10



Willko Cheng



发件人: Michael Shadle
发送时间: 2009-08-10 15:57:10
收件人: highload-php-en
抄送:
主题: Re: make error

what os/distro?
you're using php 5.3.0 final, and the proper 5.3.0 patch off php-fpm.org?
On Mon, Aug 10, 2009 at 12:04 AM, Willko Cheng wrote:
> Dear all:
>
> sapi/cgi/fpm/fpm_conf.o(.data+0xa8): In function `fpm_evaluate_full_path':
> /root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:354: undefined reference to `fpm_conf_set_log_level'
> sapi/cgi/fpm/fpm_conf.o(.data+0xe8): In function `fpm_conf_cleanup':
> /root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:496: undefined reference to `fpm_conf_set_listen_options_subsection'
> sapi/cgi/fpm/fpm_conf.o(.data+0xf8):/root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:498: undefined reference to `fpm_conf_set_key_value_pairs_subsection'
> sapi/cgi/fpm/fpm_conf.o(.data+0x158): In function `fpm_worker_pool_config_free':
> /root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:293: undefined reference to `fpm_conf_set_key_value_pairs_subsection'
> sapi/cgi/fpm/fpm_conf.o(.data+0x1a8):/root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:303: undefined reference to `fpm_conf_set_rlimit_core'
> sapi/cgi/fpm/fpm_conf.o(.data+0x1c8):/root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:306: undefined reference to `fpm_conf_set_catch_workers_output'
> sapi/cgi/fpm/fpm_conf.o(.data+0x1d8):/root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:307: undefined reference to `fpm_conf_set_pm_subsection'
> collect2: ld returned 1 exit status
> make: *** [sapi/cgi/php-cgi] Error 1
>
> Thanks for any help.
>
> 2009-08-10
> ________________________________
> Willko Cheng
Re: Re: make error
August 10, 2009 04:08AM
odd.

a) i'd make sure the machine is fully updated
b) what ./configure line are you using?
c) did the PHP-FPM patch apply without any issues?
d) have you applied any other patches or is this vanilla PHP 5.3.0 source?


On Mon, Aug 10, 2009 at 1:06 AM, Willko Cheng<willko@foxmail.com> wrote:
>
> SUSE LINUX Enterprise Server 9 (i586) ,Linux linux 2.6.5-7.191-smp
> php-5.3.0-fpm-0.5.12.diff.gz   php-5.3.0.tar.bz2
>
> Thank you very much!
> 2009-08-10
> ________________________________
> Willko Cheng
> ________________________________
> 发件人: Michael Shadle
> 发送时间: 2009-08-10  15:57:10
> 收件人: highload-php-en
> 抄送:
> 主题: Re: make error
> what os/distro?
> you're using php 5.3.0 final, and the proper 5.3.0 patch off php-fpm.org?
> On Mon, Aug 10, 2009 at 12:04 AM, Willko Cheng<willko@foxmail.com> wrote:
>> Dear all:
>>
>> sapi/cgi/fpm/fpm_conf.o(.data+0xa8): In function `fpm_evaluate_full_path':
>> /root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:354: undefined reference to `fpm_conf_set_log_level'
>> sapi/cgi/fpm/fpm_conf.o(.data+0xe8): In function `fpm_conf_cleanup':
>> /root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:496: undefined reference to `fpm_conf_set_listen_options_subsection'
>> sapi/cgi/fpm/fpm_conf.o(.data+0xf8):/root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:498: undefined reference to `fpm_conf_set_key_value_pairs_subsection'
>> sapi/cgi/fpm/fpm_conf.o(.data+0x158): In function `fpm_worker_pool_config_free':
>> /root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:293: undefined reference to `fpm_conf_set_key_value_pairs_subsection'
>> sapi/cgi/fpm/fpm_conf.o(.data+0x1a8):/root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:303: undefined reference to `fpm_conf_set_rlimit_core'
>> sapi/cgi/fpm/fpm_conf.o(.data+0x1c8):/root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:306: undefined reference to `fpm_conf_set_catch_workers_output'
>> sapi/cgi/fpm/fpm_conf.o(.data+0x1d8):/root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:307: undefined reference to `fpm_conf_set_pm_subsection'
>> collect2: ld returned 1 exit status
>> make: *** [sapi/cgi/php-cgi] Error 1
>>
>> Thanks for any help.
>>
>> 2009-08-10
>> ________________________________
>> Willko Cheng
Andrei Nigmatulin
Re: make error
August 10, 2009 04:21AM
On Monday 10 August 2009 11:04, Willko Cheng wrote:
> Dear all:
>
> sapi/cgi/fpm/fpm_conf.o(.data+0xa8): In function `fpm_evaluate_full_path':
> /root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:354: undefined reference to
> `fpm_conf_set_log_level' sapi/cgi/fpm/fpm_conf.o(.data+0xe8): In function
> `fpm_conf_cleanup': /root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:496: undefined
> reference to `fpm_conf_set_listen_options_subsection'
> sapi/cgi/fpm/fpm_conf.o(.data+0xf8):/root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c
>:498: undefined reference to `fpm_conf_set_key_value_pairs_subsection'
> sapi/cgi/fpm/fpm_conf.o(.data+0x158): In function
> `fpm_worker_pool_config_free': /root/php-5.3.0/sapi/cgi/fpm/fpm_conf.c:293:
> undefined reference to `fpm_conf_set_key_value_pairs_subsection'
> sapi/cgi/fpm/fpm_conf.o(.data+0x1a8):/root/php-5.3.0/sapi/cgi/fpm/fpm_conf.
>c:303: undefined reference to `fpm_conf_set_rlimit_core'
> sapi/cgi/fpm/fpm_conf.o(.data+0x1c8):/root/php-5.3.0/sapi/cgi/fpm/fpm_conf.
>c:306: undefined reference to `fpm_conf_set_catch_workers_output'
> sapi/cgi/fpm/fpm_conf.o(.data+0x1d8):/root/php-5.3.0/sapi/cgi/fpm/fpm_conf.
>c:307: undefined reference to `fpm_conf_set_pm_subsection' collect2: ld
> returned 1 exit status
> make: *** [sapi/cgi/php-cgi] Error 1

Look like bug in gcc. Try CFLAGS="-O0" for source file fpm_conf.c.


>
> Thanks for any help.
>
> 2009-08-10
>
>
>
> Willko Cheng

--
Andrei Nigmatulin
GPG PUB KEY 6449830D

Now I lay me down to sleep(3)
Pray the OS my core to keep
If I die before I wake
Pray the Disk my core to take
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 90
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready