On 12 Oct 2004 Tim Jenness wrote:
> Brad manually removed all the -lgcc hacks from the shared library creation
> part of the makefile to get this working (the lgcc hacks are required when
> building an executable not shared library).
In fact, here's the brief list of notes from the last time I built:
- build libraries/pcs as static libraries to get around COMMON block
definitions
- remove "-L/usr/lib -lgcc" from LIBS lines in Makefiles in libraries/gks to
prevent multiple symbol definition warnings
- add "-Wl,-single_module" before $(AM_CFLAGS) to LINK in
libraries/gks/Makefile
- remove "-L/usr/lib -lgcc" from LIBS in libraries/nbs/Makefile
- add "-Wl,-single_module" before $(AM_CFLAGS) to LINK in
thirdparty/caltech/pgplot/Makefile
- remove "-L/usr/lib -lgcc" from LIBS in Makefiles in thirdparty/tclsys
- add "-Wl,-single_module" before $(AM_CFLAGS) to LINK in
applications/startcl
So Al, you'll get the same errors for NBS and TCLSYS, it looks like. These
notes are from about a month ago, so some of these things might have been
fixed since.
Brad.
|