From: SourceForge.net <no...@so...> - 2008-05-18 08:42:16
|
Bugs item #1966375, was opened at 2008-05-18 08:34 Message generated for change (Comment added) made by vvv2 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1966375&group_id=1355 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Vladimir Volovich (vvv2) Assigned to: Nobody/Anonymous (nobody) Summary: tgamma from gnulib may be needed on solaris Initial Comment: some solaris versions (and other OSes), at least 8 and 9, do not contain the tgamma function: http://www.gnu.org/software/gnulib/manual/gnulib.html#tgamma so i'm getting an error like this when building clist 2.45 on solaris 8 using gcc 3.4.5: gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -fno-schedule-insns -fno-gcse -falign-functions=4 -DUNIX_BINARY_DISTRIB -DUNICODE -DDYNAMIC_FFI -DNO_READLINE -I. -x none modules.o regexi.o regex.o calls.o -lm -lnsl -lsocket gettext.o lisp.a -lintl -lncurses -ldl -lnsl -lsocket /opt/home/vvv/src/clisp/clisp-tools/lib/libavcall.a /opt/home/vvv/src/clisp/clisp-tools/lib/libcallback.a -L/opt/home/vvv/src/clisp/clisp-tools/lib -lsigsegv -lc -o lisp.run Undefined first referenced symbol in file tgamma calls.o ld: fatal: Symbol referencing errors. No output written to lisp.run collect2: ld returned 1 exit status ./clisp-link: failed in /opt/home/vvv/src/clisp/clisp-build/base Please add tgamma (and a configure check) to your gllib. ---------------------------------------------------------------------- >Comment By: Vladimir Volovich (vvv2) Date: 2008-05-18 08:42 Message: Logged In: YES user_id=1804953 Originator: YES in fact, gnulib doesn't include tgamma. But, on solaris, there is double lgamma(double x); which could/should be used instead of double tgamma(double x); (i.e. configure should check if tgamma is available, and if not, check if lgamma is available, and #define tgamma lgamma in this case) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1966375&group_id=1355 |