ID: 9199
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: Compile Failure
Description: 'ld: No reference to __DYNAMIC' error

This also occurs with only './configure --with-apxs'.

Previous Comments:
---------------------------------------------------------------------------

[2001-02-09 18:04:27] [EMAIL PROTECTED]
I configured with './configure --with-apxs --with-mysql' successfully.
I type 'gmake', and most of it builds.
Then I get:

Making all in .
gmake[1]: Entering directory `/usr/home/andrew/src/php-4.0.4pl1'

/bin/sh /usr/home/andrew/src/php-4.0.4pl1/libtool --silent --mode=compile gcc  -I. 
-I/usr/home/andrew/src/php-4.0.4pl1/ -I/usr/home/andrew/src/php-4.0.4pl1/main 
-I/usr/home/andrew/src/php-4.0.4pl1 -I/usr/lib/apache/include 
-I/usr/home/andrew/src/php-4.0.4pl1/Zend 
-I/usr/home/andrew/src/php-4.0.4pl1/ext/mysql/libmysql 
-I/usr/home/andrew/src/php-4.0.4pl1/ext/xml/expat/xmltok 
-I/usr/home/andrew/src/php-4.0.4pl1/ext/xml/expat/xmlparse 
-I/usr/home/andrew/src/php-4.0.4pl1/TSRM  -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 
-DEAPI -DUSE_EXPAT -DXML_BYTE_ORDER=12 -g -O2  -c stub.c
/bin/sh /usr/home/andrew/src/php-4.0.4pl1/libtool --silent --mode=link gcc  -I. 
-I/usr/home/andrew/src/php-4.0.4pl1/ -I/usr/home/andrew/src/php-4.0.4pl1/main 
-I/usr/home/andrew/src/php-4.0.4pl1 -I/usr/lib/apache/include 
-I/usr/home/andrew/src/php-4.0.4pl1/Zend 
-I/usr/home/andrew/src/php-4.0.4pl1/ext/mysql/libmysql 
-I/usr/home/andrew/src/php-4.0.4pl1/ext/xml/expat/xmltok 
-I/usr/home/andrew/src/php-4.0.4pl1/ext/xml/expat/xmlparse 
-I/usr/home/andrew/src/php-4.0.4pl1/TSRM  -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 
-DEAPI -DUSE_EXPAT -DXML_BYTE_ORDER=12 -g -O2   -o libphp4.la -rpath 
/usr/home/andrew/src/php-4.0.4pl1/libs -avoid-version   stub.lo  Zend/libZend.la 
sapi/apache/libsapi.la main/libmain.la regex/libregex.la ext/mysql/libmysql.la 
ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la 
ext/standard/libstandard.la ext/xml/libxml.la TSRM/libtsrm.la -lresolv -lm -lresolv
ld: No reference to __DYNAMIC
collect2: ld returned 1 exit status
gmake[1]: *** [libphp4.la] Error 1
gmake[1]: Leaving directory `/usr/home/andrew/src/php-4.0.4pl1'
gmake: *** [all-recursive] Error 1

--
This happens with 'gmake' and 'make' (bsd make).

This error did not occur with 4.0.2.

---------------------------------------------------------------------------


Full Bug description available at: http://bugs.php.net/?id=9199


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to