Re: [PHP4BETA] Errors compiling Apache 1.3.9 / PHP4 CVS version

From: Date: Tue, 28 Dec 1999 21:26:58 +0000
Subject: Re: [PHP4BETA] Errors compiling Apache 1.3.9 / PHP4 CVS version
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-8620@lists.php.net to get a copy of this message
On Tue, Dec 28, 1999 at 01:00:00PM -0800, Brian Leyton wrote: > Ok, here's what I get: > > (ld): resolve > ld: 0711-224 WARNING: Duplicate symbol: sapi_module > ld: 0711-228 WARNING: Duplicate symbols were found while resolving symbols. > The following duplicates were found: > Symbol Source-File(Object) OR Import-File{Shared-object} > ------------------------- ------------------------------------------------- > sapi_module mod_php4.c(modules/php4/libphp4.a[mod_php4.o]) > ** Duplicate ** SAPI.c(modules/php4/libphp4.a[SAPI.o]) > ** Duplicate ** SAPI.c(modules/php4/libmodphp4.a[SAPI.o]) Ok, the attached patch fixes that. SAPI.c should use the respective module's sapi_module. > ld: 0711-317 ERROR: Undefined symbol: .SQL_SUCCEEDED > .SQL_SUCCEEDED [58] ER PR > php_odbc.c(modules/php4/libphp4.a[php_o > dbc.o]) > 00000cfc .text R_RBR [785] It looks like SQL_SUCCEEDED is a macro which isn't defined properly. Check your ODBC header files for a similarly named macro. Additionally, you might want to check libiodbc for a similarly named symbol. -- Regards, Sascha Schumann Consultant

Index: SAPI.c =================================================================== RCS file: /repository/php4/SAPI.c,v retrieving revision 1.38 diff -u -r1.38 SAPI.c --- SAPI.c 1999/12/19 02:04:20 1.38 +++ SAPI.c 1999/12/28 21:19:53 @@ -61,7 +61,6 @@ /* True globals (no need for thread safety) */ -sapi_module_struct sapi_module; SAPI_API void (*sapi_error)(int error_type, const char *message, ...);
« previous php.version4 (#8620) next »