Perlbal-XS-HTTPHeaders compile error

Eric Chang scrazy77 at
Thu Nov 10 19:21:44 PST 2005

I'm using Gentoo Linux X86-64
And xs httpheader make test not passed..

--start --
Tiffany Perlbal-XS-HTTPHeaders # perl Makefile.PL
Note (probably harmless): No library found for -lstdc++
Writing Makefile for Perlbal::XS::HTTPHeaders
Tiffany Perlbal-XS-HTTPHeaders # make
g++ -c  -I. -g -O2 -march=k8 -pipe   -DVERSION=\"0.18\"
-DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl5/5.8.6/x86_64-linux/CORE"
g++ -c  -I. -g -O2 -march=k8 -pipe   -DVERSION=\"0.18\"
-DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib/perl5/5.8.6/x86_64-linux/CORE"
Running Mkbootstrap for Perlbal::XS::HTTPHeaders ()
chmod 644
rm -f blib/arch/auto/Perlbal/XS/HTTPHeaders/
x86_64-pc-linux-gnu-gcc  -shared -L/usr/local/lib headers.o
HTTPHeaders.o  -o blib/arch/auto/Perlbal/XS/HTTPHeaders/

chmod 755 blib/arch/auto/Perlbal/XS/HTTPHeaders/
cp blib/arch/auto/Perlbal/XS/HTTPHeaders/
chmod 644 blib/arch/auto/Perlbal/XS/HTTPHeaders/
Manifying blib/man3/Perlbal::XS::HTTPHeaders.3pm

Tiffany Perlbal-XS-HTTPHeaders # make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.6 "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/HTTPHeaders....NOK 1#     Failed test (t/HTTPHeaders.t at line 10)
#     Tried to use 'Perlbal::XS::HTTPHeaders'.
#     Error:  Can't load
for module Perlbal::XS::HTTPHeaders:
undefined symbol: __gxx_personality_v0 at
/usr/lib/perl5/5.8.6/x86_64-linux/ line 230.
#  at (eval 1) line 2
# Compilation failed in require at (eval 1) line 2.
t/HTTPHeaders....ok 3/31&Perlbal::XS::HTTPHeaders::constant not
defined at t/HTTPHeaders.t line 45
# Looks like you planned 31 tests but only ran 3.
# Looks like your test died just after 3.
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1, 4-31
        Failed 29/31 tests, 6.45% okay
Failed Test     Stat Wstat Total Fail  Failed  List of Failed
t/HTTPHeaders.t  255 65280    31   57 183.87%  1 4-31
Failed 1/1 test scripts, 0.00% okay. 29/31 subtests failed, 6.45% okay.
make: *** [test_dynamic] Error

More information about the perlbal mailing list