Bug #309
closed1.4.5 compile fails on Mac OS X 10.4.2
Description
Here is output from the last few lines of the compile screen:
(cd .libs && rm -f mod_cgi.la && ln -s ../mod_cgi.la mod_cgi.la)
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DLIBRARY_DIR="\"/usr/local/lib\"" -I. -I. -I.. -D_REENTRANT -D+EXTENSIONS_+ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -g -O2 -Wall -W -Wshadow -pedantic -MT mod_scgi.lo -MD -MP -MF ".deps/mod_scgi.Tpo" -c -o mod_scgi.lo mod_scgi.c; \
then mv -f ".deps/mod_scgi.Tpo" ".deps/mod_scgi.Plo"; else rm -f ".deps/mod_scgi.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -DLIBRARY_DIR=\"/usr/local/lib\" -I. -I. -I.. -D_REENTRANT -D+EXTENSIONS_+ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -g -O2 -Wall -W -Wshadow -pedantic -MT mod_scgi.lo -MD -MP -MF .deps/mod_scgi.Tpo -c mod_scgi.c -fno-common -DPIC -o .libs/mod_scgi.o
mod_scgi.c: In function 'scgi_spawn_connection':
mod_scgi.c:759: warning: comparison between signed and unsigned
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -W -Wshadow -pedantic -o mod_scgi.la -rpath /usr/local/lib -module -export-dynamic -avoid-version -no-undefined mod_scgi.lo liblightcomp.la
gcc -o .libs/mod_scgi.so -bundle .libs/mod_scgi.o ./.libs/liblightcomp.dylib -L/usr/lib /usr/lib/libpcre.dylib
/usr/bin/ld: Undefined symbols:
_network_write_chunkqueue_writev
collect2: ld returned 1 exit status
maker2: * mod_scgi.la Error 1
maker1: all-recursive Error 1
make: ** all Error 2
-- mazdak
Updated by Anonymous over 19 years ago
I have the same problem here. Tried compiling 1.4.5 on OSX Server 10.4.2 (build 8C47). Was trying to build with ./configure --with-openssl --with-mysql=/usr/bin/mysql_config
I get the same error as above. I tried in both GCC 4.0 and GCC 3.3.
lighttpd 1.4.4 builds with no problem.
-- swolfe
Updated by jan over 19 years ago
- Status changed from New to Fixed
- Resolution set to fixed
fixed in r778
Also available in: Atom