BTW - Was just reading support... sorry I didn't include my official perl snippets.
Looks like you have used the same gcc version to compile apache/perl/mod_perl, which is good.
mod_perl uses whatever flags perl has used to compile itself, you can see below that those flags in the output of perl -V
Compiler:
cc='gcc', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-DUSE_NATIVE_DLOPEN
-fno-strict-aliasing -I/usr/local/include -D_LARGE_FILES',
optimize='-O',
cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN
-fno-stric
t-aliasing -I/usr/local/include -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-DUSE_NATIVE
_DLOPEN -fno-strict-aliasing -I/usr/local/include -D_LARGE_FILES'
ccversion='', gccversion='3.3.3', gccosandvers='aix5.2.0.0'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -Wl,-brtl -L/usr/local/lib -Wl,-b32'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lbind -lnsl -ldbm -ldl -lld -lm -lcrypt -lc -lbsd
perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lc -lbsd
libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Xlinker
-bE:/opt/omni/software/
external/perl-5.8.3/lib/5.8.3/aix/CORE/perl.exp
-bE:/opt/omni/software/external/perl-5.8.3/
lib/5.8.3/aix/CORE/perl.exp'
cccdlflags=' ', lddlflags=' -Wl,-bhalt:4 -Wl,-bM:SRE -Wl,-bI:$(PERL_INC)/perl.exp
-Wl,
-bE:$(BASEEXT).exp -Wl,-bnoentry -lc -L/usr/local/lib'
[...]
======== Error Output for sanity check ========
cd ..; gcc -DAIX=520 -U__STR__ -DAIX_BIND_PROCESSOR -DMOD_PERL -DUSE_PE
RL_SSI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -fno-s
trict-aliasing -I/usr/local/include -D_LARGE_FILES -DUSE_HSREGEX -DUSE_EXPAT -I.
/lib/expat-lite -DNO_DL_NEEDED -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -D
USE_NATIVE_DLOPEN -fno-strict-aliasing -I/usr/local/include -D_LARGE_FILES -DMOD
_PERL -I. -I/opt/omni/software/external/perl-5.8.3/lib/5.8.3/aix/CORE -lm -lpth
read -o helpers/dummy helpers/dummy.c `perl /omnitest/ext-tools/sources/src/mo
d_perl-1.29/src/modules/perl/ldopts ` -Xlinker -bE:/opt/omni/software/external/
perl-5.8.3/lib/5.8.3/aix/CORE/perl.exp -bE:/opt/omni/software/external/perl-5.8.
3/lib/5.8.3/aix/CORE/perl.exp -Wl,-brtl -L/usr/local/lib -Wl,-b32 /opt/omni/sof
tware/external/perl-5.8.3/lib/5.8.3/aix/auto/DynaLoader/DynaLo
ader.a -L/opt/omni
/software/external/perl-5.8.3/lib/5.8.3/aix/CORE -lperl -lbind -lnsl -ldl -lld -
lm -lcrypt -lc -lbsd -Xlinker -bE:./modules/perl/mod_perl.exp
gcc: `-b' must come at the start of the command line
make: The error code from the last command is 1.
or do you see some extra flags that were added?
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html
