Before I sent my original message, I tracked down all the symbols, and their
object/library files. I added several ".o"'s and ".a"'s from the apache and
mod_perl source trees, a couple from "/usr/lib/perl" and a couple from
/usr/lib via '-lxxx'. After I got a clean link (there were some "duplicate
symbol" errors) I had the same problem (seg. faults) as I had with the
'-berok' flag.
-----Original Message-----
From: Shane Nay [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 13, 2000 8:22 PM
To: Greg Estep
Cc: [EMAIL PROTECTED]
Subject: RE: non-DSO mod_perl, Embperl, and AIX not working
Those are internal functions to apache, like helper functions. Your
probably
missing an object file in your ld command, I don't have it open right now,
but
just run nm blah.o|grep ap_palloc on all the object files running around in
the
apache directory, and you'll find it. (Notice that most of these functions
"look" similar to C calls, that's because they sort of are. There like
cross
platform wrapper functions for apache, pretty cool huh?) Oh, yes and nm's
output will tell you two things, where the function is "used", and where its
"defined". BTW: I think you're looking for libap.a, I just poked through
that
archive of object files, and it contained the symbols you're looking for. I
don't know if AIX supports linking in archive files, but if not just link in
by
hand all the object files in that directory. (apache_1.blah/src/ap/*.o)
If nm shows the symbols in place, I would say it's probably the AIX linkers
fault. I don't know much about AIX specifically but I have heard lots of
people complain about their linker :-(.
Thanks,
Shane.