[Bug 4421] New: libfastcgi cgi-fcgi tool does not compile against uclibc. needs -lm
bugzilla-daemon at amethyst.openembedded.net
bugzilla-daemon at amethyst.openembedded.net
Wed Jul 9 20:10:19 CEST 2008
http://bugs.openembedded.net/show_bug.cgi?id=4421
Summary: libfastcgi cgi-fcgi tool does not compile against
uclibc. needs -lm
Classification: Unclassified
Product: Openembedded
Version: Angstrom 2008.x
Platform: Other
OS/Version: other
Status: NEW
Severity: minor
Priority: P3
Component: org.openembedded.dev
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: likewise at gmx.net
Needs -lm to the last command, otherwise it fails like this:
| Making install in cgi-fcgi
| make[1]: Entering directory
`/home/leon/sandbox/at32stk1002/openembedded/tmp/work/avr32-angstrom-linux-uclibc/fastcgi-2.4.0-r1/fcgi-2.4.0/cgi-fcgi'
| ccache avr32-angstrom-linux-uclibc-gcc -march=ap -DHAVE_CONFIG_H -I. -I..
-isystem/home/leon/sandbox/at32stk1002/openembedded/tmp/staging/avr32-angstrom-linux-uclibc/usr/include
-I../include
-isystem/home/leon/sandbox/at32stk1002/openembedded/tmp/staging/avr32-angstrom-linux-uclibc/usr/include
-Os -fomit-frame-pointer -Wall -MT cgi-fcgi.o -MD -MP -MF .deps/cgi-fcgi.Tpo -c
-o cgi-fcgi.o cgi-fcgi.c
| cgi-fcgi.c: In function 'ParseArgs':
| cgi-fcgi.c:643: warning: format '%d' expects type 'int', but argument 3 has
type 'long unsigned int'
| mv -f .deps/cgi-fcgi.Tpo .deps/cgi-fcgi.Po
| /bin/bash ../avr32-angstrom-linux-uclibc-libtool --tag=CC --mode=link
ccache avr32-angstrom-linux-uclibc-gcc -march=ap
-isystem/home/leon/sandbox/at32stk1002/openembedded/tmp/staging/avr32-angstrom-linux-uclibc/usr/include
-Os -fomit-frame-pointer -Wall
-L/home/leon/sandbox/at32stk1002/openembedded/tmp/staging/avr32-angstrom-linux-uclibc/usr/lib
-Wl,-rpath-link,/home/leon/sandbox/at32stk1002/openembedded/tmp/staging/avr32-angstrom-linux-uclibc/usr/lib
-Wl,-O1 -o cgi-fcgi cgi-fcgi.o ../libfcgi/libfcgi.la -lnsl
| avr32-angstrom-linux-uclibc-libtool: link: ccache
avr32-angstrom-linux-uclibc-gcc -march=ap
-isystem/home/leon/sandbox/at32stk1002/openembedded/tmp/staging/avr32-angstrom-linux-uclibc/usr/include
-Os -fomit-frame-pointer -Wall -Wl,-rpath-link
-Wl,/home/leon/sandbox/at32stk1002/openembedded/tmp/staging/avr32-angstrom-linux-uclibc/usr/lib
-Wl,-O1 -o .libs/cgi-fcgi cgi-fcgi.o
-L/home/leon/sandbox/at32stk1002/openembedded/tmp/staging/avr32-angstrom-linux-uclibc/usr/lib
../libfcgi/.libs/libfcgi.so -lnsl -pthread
| ../libfcgi/.libs/libfcgi.so: undefined reference to `frexp'
| collect2: ld returned 1 exit status
| make[1]: *** [cgi-fcgi] Error 1
| make[1]: Leaving directory
`/home/leon/sandbox/at32stk1002/openembedded/tmp/work/avr32-angstrom-linux-uclibc/fastcgi-2.4.0-r1/fcgi-2.4.0/cgi-fcgi'
| make: *** [install-recursive] Error 1
| FATAL: oe_runmake failed
| ERROR: Function do_install failed
NOTE: package fastcgi-2.4.0-r1: task do_install: Failed
ERROR: TaskFailed event exception, aborting
NOTE: package fastcgi-2.4.0: failed
NOTE: package fastcgi-2.4.0: Failed
--
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-issues
mailing list