> ld: Undefined symbols:
> _ftclos_
> _ftgiou_
> _ftopen_
> make[1]: *** [atools_mon] Error 1
>
> CGT: This seems to be because the order in which cfitsio appears in the link
> chain is not correct. I hard-wired the Makefile and Makefile.in to
> put the LDADD environment variable at the end of the link chain
>
> atools_mon_LDADD = $(LDADD) `$(srcdir)/atools_link_adam`
>
> =>
>
> atools_mon_LDADD = $(LDADD) `$(srcdir)/atools_link_adam` $(LDADD)
>
> and did
>
> setenv LDADD /star-cvs/lib/libcfitsio.a
>
> and then did a make by hand in the directory, which got it to build
> correctly.
>
>
> The correct solution would probably be to edit atools_link_adam
> and insert an extra `cfitsio_link` there, rather than in the Makefile.
I've added a cfitsio dependency to the ATL library.
David
|