I asked a Solaris build guru, and he replied: > > LD_RUN_PATH="" gcc -mcpu=v9 -m64 -L/usr/local/lib -L/usr/lib/sparcv9 C.o > > -o ../../../lib/auto/B/C/C.so > > Undefined first referenced > [etc.] > > There's a missing '-G' in there. That's supposed to be in lddlflags. > hints/solaris_2.sh was supposed to add that flag -- it's what's used > to tell ld that it's building a shared library, not a full executable > file. > > Now why the hints file missed it, I don't know, but that's the > problem.
-- Jarkko Hietaniemi <[EMAIL PROTECTED]> http://www.iki.fi/jhi/ "There is this special biologist word we use for 'stable'. It is 'dead'." -- Jack Cohen