|
From: <jc...@fe...> - 2003-12-04 18:29:26
|
On Thursday 04 December 2003 17:54, James B. Hiller wrote:
| Hi.
|
| Am trying to compile subject version, and am getting stuck with:
|
| gcc -g -O2 -mieee-fp -o .libs/plserver plserver.o
| ../tcl/.libs/libplplottcltkd.so -L/usr/local/lib -litcl3.2 -litk3.2
| -ltk8.4
| /usr/local/packages/incoming/plplot-5.2.1/src/.libs/libplplotd.so
| /usr/local/lib/libfreetype.so -lz
| /usr/local/packages/incoming/plplot-5.2.1/lib/csa/.libs/libcsa.so -lm
| -ldl
| /usr/local/packages/incoming/plplot-5.2.1/bindings/tcl/.libs/libtclma
|trixd.so -ltcl8.4 -Wl,--rpath -Wl,/usr/local/lib
| /usr/local/packages/incoming/plplot-5.2.1/lib/csa/.libs/libcsa.so:
| undefined reference to `errno' collect2: ld returned 1 exit status
Hi,
This is a known problem in some architectures.
You must add
#include <errno.h>
to lib/csa/csa.c
Thanks
Joao
| make[3]: *** [plserver] Error 1
| make[3]: Leaving directory
| `/usr/local/packages/incoming/plplot-5.2.1/bindings/tk' make[2]: ***
| [all-recursive] Error 1
| make[2]: Leaving directory
| `/usr/local/packages/incoming/plplot-5.2.1/bindings' make[1]: ***
| [all-recursive] Error 1
| make[1]: Leaving directory
| `/usr/local/packages/incoming/plplot-5.2.1' make: *** [all] Error 2
|
| From where it was dying, I thought maybe something was wrong with my
| tcl or tk install, so I did explicit --disable-tcl and --disable-tk
| in the configuration, and the compilation got past this area, but
| then died with the same error during compilation of the csa library.
|
| The last thing I tried was simply a plain ./configure, to see if
| anything else would get rid of it, and that died as well.
|
| Am using linux-2.4.22, gcc 3.2.3, and glibc-2.3.2.
|
| Any insight anyone could provide would be most appreciated.
|
| thx,
| jbh
|
|
| -------------------------------------------------------
| This SF.net email is sponsored by: SF.net Giveback Program.
| Does SourceForge.net help you be more productive? Does it
| help you create better code? SHARE THE LOVE, and help us help
| YOU! Click Here: http://sourceforge.net/donate/
| _______________________________________________
| Plplot-general mailing list
| Plp...@li...
| https://lists.sourceforge.net/lists/listinfo/plplot-general
|