Well, I figured this one out, actually -- after roughly eight hours of
reading the entire Internet, I discovered that -Wl,-E is required as a
ld flag in order to export all the symbols in the main program so that
nssock.so can use them.  ... Is this obsolete 2.5.1 behavior that
Solaris 2.6 has dropped?

BUT now that nssock and everybody loads fine, the server gets as far as
the first idle, upon which it dies ignominiously, which event my good
friend truss thoughtfully records:
24485:      Incurred fault #6, FLTBOUNDS  %pc = 0x00AA18A8
24485:        siginfo: SIGSEGV SEGV_MAPERR addr=0x00AA18A8
24485:      Received signal #11, SIGSEGV [caught]
24485:        siginfo: SIGSEGV SEGV_MAPERR addr=0x00AA18A8
24485:  sigprocmask(SIG_SETMASK, 0xEF6C36E4, 0x00000000) = 0
24485:  sigaction(SIGSEGV, 0xEFFFF140, 0x00000000)      = 0
24485:  setcontext(0xEFFFF280)
24485:      Incurred fault #6, FLTBOUNDS  %pc = 0x00AA18A8
24485:        siginfo: SIGSEGV SEGV_MAPERR addr=0x00AA18A8
24485:      Received signal #11, SIGSEGV [default]
24485:        siginfo: SIGSEGV SEGV_MAPERR addr=0x00AA18A8

Now -- what I can't figure out -- according to the project home, the AOL
team uses Solaris 2.6 as a test environment.  The burning question
uppermost in my mind (save one) is HOW DIFFERENT COULD IT BE?!?!?!?
 (The burning question *truly* uppermost in my mind is of course "how
can I extract myself from this situation" and I would greatly appreciate
any help at all.)

Michael

Michael Roberts wrote:

> I've compiled AS3.4.2 on Solaris 2.5.1 successfully, but upon attempting
> to start it, I'm getting a relocation error:
>
> Warning: modload: failed to load '/usr/local/aolserver/bin/nssock.so':
> 'ld.so.1: bin/nsd76: fatal: relocation error: symbol not found:
> Ns_RegisterDriver: referenced in /usr/local/aolserver/bin/nssock.so'

Reply via email to