Bug #712: Missing alloca
| From: | orion at bvt dot com | Date: | Tue, 01 Sep 1998 23:47:38 +0000 |
| Subject: | Bug #712: Missing alloca | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-729@lists.php.net to get a copy of this message | ||
From: orion@bvt.com
Operating system: UnixWare 7
PHP version: 3.0.3
PHP Bug Type: Compile Failure
Bug description:
Configure line:
./configure --with-mysql --with-apache=../apache_1.3.1 --enable-track-vars
Trying to compile php3 as a module for Apache 1.3.1, get the following link error:
cc -DUW=700 -DUSE_HSREGEX -DSERVER_SUBVERSION=\"PHP/3.0.3\"
./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 -Lmodules/php3 -L../modules/php3
-L../../modules/php3 -lmodphp3 -L/usr/local/lib/mysql -lmysqlclient -lm -lsocket -lresolv -lsocket
-lnsl -lcrypt -lgen
Undefined first referenced
symbol in file
alloca modules/php3/libphp3.a(configuration-parser.tab.o)
UX:ld: ERROR: httpd: fatal error: Symbol referencing errors. No output written to httpd
Unixware 7 only provides the alloca() function via the ucb compatibility package/compiler, but it is
not recommended to mix the ucb libraries with the standard C libraries. The config.h file hints at
there being an alloca.c, but there is none in the package:
/* Define if using alloca.c. */
#define C_ALLOCA 1
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net