You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by John Marquart <jo...@indiana.edu> on 2000/06/26 23:09:11 UTC

perl_cmd_perl_TAKE*

Can anyone direct me to information on what the symbols
perl_cmd_perl_TAKE* and perl_cmd_perl_FLAG refer to?

On an AIX 4.3 box, I have successfully installed mod_perl for apache (1.22
& 1.3.12 respectively).  My installation was performed from the mod_perl
dir as "perl Makefile.PL EVERYTHING=1 USE_APACI=1 DO_HTTPD".  It compiled
and passed its tests fine.  However, when attempting to install a local
kerberos authentication module, I run into linking errors:

        LD_RUN_PATH="" ld -o
blib/arch/auto/Apache/IU/AuthenKerberos/AuthenKerberos.so  -bhalt:4
-bM:SRE -bI:/usr/opt/perl5/lib/5.00503/aix/CORE/perl.exp
-bE:AuthenKerberos.exp -b noentry -lc AuthenKerberos.o     
ld: 0711-317 ERROR: Undefined symbol: perl_cmd_perl_TAKE2
ld: 0711-317 ERROR: Undefined symbol: perl_cmd_perl_TAKE1
ld: 0711-317 ERROR: Undefined symbol: perl_cmd_perl_TAKE123
ld: 0711-317 ERROR: Undefined symbol: perl_cmd_perl_FLAG
ld: 0711-317 ERROR: Undefined symbol: perl_perl_merge_dir_config
ld: 0711-317 ERROR: Undefined symbol: .ap_add_module
ld: 0711-317 ERROR: Undefined symbol: .ap_palloc
ld: 0711-317 ERROR: Undefined symbol: perl_perl_cmd_cleanup
ld: 0711-317 ERROR: Undefined symbol: ap_null_cleanup
ld: 0711-317 ERROR: Undefined symbol: .ap_register_cleanup
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.

when I started to investigate, I found these symbols in:
	apache_1.3.12/src/modules/perl/libperl.a 
	apache_1.3.12/src/modules/perl_config.o
however, I could not locate the symbols anywhere else on the system (in
particular the apache install dir, and libs dirs.)

Any help would be greatly appreciated.  I apologize if I have not included
any pertinent information - and would be happy to supply an additional
info.

thanks,
-jamie



John "Jamie" Marquart		|     This message posted 100% MS free.
Digital Library SysAdmin	|  Work: 812-856-5174   Pager: 812-334-6018
Indiana University Libraries	|  ICQ: 1131494	 	D'net Team:  6265



Re: perl_cmd_perl_TAKE*

Posted by Jens-Uwe Mager <ju...@helios.de>.
On Mon, Jun 26, 2000 at 04:09:11PM -0500, John Marquart wrote:
> Can anyone direct me to information on what the symbols
> perl_cmd_perl_TAKE* and perl_cmd_perl_FLAG refer to?

These are symbols internal to the modperl module and are currently not
exported for use outside of that module. I have no idea if it is kosher
to export them, but you could try to add these symbols to
apaci/mod_perl.exp and rebuilding modperl.

> On an AIX 4.3 box, I have successfully installed mod_perl for apache (1.22
> & 1.3.12 respectively).  My installation was performed from the mod_perl
> dir as "perl Makefile.PL EVERYTHING=1 USE_APACI=1 DO_HTTPD".  It compiled
> and passed its tests fine.  However, when attempting to install a local
> kerberos authentication module, I run into linking errors:
> 
>         LD_RUN_PATH="" ld -o
> blib/arch/auto/Apache/IU/AuthenKerberos/AuthenKerberos.so  -bhalt:4
> -bM:SRE -bI:/usr/opt/perl5/lib/5.00503/aix/CORE/perl.exp
> -bE:AuthenKerberos.exp -b noentry -lc AuthenKerberos.o     
> ld: 0711-317 ERROR: Undefined symbol: perl_cmd_perl_TAKE2
> ld: 0711-317 ERROR: Undefined symbol: perl_cmd_perl_TAKE1
> ld: 0711-317 ERROR: Undefined symbol: perl_cmd_perl_TAKE123
> ld: 0711-317 ERROR: Undefined symbol: perl_cmd_perl_FLAG
> ld: 0711-317 ERROR: Undefined symbol: perl_perl_merge_dir_config
> ld: 0711-317 ERROR: Undefined symbol: .ap_add_module
> ld: 0711-317 ERROR: Undefined symbol: .ap_palloc
> ld: 0711-317 ERROR: Undefined symbol: perl_perl_cmd_cleanup
> ld: 0711-317 ERROR: Undefined symbol: ap_null_cleanup
> ld: 0711-317 ERROR: Undefined symbol: .ap_register_cleanup
> 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.
> 
> when I started to investigate, I found these symbols in:
> 	apache_1.3.12/src/modules/perl/libperl.a 
> 	apache_1.3.12/src/modules/perl_config.o
> however, I could not locate the symbols anywhere else on the system (in
> particular the apache install dir, and libs dirs.)

The link line is missing the import files for modperl and apache, You
can find out the needed extra command line switches from modperl:

$ perl -MApache::src -le 'print Apache::src->new->otherldflags;'
-bI:/usr/local/lib/perl5/site_perl/5.005/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:	jum@helios.de