On 11/4/15 9:04 AM, Greg Wooledge wrote: > On Wed, Nov 04, 2015 at 12:09:56AM -0500, Mike Frysinger wrote: >> On 03 Nov 2015 18:25, Chet Ramey wrote:
>>> It looks like shared objects loaded by dlopen don't have access to the >>> loading program's symbols. That might be an HP-specific option to dlopen. >>> It might not, in which case you're out of luck. >> >> FWIW, the option on linux is -rdynamic. guess you'll (Greg) want to find >> the HP-UX equivalent to that. see the configure.ac block for details. >> -mike > > The linker option in HP-UX 11.11 is -E . For gcc to pass it along, > the correct option is -Wl,-E . I'm not sure how to do it if you're > using the pay-for HP C compiler. Change the hpux11*-*gcc* stanza in support/shobj-conf to specify the right options. I'm guessing you'll need to change the assignment to SHOBJ_LDFLAGS. Once you have something that works, send me diffs and I'll apply them. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/