On Tue, Jun 13, 2000 at 08:36:40PM -0400, Greg Estep wrote:

> When 'make' invokes 'ld' with the following command:
> 
> ld -o
> blib/arch/auto/HTML/Embperl/Embperl.so  -bhalt:4 -bM:SRE -bI:/usr/local/lib/
> perl5/5.6.0/aix/CORE/perl.exp -bE:Embperl.exp -b
> noentry -lC -lc -L/usr/local/lib Embperl.o epmain.o epio.o epchar.o epcmd.o
> eputil.o epeval.o
> epdbg.o -bI:/usr/local/lib/perl5/site_perl/5.6.0/aix/auto/Apache/mod_perl.ex
> p
> 
> These following errors are produced.
> 
> ld: 0711-317 ERROR: Undefined symbol: .ap_palloc
> ld: 0711-317 ERROR: Undefined symbol: .ap_rputc
> ld: 0711-317 ERROR: Undefined symbol: .ap_rflush
> ld: 0711-317 ERROR: Undefined symbol: .ap_rwrite
> ld: 0711-317 ERROR: Undefined symbol: .ap_setup_client_block
> ld: 0711-317 ERROR: Undefined symbol: .ap_should_client_block
> ld: 0711-317 ERROR: Undefined symbol: .ap_get_client_block
> ld: 0711-317 ERROR: Undefined symbol: .ap_pstrdup
> ld: 0711-317 ERROR: Undefined symbol: .ap_table_set
> ld: 0711-317 ERROR: Undefined symbol: .ap_table_add
> ld: 0711-317 ERROR: Undefined symbol: .ap_set_content_length
> ld: 0711-317 ERROR: Undefined symbol: .ap_send_http_header
> ld: 0711-317 ERROR: Undefined symbol: .ap_log_error
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.

These are the symbols that embperl needs to reference from the main
Apache executable, there is an -bI:/usr/local/apache/libexec/httpd.exp
missing in the above linker command line. I would suspect that the
embperl Makefile.PL could use an overhaul and use the new features of
Apache::src to find the flags needed for linking a plug-in that needs to
link both against perl and httpd.

I also would recommend that you apply the patch to perl mentioned in the
mod_perl INSTALL file.

-- 
Jens-Uwe Mager

HELIOS Software GmbH
Steinriede 3
30827 Garbsen
Germany

Phone:          +49 5131 709320
FAX:            +49 5131 709325
Internet:       [EMAIL PROTECTED]

Reply via email to