make fails: undefined snprintf
| From: | Tibor Simko | Date: | Tue, 02 Nov 1999 16:59:13 +0000 |
| Subject: | make fails: undefined snprintf | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-5836@lists.php.net to get a copy of this message | ||
Hi
Using Sasha's CVS snapshot from today. Building httpd fails on
Solaris 2.5.1:
,--------
| gcc -O2 -DSOLARIS2=251 -I/opt/local/src/php4 -I/opt/local/src/php4/libzend
-I/opt/local/src/php4/libzend -I/opt/local/src/php4 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite
./apaci \
| -o httpd buildmark.o modules.o modules/php4/libphp4.a modules/standard/libstandard.a
main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a lib/expat-lite/libexpat.a
-R/opt/local/mysql/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -ldl -lm
-lresolv -lnsl -lsocket -lcrypt -lgdbm -L/opt/local/mysql/lib -lmysqlclient -lsocket -lnsl
| Undefined first referenced
| symbol in file
| snprintf modules/php4/libphp4.a(url_scanner.o)
| ld: fatal: Symbol referencing errors. No output written to httpd
`--------
Grepping `config.cache':
,--------
| ac_cv_func_snprintf=${ac_cv_func_snprintf='no'}
`--------
cheers,
-TS