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: John W. Eaton
Subject: Compiling on Solaris 8 - Undefined first reference
Date: Thu, 14 Jun 2007 01:18:26 -0400

On 10-Jun-2007, Michael Chan wrote:

| 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

I believe gzungetc is part of zlib.  Maybe you don't have a version of
zlib that is current, or there is some other problem with it?

BTW, 2.9.9 is old now.  The recommended version is 2.9.12.

jwe


reply via email to

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