Mailing List Archive

misc bits and pieces
Trying to build on Solaris 2.6,


Seems I MUST use gmake or things blow up all over the place.

Trying to use Sun's cc and things go wrong (main undefined when
trying to load tiger). The problems a guess are due to gcc flags
being passed to cc.

Under gcc everything seems to work till

gcc -g -Wl,-export-dynamic -o gpg g10.o build-packet.o compress.o free-packet.o
getkey.o delkey.o pkclist.o skclist.o ringedit.o kbnode.o mainproc.o armor.o md
filter.o textfilter.o cipher.o misc.o openfile.o keyid.o trustdb.o tdbio.o pref.
o parse-packet.o passphrase.o pubkey-enc.o seckey-cert.o seskey.o import.o expor
t.o comment.o status.o sign.o plaintext.o encr-data.o encode.o revoke.o keylist.
o sig-check.o signal.o helptext.o verify.o decrypt.o keyedit.o keygen.o ../ciphe
r/libcipher.a ../mpi/libmpi.a ../util/libutil.a ../zlib/libzlib.a ../intl/libint
l.a -ldl -lgdbm
ld: fatal: entry point symbol `xport-dynamic' is undefined
gmake[2]: *** [gpg] Error 1
gmake[2]: Leaving directory `/home/agent57/steve/gpg/gnupg-0.9.0/g10'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/agent57/steve/gpg/gnupg-0.9.0'
gmake: *** [all-recursive-am] Error 2

Steve



--
NetTek Ltd tel +44-171 483 1169 fax +44-181 444 6103
Flat 2, 43 Howitt Road, Belsize Park, London NW3 4LU
Epage steve-pager@gbnet.net [body of text only]
Re: misc bits and pieces [ In reply to ]
Steve Kennedy <steve@gbnet.net> writes:

> Seems I MUST use gmake or things blow up all over the place.

Hmmm, afaik automake creates pretty standard Makefile; what's going
wrong?

> Trying to use Sun's cc and things go wrong (main undefined when
> trying to load tiger). The problems a guess are due to gcc flags

You don't really need tiger :-)

> ld: fatal: entry point symbol `xport-dynamic' is undefined

Can you lookup in your ld manual the correct options for creating
objects which are runtime linked by dlopen and the option correcpondig
to --export-dynamic (make all symbols in a programm visible to the dl)?

tia,

Werner