RE: [PHP4BETA] Error in ldap.c when compiling latest CVS

From: Date: Thu, 12 Aug 1999 21:36:00 +0000
Subject: RE: [PHP4BETA] Error in ldap.c when compiling latest CVS
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-3382@lists.php.net to get a copy of this message
> -----Original Message----- > From: hape@gw.i-netpartner.net > [mailto:hape@gw.i-netpartner.net]On > Behalf Of Hans-Peter Straub > Sent: Thursday, August 12, 1999 2:38 AM > To: Brian Leyton > Cc: Php4beta > Subject: Re: [PHP4BETA] Error in ldap.c when compiling > latest CVS > > > Brian Leyton wrote: > > > I got the following when trying to compile the > released version > > of Beta 2 on AIX 4.2.1, so I updated to the latest > CVS & still > > got the same message: > > > > Making all in ldap > > > > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend > -I../../TSRM > > -I/usr/ > > local/lib/apache_1.3.6/src/include > -I/usr/local/lib/apache_1.3.6/ > > src/os/unix - > > I/usr/local/include -I/usr/local/lib/mysql/include > -I../.. -I.. > > /../libzend > > -O2 -g -O2 -c ldap.c > > ldap.c:70: `php3_ldap_close' undeclared here (not in > a function) > > ldap.c:70: initializer element for > `ldap_functions[1].handler' is > > not constant > > make: The error code from the last command is 1. > > > > Please look at > > http://bugs.php.net/version4/bugs.php?id=2025 > > Yours > > Hans-Peter Straub Ok, well that solved the problem in compiling PHP4, but now the Apache compile fails with the following errors: gcc -DAIX=42 -U__STR__ -DAIX_BIND_PROCESSOR -DNO_DBM_REWRITEMAP -DMOD_S SL=203105 -I/usr/local/lib/php-4.0b2dev -I/usr/local/lib/php-4.0b 2dev/libzend -I /usr/local/lib/php-4.0b2dev/libzend -I/usr/local/lib/php-4.0b2dev -DUSE_HSREGEX -DEAPI ./apaci -lm -L/usr/local/lib/openssl-0.9.3a -o httpd buildmark.o mo dules.o modules/ssl/libssl.a modules/php4/libphp4.a modules/standard/libstand ard.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a -L/usr/loc al/lib/mysql/lib/libmysqlclient.a -lmysqlclient -L/usr/lib -lld - L/office/openli nk/odbcsdk/lib -liodbc -L/usr/local/lib -L/usr/local/lib/mysql/li b -Lmodules/php 4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -L/usr/local/l ib/php-4.0b2dev /ext/pcre/pcrelib -lpcre -L/usr/local/lib/php-4.0b2dev/regex -lre gex -lgdbm -ll dap -llber -L/usr/local/lib -L/usr/local/lib/mysql/lib -lmysqlcli ent -ldl -l m -lnsl -lssl -lcrypto ld: 0711-224 WARNING: Duplicate symbol: sapi_module ld: 0711-341 WARNING: Replaced XTY_CM symbol sapi_module requires an alignment more strict than the alignment of the symbol that replaces it. ld: 0711-341 WARNING: Replaced XTY_CM symbol sapi_module requires an alignment more strict than the alignment of the symbol that replaces it. ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. ld: 0711-317 ERROR: Undefined symbol: ._php3_getuid ld: 0711-317 ERROR: Undefined symbol: .url_parse ld: 0711-317 ERROR: Undefined symbol: ._php3_sock_close ld: 0711-317 ERROR: Undefined symbol: .free_url ld: 0711-317 ERROR: Undefined symbol: .lookup_hostname ld: 0711-317 ERROR: Undefined symbol: ._php3_base64_encode ld: 0711-317 ERROR: Undefined symbol: ._php3_sock_feof ld: 0711-317 ERROR: Undefined symbol: ._php3_sock_fgets ld: 0711-317 ERROR: Undefined symbol: ._php3_rawurldecode ld: 0711-317 ERROR: Undefined symbol: browser_hash ld: 0711-317 ERROR: Undefined symbol: .php3_dl ld: 0711-317 ERROR: Undefined symbol: .php_info_print_table_header ld: 0711-317 ERROR: Undefined symbol: ._php3_sock_set_def_chunk_size ld: 0711-317 ERROR: Undefined symbol: .php3_header ld: 0711-317 ERROR: Undefined symbol: ._php3_parse_gpc_data ld: 0711-317 ERROR: Undefined symbol: .php3_check_ident_type ld: 0711-317 ERROR: Undefined symbol: .php3_call_shutdown_functions ld: 0711-317 ERROR: Undefined symbol: regexp_module_entry ld: 0711-317 ERROR: Undefined symbol: dl_module_entry ld: 0711-317 ERROR: Undefined symbol: php3_file_module_entry ld: 0711-317 ERROR: Undefined symbol: fsock_module_entry ld: 0711-317 ERROR: Undefined symbol: php3_header_module_entry ld: 0711-317 ERROR: Undefined symbol: pack_module_entry ld: 0711-317 ERROR: Undefined symbol: browscap_module_entry ld: 0711-317 ERROR: Undefined symbol: crypt_module_entry ld: 0711-317 ERROR: Undefined symbol: php3_dir_module_entry ld: 0711-317 ERROR: Undefined symbol: php3_filestat_module_entry ld: 0711-317 ERROR: Undefined symbol: mail_module_entry ld: 0711-317 ERROR: Undefined symbol: syslog_module_entry ld: 0711-317 ERROR: Undefined symbol: basic_functions_module ld: 0711-317 ERROR: Undefined symbol: session_module_entry ld: 0711-317 ERROR: Undefined symbol: pcre_module_entry ld: 0711-317 ERROR: Undefined symbol: mysql_module_entry ld: 0711-317 ERROR: Undefined symbol: ldap_module_entry ld: 0711-317 ERROR: Undefined symbol: apache_module_entry ld: 0711-317 ERROR: Undefined symbol: .php3_treat_data ld: 0711-317 ERROR: Undefined symbol: .php4i_add_header_information ld: 0711-317 ERROR: Undefined symbol: .php_print_credits ld: 0711-317 ERROR: Undefined symbol: .php3_TreatHeaders ld: 0711-317 ERROR: Undefined symbol: .php_get_highlight_struct collect2: ld returned 8 exit status make: The error code from the last command is 1. Stop. make: The error code from the last command is 2. Stop. make: The error code from the last command is 2. Stop. Thanks for the help though, Hans - at least I'm one step closer... Brian

« previous php.version4 (#3382) next »