Undefined symbol compile errors with mod_perl-1.99_14 and AIX 5.2
am 15.03.2007 10:55:47 von martin.crumleyThis is a multi-part message in MIME format.
------_=_NextPart_001_01C766E8.1B30FB6B
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
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. =20
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...
==================== =====3D=
==================== =====3D=
===3D
/usr/local/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists("NAME" =3D>
"APR::Base64", "DL_FUNCS" =3D> { }, "FUNCLIST" =3D> [], "DL_VARS" =3D> =
[]);'
/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/per l
-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=3D-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=3D\"0.01\" -DXS_VERSION=3D\"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=3D"" 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.=20
Stop.
make: 1254-004 The error code from the last command is 2.=20
Stop.
make: 1254-004 The error code from the last command is 2.=20
Stop.
make: 1254-004 The error code from the last command is 2.
==================== =====3D=
==================== =====3D=
===3D
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. =20
Hopefully someone with perl/modperl knowledge can point out my mistakes.
Many thanks,
Martin Crumley
------_=_NextPart_001_01C766E8.1B30FB6B
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
charset=3Dus-ascii">
6.0.6619.9">
5.2
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…
FACE=3D"Arial">===============3D =====3D=
==================== =====3D=
========
/usr/local/bin/perl -e 'use =
ExtUtils::Mksymlists; Mksymlists("NAME" =3D> =
"APR::Base64", "DL_FUNCS" =3D> { }, =
"FUNCLIST" =3D> [], "DL_VARS" =3D> []);'
/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/per l =
-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=3D-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=3D\"0.01\" -DXS_VERSION=3D\"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=3D"" 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.
FACE=3D"Times New Roman">
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.
FACE=3D"Arial">===============3D =====3D=
==================== =====3D=
========
FACE=3D"Arial">I've been trying to work out these
LANG=3D"en-gb"> 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
------_=_NextPart_001_01C766E8.1B30FB6B--