Undefined symbol compile errors with mod_perl-1.99_14 and AIX 5.2

Undefined symbol compile errors with mod_perl-1.99_14 and AIX 5.2

am 15.03.2007 10:55:47 von martin.crumley

This 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">
Undefined symbol compile errors with mod_perl-1.99_14 and AIX =<br /> 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--

Re: Undefined symbol compile errors with mod_perl-1.99_14 and AIX 5.2

am 15.03.2007 11:15:07 von imacat

--===[PGP/MIME_RFC2015]===45F91C2B.14D1===
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

On Thu, 15 Mar 2007 10:55:47 +0100
"Crumley, Martin \(GE Infra, Energy\)" wrote:
> 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.

Why not using mod_perl 2.0.3? Version 1.99_xx are pre-release and
are replaced by 2.x.

If you are using Apache 1.3, you should use mod_perl 1.29. If you
are using Apache 2.x, you should use mod_perl 2.0.3.

--
imacat ^_*'
imacat@mail.imacat.idv.tw
PGP Key: http://www.imacat.idv.tw/me/pgpkey.txt

Tavern IMACAT's http://www.imacat.idv.tw/
Woman's Voice http://www.wov.idv.tw/
TLUG List Manager http://www.linux.org.tw/mailman/listinfo/tlug

--===[PGP/MIME_RFC2015]===45F91C2B.14D1===
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)

iD8DBQBF+Rwqi9gubzC5S1wRArRKAJ4ofFerknMI0p7Ih5ageYE8Bsq4QgCe M2Wp
7Akdt1E6DIucr4riFyVi2FE=
=1qxq
-----END PGP SIGNATURE-----

--===[PGP/MIME_RFC2015]===45F91C2B.14D1===--

RE: Undefined symbol compile errors with mod_perl-1.99_14 and AIX 5.2

am 15.03.2007 11:21:16 von martin.crumley

Hi,

Thanks for the quick response.

Apologies, I should have included the Apache version in the original
mail - it's 2.0.55.

As for mod_perl 2.0.3, I've tried that also with the same result. I
suspect it's a mistake I've made somewhere down the line, possibly with
he linker options I'm using.

Thanks,

Martin =20

-----Original Message-----
From: imacat [mailto:imacat@mail.imacat.idv.tw]=20
Sent: 15 March 2007 10:15
To: mod_perl
Subject: Re: Undefined symbol compile errors with mod_perl-1.99_14 and
AIX 5.2

On Thu, 15 Mar 2007 10:55:47 +0100
"Crumley, Martin \(GE Infra, Energy\)" wrote:
> I'm experiencing problems when I run the make command on=20
> mod_perl-1.99_14. I'm including an extract of the output when running

> the make.

Why not using mod_perl 2.0.3? Version 1.99_xx are pre-release and
are replaced by 2.x.

If you are using Apache 1.3, you should use mod_perl 1.29. If you
are using Apache 2.x, you should use mod_perl 2.0.3.

--
imacat ^_*'
imacat@mail.imacat.idv.tw
PGP Key: http://www.imacat.idv.tw/me/pgpkey.txt

Tavern IMACAT's http://www.imacat.idv.tw/ Woman's Voice
http://www.wov.idv.tw/ TLUG List Manager
http://www.linux.org.tw/mailman/listinfo/tlug