[Buildroot] add fcgi-2.4.0 package to buildroot

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Sep 16 16:44:09 UTC 2011


Hello,

The global formatting of your e-mail is terrible. You should fix your
e-mail client.

Le Fri, 16 Sep 2011 17:33:47 +0200,
"Rico Bachmann" <bachmann at tofwerk.com> a écrit :

>                 LIBFCGI_VERSION = 2.4.0
>                 LIBFCGI_SOURCE = fcgi-$(LIBFCGI_VERSION).tar.gz
>                 LIBFCGI_SITE = http://www.fastcgi.com/dist
>                 LIBFCGI_INSTALL_STAGING = YES
>                 LIBFCGI_INSTALL_TARGET= YES

This last line is not needed.

>                 LIBFCGI_CONF_OPT = --enable-shared

This is not needed.

> /mnt/clfs/buildroot-2011.08/output/host/usr/bin/arm-unknown-linux-uclibcgnue
> abi-gcc -pipe -Os -Wall -o .libs/cgi-fcgi cgi-fcgi.o
> ../libfcgi/.libs/libfcgi.so -lnsl
> 
>                 ../libfcgi/.libs/libfcgi.so: warning: gethostbyname is
> obsolescent, use getnameinfo() instead.
> 
>                 ../libfcgi/.libs/libfcgi.so: undefined reference to
> `frexp'

Looks like it forgets to link against the math library, i.e -lm is
missing from the link command line. Probably something not completely
correct in fcgi build system.

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list