RE: [PHP4BETA] Errors compiling Apache 1.3.9 / PHP4 CVS version
| From: | Brian Leyton | Date: | Tue, 28 Dec 1999 21:00:00 +0000 |
| Subject: | RE: [PHP4BETA] Errors compiling Apache 1.3.9 / PHP4 CVS version | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8616@lists.php.net to get a copy of this message | ||
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])
RESOLVE: 11836 of 35899 symbols were kept.
RESOLVE: The return code is 4.
(ld): addgl /usr/lib/glink.o
ADDGL: Glink code added for 252 symbols.
(ld): er full
ld: 0711-318 ERROR: Undefined symbols were found.
The following symbols are in error:
Symbol Inpndx TY CL Source-File(Object-File) OR
Import-File
{Shared-object}
RLD: Address Section Rld-type Referencing
Symbol
---------------------------------------------------------------------------
----
---------------
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]
.odbc_sql_
error
ER: The return code is 8.
collect2: ld returned 8 exit status
make: The error code from the last command is 1.
> -----Original Message-----
> From: Sascha Schumann [mailto:sascha@schumann.cx]
> Sent: Tuesday, December 28, 1999 11:01 AM
> To: Brian Leyton
> Cc: Php4beta
> Subject: Re: [PHP4BETA] Errors compiling Apache 1.3.9 / PHP4 CVS version
>
>
> On Tue, Dec 28, 1999 at 08:47:30AM -0800, Brian Leyton wrote:
> [..]
> > ld: 0711-224 WARNING: Duplicate symbol: sapi_module
> > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> > information.
> > ld: 0711-317 ERROR: Undefined symbol: .SQL_SUCCEEDED
>
> What does the link editor display, if you add these options
> (-bloadmap/-bnoquiet) to LDFLAGS? It would be useful, if it
> would display where the symbols are (not) defined.
>
> [..]
> > Here's the configure line for PHP:
> >
> > ./configure --with-mysql=/usr/local/lib/mysql \
> > --with-ldap \
> > --with-iodbc \
> > --enable-trackvars \
>
> --enable-track-vars
Oops. Fixed it...
>
> > --with-apache=/usr/local/lib/apache_1.3.9
> [..]
>
> --
>
> Regards,
>
> Sascha Schumann
> Consultant