Peter,
> you need to use the libtool -static directive, add this to the _LDFLAGS of
> the monolith in Makefile.am, of if you're using alink just put that on the
> command-line.
Thanks - that worked (after making some changes to the library order in
kaplibs_link and kaplibs_link_adam).
I notice that valgrind is throwing up lots of "Conditional jump or move
depends on uninitialised value(s)" within hds routines. E.g.
==29268== Conditional jump or move depends on uninitialised value(s)
==29268== at 0x8664145: cnfFptr (cnfMem.c:247)
==29268== by 0x8635F0D: dat_map_ (fortran_interface.c:749)
==29268== Conditional jump or move depends on uninitialised value(s)
==29268== at 0x864D6E6: rec_create_record (rec_create_record.c:107)
==29268== by 0x8645F6D: datNew (datnew.c:114)
etc. You can see this if you do (for instance):
% valgrind /stardev/cvs/star/bin/kappa/wcsalign in=$KAPPA_DIR/m31 out=fred accept
Are these anything to worry about? I'm currently trying to track down why
my new wcsmosaic app works if I include some diagnostic write statements,
but doesn't work as soon as I take them out :-(
David
|