Compile error on NetBSD 1.3.3 x86
| From: | Olivier Cahagne | Date: | Sun, 07 Nov 1999 16:45:48 +0000 |
| Subject: | Compile error on NetBSD 1.3.3 x86 | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-5933@lists.php.net to get a copy of this message | ||
Hello,
When trying to compile PHP4b2 as CGI on NetBSD 1.3.3 x86, I get the
following compile error (nearly at the end) :
The strange part is this doesn't happen when I build it as a module for
Apache.
Finally, PHP 3.0.12 compiles fines as CGI on the same platform using the
same compiler (GCC 2.7.2.2+myc2).
Making all in libzend
Making all in ext
Making all in db
Making all in pcre
Making all in pcrelib
Making all in session
Making all in standard
gcc -g -O2 -I/usr/pkg/include -g -O2 -I. -I. -I./libzend -I./TSRM
-I./libzend -I./TSRM -g -o php -rdynamic -L/usr/pkg/lib -L./libzend
main.o internal_functions.o snprintf.o php3_sprintf.o
configuration-parser.o configuration-scanner.o request_info.o
safe_mode.o fopen-wrappers.o php3_realpath.o alloca.o output.o
php_ini.o SAPI.o cgi_main.o rfc1867.o dlist.o -Llibzend -lzend -Lext
-lphpext
-L/usr/space/www/compil/php-4.0b2/ext/pcre/pcrelib -lpcre
-L/usr/space/www/compi
l/php-4.0b2/regex -lregex -lm -lcrypt -lresolv
ld: ext/libphpext.a(db___.SYMDEF): bad magic
*** Error code 1
Stop.
How can I try the latest CVS version (I'd like this to work in the next
beta :) ? I tried :
rsync -avzC rsync.php.net::php4 ./
but couldn't compile as there was no configure (that's my first CVS try
so I guess I just don't really know how to use it)
--
Olivier Cahagne
snina@ambafrance.org
olivier.cahagne@epita.fr
Tel: (613) 593 7406
Ambassade de France au Canada
Service Culturel
464, Wilbrod St.
K1N 6M8, Ottawa, Ontario, Canada