phpbar.de logo

Mailinglisten-Archive

[php] Apache-configure bringt fehler (viele "undefined references")

[php] Apache-configure bringt fehler (viele "undefined references")

Dominik Brettnacher domi_(at)_saargate.de
Fri, 6 Aug 1999 10:35:31 +0200 (CEST)


Ich habe hier Apache 1.3.6, PHP 3.0.12 und FreeBSD 3.2. PHP ließ sich mit
folgenden Einstellungen einwandfrei kompilieren:

./configure --with-apache=../apache_1.3.6 --with-gd=/usr/local\
--with-mysql --with-imap=/usr/local --with-zlib\
--with-config-file-path=/usr/local/etc --enable-debug=no\
--enable-safe-mode=yes --enable-track-vars=yes --enable-bcmath=yes

aber das Apache-configure bringt dann dummerweise nur Fehler, woran liegt
das?

./configure --prefix=/usr/local --with-layout=GNU\
--activate-module=src/modules/php3/libphp3.a --disable-module=imap
Configuring for Apache, Version 1.3.6
 + using installation path layout: GNU (config.layout)
 + activated php3 module (modules/php3/libphp3.a)
Creating Makefile
Creating Configuration.apaci in src
modules/php3/libmodphp3.a(main.o): In function `php3_write':
main.o(.text+0xa1): undefined reference to `ap_rwrite'
modules/php3/libmodphp3.a(main.o): In function `php3_puts':
main.o(.text+0xdf): undefined reference to `ap_rputs'
modules/php3/libmodphp3.a(main.o): In function `php3_putc':
main.o(.text+0x12e): undefined reference to `ap_rputc'
modules/php3/libmodphp3.a(main.o): In function `php3_log_err':
main.o(.text+0x211): undefined reference to `ap_log_error'
modules/php3/libmodphp3.a(main.o): In function `php3_printf':
main.o(.text+0x26e): undefined reference to `ap_vbprintf'
modules/php3/libmodphp3.a(main.o): In function `php3_set_timeout':
main.o(.text+0x74d): undefined reference to `ap_signal'
modules/php3/libmodphp3.a(main.o): In function `php3_request_startup':
main.o(.text+0x83f): undefined reference to `ap_block_alarms'
main.o(.text+0x858): undefined reference to `ap_register_cleanup'
main.o(.text+0x860): undefined reference to `ap_unblock_alarms'
modules/php3/libmodphp3.a(php3_hash.o): In function `_php3_hash_add_or_update':
php3_hash.o(.text+0x381): undefined reference to `ap_block_alarms'
php3_hash.o(.text+0x3eb): undefined reference to `ap_unblock_alarms'
php3_hash.o(.text+0x651): undefined reference to `ap_block_alarms'
php3_hash.o(.text+0x70e): undefined reference to `ap_unblock_alarms'
modules/php3/libmodphp3.a(php3_hash.o): In function `_php3_hash_index_update_or_next_insert':
php3_hash.o(.text+0x7e9): undefined reference to `ap_block_alarms'
php3_hash.o(.text+0x83c): undefined reference to `ap_unblock_alarms'
php3_hash.o(.text+0x9fd): undefined reference to `ap_block_alarms'
php3_hash.o(.text+0xaba): undefined reference to `ap_unblock_alarms'
modules/php3/libmodphp3.a(php3_hash.o): In function `_php3_hash_pointer_update':
php3_hash.o(.text+0xcc1): undefined reference to `ap_block_alarms'
php3_hash.o(.text+0xd56): undefined reference to `ap_unblock_alarms'
php3_hash.o(.text+0xec6): undefined reference to `ap_block_alarms'
php3_hash.o(.text+0xf83): undefined reference to `ap_unblock_alarms'
modules/php3/libmodphp3.a(php3_hash.o): In function `_php3_hash_pointer_index_update_or_next_insert':
php3_hash.o(.text+0x104d): undefined reference to `ap_block_alarms'
php3_hash.o(.text+0x1103): undefined reference to `ap_unblock_alarms'
php3_hash.o(.text+0x11d0): undefined reference to `ap_block_alarms'
php3_hash.o(.text+0x128d): undefined reference to `ap_unblock_alarms'
modules/php3/libmodphp3.a(php3_hash.o): In function `if_full_do_resize':
php3_hash.o(.text+0x15e2): undefined reference to `ap_block_alarms'
php3_hash.o(.text+0x161c): undefined reference to `ap_unblock_alarms'
modules/php3/libmodphp3.a(php3_hash.o): In function `_php3_hash_del_key_or_index':
php3_hash.o(.text+0x18e9): undefined reference to `ap_block_alarms'
php3_hash.o(.text+0x1ace): undefined reference to `ap_unblock_alarms'
modules/php3/libmodphp3.a(php3_hash.o): In function `_php3_hash_sort':
php3_hash.o(.text+0x25fb): undefined reference to `ap_block_alarms'
php3_hash.o(.text+0x26d1): undefined reference to `ap_unblock_alarms'
modules/php3/libmodphp3.a(alloc.o): In function `_emalloc':
alloc.o(.text+0x7): undefined reference to `ap_block_alarms'
alloc.o(.text+0x41): undefined reference to `ap_unblock_alarms'
alloc.o(.text+0x91): undefined reference to `ap_unblock_alarms'
alloc.o(.text+0xd7): undefined reference to `ap_unblock_alarms'
modules/php3/libmodphp3.a(alloc.o): In function `_efree':
alloc.o(.text+0x145): undefined reference to `ap_block_alarms'
alloc.o(.text+0x194): undefined reference to `ap_unblock_alarms'
modules/php3/libmodphp3.a(alloc.o): In function `_ecalloc':
alloc.o(.text+0x1b1): undefined reference to `ap_block_alarms'
alloc.o(.text+0x1cd): undefined reference to `ap_unblock_alarms'
alloc.o(.text+0x1eb): undefined reference to `ap_unblock_alarms'
modules/php3/libmodphp3.a(alloc.o): In function `_erealloc':
alloc.o(.text+0x22d): undefined reference to `ap_block_alarms'
alloc.o(.text+0x2de): undefined reference to `ap_unblock_alarms'
alloc.o(.text+0x323): undefined reference to `ap_unblock_alarms'
modules/php3/libmodphp3.a(alloc.o): In function `_estrdup':
alloc.o(.text+0x357): undefined reference to `ap_block_alarms'
alloc.o(.text+0x371): undefined reference to `ap_unblock_alarms'
alloc.o(.text+0x37d): undefined reference to `ap_unblock_alarms'
modules/php3/libmodphp3.a(alloc.o): In function `_estrndup':
alloc.o(.text+0x3a7): undefined reference to `ap_block_alarms'
alloc.o(.text+0x3c2): undefined reference to `ap_unblock_alarms'
alloc.o(.text+0x3cd): undefined reference to `ap_unblock_alarms'
modules/php3/libmodphp3.a(alloc.o): In function `shutdown_memory_manager':
alloc.o(.text+0x477): undefined reference to `ap_block_alarms'
alloc.o(.text+0x519): undefined reference to `ap_unblock_alarms'
modules/php3/libmodphp3.a(request_info.o): In function `php3_init_request_info':
request_info.o(.text+0x66): undefined reference to `ap_table_get'
request_info.o(.text+0x86): undefined reference to `ap_table_get'
request_info.o(.text+0xc1): undefined reference to `ap_table_get'
modules/php3/libmodphp3.a(apache.o): In function `php3_apache_note':
apache.o(.text+0x6c): undefined reference to `ap_table_get'
apache.o(.text+0xa3): undefined reference to `ap_table_set'
modules/php3/libmodphp3.a(apache.o): In function `php3_info_apache':
apache.o(.text+0x19b): undefined reference to `ap_group_id'
apache.o(.text+0x1a1): undefined reference to `ap_user_id'
apache.o(.text+0x1a7): undefined reference to `ap_user_name'
apache.o(.text+0x1d7): undefined reference to `ap_max_requests_per_child'
apache.o(.text+0x205): undefined reference to `ap_server_root'
apache.o(.text+0x224): undefined reference to `top_module'
modules/php3/libmodphp3.a(apache.o): In function `php3_virtual':
apache.o(.text+0x302): undefined reference to `ap_sub_req_lookup_uri'
apache.o(.text+0x335): undefined reference to `ap_destroy_sub_req'
apache.o(.text+0x37d): undefined reference to `ap_destroy_sub_req'
apache.o(.text+0x3e2): undefined reference to `ap_destroy_sub_req'
apache.o(.text+0x41d): undefined reference to `ap_run_sub_req'
apache.o(.text+0x44b): undefined reference to `ap_destroy_sub_req'
apache.o(.text+0x46f): undefined reference to `ap_destroy_sub_req'
modules/php3/libmodphp3.a(apache.o): In function `php3_apache_lookup_uri':
apache.o(.text+0x606): undefined reference to `ap_sub_req_lookup_uri'
apache.o(.text+0x904): undefined reference to `ap_destroy_sub_req'
modules/php3/libmodphp3.a(basic_functions.o): In function `php3_getenv':
basic_functions.o(.text+0x1d9): undefined reference to `ap_table_get'
modules/php3/libmodphp3.a(basic_functions.o): In function `php3_flush':
basic_functions.o(.text+0x1b56): undefined reference to `ap_rflush'
modules/php3/libmodphp3.a(exec.o): In function `_Exec':
exec.o(.text+0x3e5): undefined reference to `ap_rflush'
modules/php3/libmodphp3.a(head.o): In function `_php3_Header':
head.o(.text+0x15f): undefined reference to `ap_pstrdup'
head.o(.text+0x186): undefined reference to `ap_pstrdup'
head.o(.text+0x2db): undefined reference to `ap_table_set'
head.o(.text+0x2f9): undefined reference to `ap_table_set'
head.o(.text+0x389): undefined reference to `ap_pstrdup'
modules/php3/libmodphp3.a(head.o): In function `php3_header':
head.o(.text+0x783): undefined reference to `ap_table_add'
head.o(.text+0x83f): undefined reference to `ap_send_http_header'
modules/php3/libmodphp3.a(mysql.o): In function `_close_mysql_link':
mysql.o(.text+0x1f): undefined reference to `ap_signal'
mysql.o(.text+0x3c): undefined reference to `ap_signal'
modules/php3/libmodphp3.a(mysql.o): In function `_close_mysql_plink':
mysql.o(.text+0x63): undefined reference to `ap_signal'
mysql.o(.text+0x80): undefined reference to `ap_signal'
modules/php3/libmodphp3.a(mysql.o): In function `php3_mysql_do_connect':
mysql.o(.text+0x8b9): undefined reference to `ap_signal'
modules/php3/libmodphp3.a(mysql.o)(.text+0x8ed): more undefined references to `ap_signal' follow
modules/php3/libmodphp3.a(post.o): In function `php3_getput':
post.o(.text+0x12b): undefined reference to `ap_should_client_block'
post.o(.text+0x152): undefined reference to `ap_hard_timeout'
post.o(.text+0x15e): undefined reference to `ap_signal'
post.o(.text+0x17e): undefined reference to `ap_get_client_block'
post.o(.text+0x1d3): undefined reference to `ap_reset_timeout'
post.o(.text+0x24a): undefined reference to `ap_signal'
post.o(.text+0x258): undefined reference to `ap_kill_timeout'
modules/php3/libmodphp3.a(post.o): In function `php3_getpost':
post.o(.text+0x4a3): undefined reference to `ap_should_client_block'
post.o(.text+0x4ca): undefined reference to `ap_hard_timeout'
post.o(.text+0x4d6): undefined reference to `ap_signal'
post.o(.text+0x4f6): undefined reference to `ap_get_client_block'
post.o(.text+0x54b): undefined reference to `ap_reset_timeout'
post.o(.text+0x58e): undefined reference to `ap_signal'
post.o(.text+0x59c): undefined reference to `ap_kill_timeout'
modules/php3/libmodphp3.a(post.o): In function `php3_TreatHeaders':
post.o(.text+0xe19): undefined reference to `ap_table_get'
post.o(.text+0xe37): undefined reference to `ap_auth_type'
post.o(.text+0xe60): undefined reference to `ap_getword'
post.o(.text+0xea5): undefined reference to `ap_uudecode'
post.o(.text+0xec0): undefined reference to `ap_getword_nulls_nc'
Creating Makefile in src
 + configured for FreeBSD 3.2 platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + checking for system header files
 + adding selected modules
    o php3_module uses ConfigStart/End
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. This is most likely because your C compiler
** is not ANSI. Apache requires an ANSI C Compiler, such
** as gcc. The above error message from your compiler
** will also provide a clue.
 Aborting!

-- 
Dominik - http://www.saargate.de/~domi/



php::bar PHP Wiki   -   Listenarchive