http://dev.starlink.ac.uk/bugzilla/show_bug.cgi?id=39
Summary: img_link_adam misses out needed libraries
Product: IMG
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: IMG
AssignedTo: [log in to unmask]
ReportedBy: [log in to unmask]
QAContact: [log in to unmask]
Hi all,
I was trying to compile the WASP pipeline with my newly built 64bit copy of
Starlink CVS when I hit a problem:
g77 swhdcorr.o -O2 -fno-second-underscore -march=k8 -mcpu=k8 -I../
-I/star64/include -ffortran-bounds-check -o swhdcorr waspanclib.a
../Wasp_astrometry/wasplib.a -L/star64/lib `cfitsio_link` `img_link_adam`
`par_link_adam` `sla_link` `chr_link`
/star64/lib/libimg_adam.so: undefined reference to `dat_cancl_'
/star64/lib/libndf_adam.so: undefined reference to `task_get_name_'
collect2: ld returned 1 exit status
I did a nm and a grep on all the .so's in /star64/lib and found the missing
functions in libhdspar_adam.so and libtask_adam.so respectively. When I added
these to the end of my LIBS line it gave the following additional error:
/star64/lib/libtask_adam.so: undefined reference to `dtask_getpath_'
Adding '-ldtask_adam' to the LIBS as well finally got it to build. It seems
'img_link_adam' is not emitting all the libraries it needs (or we're using the
wrong link script...)
Cheers,
Tim
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
|