I can't build Apache::SubProcess 0.03 on AIX 5.2 with perl 5.8.2,
mod_perl 1.29 and apache 1.3.29. The error (pasted below) puzzles me ;
any clues ?
$ make
cp SubProcess.pm blib/lib/Apache/SubProcess.pm
/opt/hexaflux/perl/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists("NAME"
=> "Apache::SubProcess", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);'
/opt/hexaflux/perl/bin/perl /opt/hexaflux/perl/lib/5.8.2/ExtUtils/xsubpp
-typemap /opt/hexaflux/perl/lib/5.8.2/ExtUtils/typemap -typemap
/opt/hexaflux/perl/lib/site_perl/5.8.2/aix/auto/Apache/typemap SubProcess.xs >
SubProcess.xsc && mv SubProcess.xsc SubProcess.c
cc -c -I/opt/hexaflux/perl/lib/site_perl/5.8.2/aix/auto/Apache/include
-I/opt/hexaflux/perl/lib/site_perl/5.8.2/aix/auto/Apache/include/modules/perl
-I/opt/hexaflux/perl/lib/site_perl/5.8.2/aix/auto/Apache/include/include
-I/opt/hexaflux/perl/lib/site_perl/5.8.2/aix/auto/Apache/include/regex
-I/opt/hexaflux/perl/lib/site_perl/5.8.2/aix/auto/Apache/include/os/unix
-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias
-DUSE_NATIVE_DLOPEN -DNO_LOCALE -q32 -D_LARGE_FILES -qlonglong -O
-DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" "-I/opt/hexaflux/perl/lib/5.8.2/aix/CORE"
-g SubProcess.c
"SubProcess.xs", line 15.28: 1506-280 (W) Function argument assignment between types
"struct _PerlIO**" and "struct {...}*" is not allowed.
"SubProcess.xs", line 19.18: 1506-068 (W) Operation between types "struct {...}*" and
"struct _PerlIO**" is not allowed.
"SubProcess.xs", line 36.26: 1506-068 (W) Operation between types "struct _PerlIO**"
and "struct {...}*" is not allowed.
"SubProcess.xs", line 40.26: 1506-068 (W) Operation between types "struct _PerlIO**"
and "struct {...}*" is not allowed.
"SubProcess.xs", line 137.25: 1506-280 (W) Function argument assignment between types
"struct {...}*" and "struct _PerlIO**" is not allowed.
Running Mkbootstrap for Apache::SubProcess ()
chmod 644 SubProcess.bs
rm -f blib/arch/auto/Apache/SubProcess/SubProcess.so
LD_RUN_PATH="" ld -bhalt:4 -bM:SRE
-bI:/opt/hexaflux/perl/lib/5.8.2/aix/CORE/perl.exp -bE:SubProcess.exp -bnoentry -lc
SubProcess.o -o blib/arch/auto/Apache/SubProcess/SubProcess.so
ld: 0711-317 ERROR: Undefined symbol: .sv2request_rec
ld: 0711-317 ERROR: Undefined symbol: .ap_cleanup_for_exec
ld: 0711-317 ERROR: Undefined symbol: .ap_pfclose
ld: 0711-317 ERROR: Undefined symbol: .ap_create_environment
ld: 0711-317 ERROR: Undefined symbol: .ap_error_log2stderr
ld: 0711-317 ERROR: Undefined symbol: .ap_call_exec
ld: 0711-317 ERROR: Undefined symbol: .ap_log_error
ld: 0711-317 ERROR: Undefined symbol: .ap_pcalloc
ld: 0711-317 ERROR: Undefined symbol: .ap_spawn_child
ld: 0711-317 ERROR: Undefined symbol: .perl_bless_request_rec
ld: 0711-317 ERROR: Undefined symbol: .perl_eval_ok
ld: 0711-317 ERROR: Undefined symbol: .mod_perl_gensym
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: The error code from the last command is 8.
Stop.
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html