On Thu, Mar 22, 2001 at 07:10:34PM +0200, Aivo Kalu wrote:
> >perl Makefile.PL EVERYTHING=1 DO_HTTPD=1 USE_APACI=1 \
> >     APACI_ARGS="--enable-module=most --enable-shared=max \
> >     --disable-shared=perl --disable-shared=include"
> 
> When I configure mod_perl this way, it compiles nice and tests nice,
> however, make embperl files with message
> 
> bash-2.04# make
>         LD_RUN_PATH="" 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 -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.exp
> 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_rwrite
> ld: 0711-317 ERROR: Undefined symbol: .ap_rflush
> ld: 0711-317 ERROR: Undefined symbol: .ap_rputc
> ld: 0711-317 ERROR: Undefined symbol: .ap_palloc
> ld: 0711-317 ERROR: Undefined symbol: .ap_log_error
> ld: 0711-317 ERROR: Undefined symbol: .ap_send_http_header
> 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-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
> make: 1254-004 The error code from the last command is 8.

There is something fishy going on with your build environment, if I do
configure Embperl simply with "perl Makefile.PL" I get the following
compile line:

LD_RUN_PATH="" ld  -bhalt:4 -bM:SRE
-bI:/data/jum/perl/lib/5.6.1/aix/CORE/perl.exp -bE:Embperl.exp -bnoentry
-lC -lc -L/usr/local/lib Embperl.o epmain.o epio.o epchar.o epcmd.o
eputil.o epeval.o epdbg.o
-bI:/data/jum/perl/lib/site_perl/5.6.1/aix/auto/Apache/mod_perl.exp
-bI:/usr/local/apache/libexec/httpd.exp  -o
blib/arch/auto/HTML/Embperl/Embperl.so     

And this exactly has the httpd.exp file that is needed to resolve the
external references to the ap_* symbols. Did you install modperl
properly before making Embperl? This should have installed Apache::src,
which is used to find various extra flags for building Embperl. What
does the following command print?

$ perl -MApache::src -le "print Apache::src->new->otherldflags;"
-bI:/data/jum/perl/lib/site_perl/5.6.1/aix/auto/Apache/mod_perl.exp
-bI:/usr/local/apache/libexec/httpd.exp

-- 
Jens-Uwe Mager

HELIOS Software GmbH
Steinriede 3
30827 Garbsen
Germany

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to