Bug #2044: Compile bombs with an "ld" failure...

From: Date: Fri, 13 Aug 1999 03:45:44 +0000
Subject: Bug #2044: Compile bombs with an "ld" failure...
Groups: php.dev 
Request: Send a blank email to php-dev+get-9789@lists.php.net to get a copy of this message
From: richard@connections.yk.ca Operating system: Redhat 4.2 with MAJOR upgrades PHP version: 3.0.12 PHP Bug Type: Compile Failure Bug description: Compile bombs with an "ld" failure... I'm running a RedHat 4.2 system with extensive upgrades to the kernel (2.2.10), and GCC (2.95), and running glibc 1, and the mysql 3.22.25 binary distribution installed on my machine. When I try to compile, I get no warning messages at all up until the link stage, at which point I get: gcc -c -I./os/unix -I./include -DLINUX=2 -DUSE_HSREGEX ./apaci buildmark.c gcc -DLINUX=2 -DUSE_HSREGEX ./apaci \ -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php3/libphp3.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a -Wl,-rpath,/usr/lib/mysql -L/usr/lib/mysql -lmysqlclient -Lmodules/php3 -L../modules/php3 -L../../modules/php3 -lmodphp3 -lpam -lm -ldl -lm -lgdbm /usr/lib/mysql/libmysqlclient.a(mf_format.o): In function `fn_format': mf_format.o(.text+0x201): undefined reference to `__lxstat' collect2: ld returned 1 exit status make[2]: *** [target_static] Error 1 make[2]: Leaving directory `/usr/src/apache_1.3.6/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/usr/src/apache_1.3.6' make: *** [build] Error 2 [root@ganges apache_1.3.6]#

« previous php.dev (#9789) next »