perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Crumley, Martin \(GE Infra, Energy\)" <martin.crum...@ge.com>
Subject Undefined symbol compile errors with mod_perl-1.99_14 and AIX 5.2
Date Thu, 15 Mar 2007 09:55:47 GMT
Hi all,

I'm experiencing problems when I run the make command on
mod_perl-1.99_14.  I'm including an extract of the output when running
the make.  

The OS is AIX 5.2 64-bit, the perl version is 5.8.5 and I'm compiling
using xlC.

Here are the errors I'm receiving...

=====================================================
/usr/local/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists("NAME" =>
"APR::Base64", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);'
/usr/local/bin/perl /usr/local/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.8.5/ExtUtils/typemap -typemap
/users/enmac/webview_conf/mod_perl-1.99_14/xs/typemap Base64.xs >
Base64.xsc && mv Base64.xsc Base64.c
xlC_r -c -I/users/enmac/webview_conf/mod_perl-1.99_14/src/modules/perl
-I/users/enmac/webview_conf/mod_perl-1.99_14/xs
-I/usr/local/apache2/include -I/usr/local/apache2/include -D_ALL_SOURCE
-D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias
-DUSE_NATIVE_DLOPEN -I/usr/local/include -q64 -DUSE_64_BIT_ALL -q64
-DMOD_PERL -DMP_COMPAT_1X -U__STR__ -D_THREAD_SAFE -D_USE_IRS -O
-DVERSION=\"0.01\" -DXS_VERSION=\"0.01\"
"-I/usr/local/lib/perl5/5.8.5/aix-64all/CORE" -DMP_HAVE_APR_LIBS
Base64.c
Running Mkbootstrap for APR::Base64 ()
chmod 644 Base64.bs
rm -f ../../../blib/arch/auto/APR/Base64/Base64.so
LD_RUN_PATH="" ld -b64 -bhalt:4 -bM:SRE -bE:Base64.exp -bnoentry -lc
-L/usr/local/lib Base64.o -brtl -L/usr/local/lib -b64 -o
../../../blib/arch/auto/APR/Base64/Base64.so
ld: 0711-317 ERROR: Undefined symbol: PL_markstack_ptr
ld: 0711-317 ERROR: Undefined symbol: PL_stack_base
ld: 0711-317 ERROR: Undefined symbol: PL_stack_sp
ld: 0711-317 ERROR: Undefined symbol: .Perl_newXS
ld: 0711-317 ERROR: Undefined symbol: PL_sv_yes
ld: 0711-317 ERROR: Undefined symbol: .Perl_croak
ld: 0711-317 ERROR: Undefined symbol: .Perl_sv_2pv_flags
ld: 0711-317 ERROR: Undefined symbol: .Perl_form
ld: 0711-317 ERROR: Undefined symbol: .Perl_get_sv
ld: 0711-317 ERROR: Undefined symbol: .Perl_sv_2iv
ld: 0711-317 ERROR: Undefined symbol: PL_curpad
ld: 0711-317 ERROR: Undefined symbol: PL_op
ld: 0711-317 ERROR: Undefined symbol: .Perl_sv_newmortal
ld: 0711-317 ERROR: Undefined symbol: .apr_base64_encode_len
ld: 0711-317 ERROR: Undefined symbol: .Perl_sv_setiv
ld: 0711-317 ERROR: Undefined symbol: .Perl_mg_set
ld: 0711-317 ERROR: Undefined symbol: .Perl_sv_upgrade
ld: 0711-317 ERROR: Undefined symbol: .apr_base64_decode_len
ld: 0711-317 ERROR: Undefined symbol: .Perl_sv_grow
ld: 0711-317 ERROR: Undefined symbol: .apr_base64_decode_binary
ld: 0711-317 ERROR: Undefined symbol: .apr_base64_encode_binary
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. 

Stop.
make: 1254-004 The error code from the last command is 2. 

Stop.
make: 1254-004 The error code from the last command is 2. 

Stop.
make: 1254-004 The error code from the last command is 2.

=====================================================

I've been trying to work out these Undefined symbol errors for a while
but my lack of knowledge in  all things perl is showing through.  

Hopefully someone with perl/modperl knowledge can point out my mistakes.

Many thanks,

Martin Crumley





Mime
View raw message