[PHP-DEV] Bug #476: Undefined reference errors when compiling with Apache 1.3 From: boydbria <email protected>
Date: 06/25/98

From: boydbria <email protected>
Operating system: Redhat Linux 5.0
PHP version: 3.0 Final Release
PHP Bug Type: Installation problem
Bug description:
I get the following end messages while compiling.

/usr/local/php/functions/head.c:283: undefined reference to `send_http_header'
modules/extra/libphp3.a(post.o): In function `php3_getpost':
/usr/local/php/functions/post.c:90: undefined reference to `should_client_block'
/usr/local/php/functions/post.c:94: undefined reference to `hard_timeout'
/usr/local/php/functions/post.c:96: undefined reference to `get_client_block'
/usr/local/php/functions/post.c:101: undefined reference to `reset_timeout'
/usr/local/php/functions/post.c:106: undefined reference to `kill_timeout'
modules/extra/libphp3.a(post.o): In function `php3_TreatHeaders':
/usr/local/php/functions/post.c:383: undefined reference to `table_get'
/usr/local/php/functions/post.c:389: undefined reference to `auth_type'
/usr/local/php/functions/post.c:393: undefined reference to `getword'
/usr/local/php/functions/post.c:398: undefined reference to `uudecode'
/usr/local/php/functions/post.c:400: undefined reference to `getword_nulls_nc'
modules/extra/libphp3.a(info.o): In function `_php3_info':
/usr/local/php/functions/info.c:159: undefined reference to `group_id'
/usr/local/php/functions/info.c:159: undefined reference to `user_id'
/usr/local/php/functions/info.c:159: undefined reference to `user_name'
/usr/local/php/functions/info.c:160: undefined reference to `max_requests_per_ch
ild'
/usr/local/php/functions/info.c:164: undefined reference to `server_root'
modules/extra/libphp3.a(language-scanner.o): In function `lex_scan':
/usr/local/php/language-scanner.lex:1010: undefined reference to `rwrite'

------------
My Libs are the following, however I am still having one heck of a time to get this to work with apache. If I compile them both separatly they both work.
LIBS1=-Lmodules/extra -L../modules/extra -lphp3 -lgdbm -lm -ldl -lcrypt
  -L/usr/local/apache/mysql/lib -lmysqlclient

Not quite sure what is going on i've tried many things in FAQ's everywhere but I'm still having difficulties.

Thanks in advance.
Brian Boyd