|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-08-18 13:21 UTC] zapzap at zwf dot net
[2000-08-24 11:28 UTC] zapzap at zwf dot net
[2000-10-12 09:21 UTC] sniper@php.net
[2000-10-28 23:43 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 08 15:00:02 2026 UTC |
hi, i try to compil Apache 1.3.12 with PHP 4.0.1pl2 whith Zend optimizer (last version) with support for MySQL everything is good until the link : gcc -I/usr/include/mysql -DLINUX=2 -DMOD_SSL=206106 -I/tmp/APACHE/Apache1312-php400-Zend-SSL/BUILD/php-4.0.1pl2 -I/tmp/APACHE/Apache1312-php400-Zend-SSL/BUILD/php-4.0.1pl2/main -I/tmp/APACHE/Apache1312-php400-Zend-SSL/BUILD/php-4.0.1pl2/main -I/tmp/APACHE/Apache1312-php400-Zend-SSL/BUILD/php-4.0.1pl2/Zend -I/tmp/APACHE/Apache1312-php400-Zend-SSL/BUILD/php-4.0.1pl2/Zend -I/tmp/APACHE/Apache1312-php400-Zend-SSL/BUILD/php-4.0.1pl2 -DEAPI -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -L/tmp/APACHE/Apache1312-php400-Zend-SSL/BUILD/openssl-0.9.5a \ -o httpd buildmark.o modules.o modules/auth_mysql/libauth_mysql.a modules/standard/libstandard.a modules/ssl/libssl.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -L/usr/lib/mysql -lmysqlclient -lcrypt -rdynamic -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lgdbm -lpam -ldl -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv -lm -lcrypt -lssl -lcrypto /usr/lib/mysql/libmysqlclient.a(ctype.o)(.data+0x0): multiple definition of `ctype_latin1' modules/php4/libphp4.a(ctype-latin1.o)(.data+0x0):/tmp/APACHE/Apache1312-php400-Zend-SSL/BUILD/php-4.0.1pl2/ext/mysql/libmysql/ctype-latin1.c: first defined here /usr/lib/mysql/libmysqlclient.a(ctype.o)(.data+0x101): multiple definition of `to_lower_latin1' modules/php4/libphp4.a(ctype-latin1.o)(.data+0x101):/tmp/APACHE/Apache1312-php400-Zend-SSL/BUILD/php-4.0.1pl2/ext/mysql/libmysql/ctype-latin1.c: first defined here /usr/lib/mysql/libmysqlclient.a(ctype.o)(.data+0x201): multiple definition of `to_upper_latin1' modules/php4/libphp4.a(ctype-latin1.o)(.data+0x201):/tmp/APACHE/Apache1312-php400-Zend-SSL/BUILD/php-4.0.1pl2/ext/mysql/libmysql/ctype-latin1.c: first defined here /usr/lib/mysql/libmysqlclient.a(ctype.o)(.data+0x301): multiple definition of `sort_order_latin1' modules/php4/libphp4.a(ctype-latin1.o)(.data+0x301):/tmp/APACHE/Apache1312-php400-Zend-SSL/BUILD/php-4.0.1pl2/ext/mysql/libmysql/ctype-latin1.c: first defined here collect2: ld returned 1 exit status make[2]: *** [target_static] Error 1 make[2]: Leaving directory `/tmp/APACHE/Apache1312-php400-Zend-SSL/BUILD/apache_1.3.12/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/tmp/APACHE/Apache1312-php400-Zend-SSL/BUILD/apache_1.3.12' make: *** [build] Error 2 thanks zapzap