help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling on Solaris 8 - Undefined first reference


From: Michael Chan
Subject: Compiling on Solaris 8 - Undefined first reference
Date: Sun, 10 Jun 2007 23:06:41 +0800

Hi,

I'm having trouble compiling 2.9.9 on Solaris 8, using gcc 3.3.2.
Before I had problems elsewhere with the "-rdynamic" flag, so I
removed it from Makeconf. But now, I'm getting the following error:

g++  -I. -I.. -I../liboctave -I../src -I../libcruft/misc
-DHAVE_CONFIG_H  -Wall -W -Wshadow -Wold-style-cast   \
-L..  -fPIC  -o octave \
main.o  \
-L../liboctave -L../libcruft -L../src -R /uxloan/csmkchan//lib/octave-2.9.9 \
-loctinterp -loctave  -lcruft    \
-ll    \
   \
-lncurses -ldl -lz -lm  -L/usr/ccs/lib -L/usr/lib
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/../../../../sparc-sun-solaris2.8/lib
-L/usr/ccs/bin -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/../../..
-lz -lfrtbegin -lg2c -lm
Undefined                       first referenced
symbol                             in file
gzungetc                            ../src/liboctinterp.so
ld: fatal: Symbol referencing errors. No output written to octave
collect2: ld returned 1 exit status
make[2]: *** [octave] Error 1
make[2]: Leaving directory `/uxloan/csmkchan/octave-2.9.9/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/uxloan/csmkchan/octave-2.9.9'
make: *** [all] Error 2

Please help.

Thanks,
Michael


reply via email to

[Prev in Thread] Current Thread [Next in Thread]