[PHP-DEV] Bug #1609: Apache compile breaks with " Undefined symbol `_getpgid' " From: lew <email protected>
Date: 06/27/99

From: lew <email protected>
Operating system: FreeBSD 2.2.8-RELEASE
PHP version: 3.0.10
PHP Bug Type: Compile Failure
Bug description: Apache compile breaks with " Undefined symbol `_getpgid' "

First, I build PHP-3.0.10 as follows:
./configure \
  --with-config-file-path=/usr/local/lib \
  --with-apache=/usr/local/apache \
  --with-system-regex=yes \
  --with-gdbm=/usr/local \
  --with-gd=/usr/local \
  --with-mysql \
  --enable-debug=no \
  --enable-track-vars=yes \
  --enable-short-tags=no
make; make install; make clean

Then, I build Apache/1.3.6 (Unix) as follows:
./configure --prefix=/usr/local/apache \
   --activate-module=src/modules/php3/libphp3.a \
   --disable-module=include --disable-module=asis \
   --disable-module=actions --enable-module=userdir \
   --enable-module=auth_dbm --enable-module=status \
   --enable-module=rewrite --disable-module=autoindex \
   --disable-rule=WANTHSREGEX
make -D BUFFERED_LOGS HARD_SERVER_LIMIT=600 ; make install ; make clean

The Apache compile breaks during the make, with an undefined symbol:

<=== src/modules
gcc -c -I./os/unix -I./include -funsigned-char `./apaci` modules.c
gcc -c -I./os/unix -I./include -funsigned-char `./apaci` buildmark.c
gcc -funsigned-char `./apaci` -o httpd buildmark.o modules.o modules/stand
ard/libstandard.a modules/php3/libphp3.a main/libmain.a ./os/unix/libos.a ap
/libap.a -L/usr/local/lib -L/usr/local/lib/mysql -Lmodules/php3 -L../modules/p
hp3 -L../../modules/php3 -lmodphp3 -lpcre -lm -lcrypt
-lcrypt -L/usr/local/lib -lgd -L/usr/local/lib/mysql -lmysqlclient -lgdbm
functions/posix.c:157: Undefined symbol `_getpgid' referenced from text segment
functions/posix.c:182: Undefined symbol `_getpgid' referenced from text segment
*** Error code 1

-- Note -- Prior versions, including 3.0.9, compile fine with Apache.

-- 
PHP Development Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>