[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compile error 1.4.1
From: |
Matthew Aylward EG201 G219 SL CKR |
Subject: |
Compile error 1.4.1 |
Date: |
Tue, 23 Feb 1999 18:03:50 +0800 (WST) |
Greetings to all,
I am in the process of upgrading to from swarm1.3.1 to swarm 1.4.1 on linux
2.2.1 (SuSE5.1)
I have upgraded to gcc2.8.1, tcl8.0, tk8.0 and blt2.4g
and reinstalled libz, libpng, libffcal and tclobjc-1.4
to try to beat this with no luck.
The error occurs in swarm-1.4.1/src/tkobjc/internal.m
this is the last bit of the compile messages
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../collections -I./../defobj
-I./../objectbase -I.. -I./.. -I./../gui -I./../misc -I./../activity
-I./../tclobjc -I/usr/local/include -I/usr/local/include -D_GNU_SOURCE -g
-O2 -Wall -Wno-import -Wno-protocol -Werror -I/usr/X11R6/include
-Wno-implicit-int -c -fPIC -DPIC internal.m
cc1obj: warnings being treated as errors
internal.m: In function `tkobjc_pixmap_save':
internal.m:1606: warning: implicit declaration of function `png_set_sRGB'
make[1]: *** [internal.lo] Error 1
make[1]: Leaving directory `/spare/src/swarm/swarm-1.4.1/src/tkobjc'
make: *** [all-recursive] Error 1
In desparation I turned off -Werror and the compilation went all the way
to completion. But of course if I try to compile one of my models I get
the error:-
gcc -g -O2 -fno-inline -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib
-L/usr/X11R6/lib -L/usr/local/lib -L/usr/local/lib -L/usr/lib
-L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib -o focalSG main.o
GrassAgent.o GrassSpace.o ModelSwarm.o ObserverSwarm.o Shuffler.o
Focals.o -lspace -lspace -lanalysis -lsimtools -lsimtoolsgui -ltkobjc
-ltclobjc -lactivity -lrandom -lobjectbase -lcollections -ldefobj -lmisc
-lBLT -ltk8.0 -ltcl8.0 -lXpm -lpng -lhdf5 -lz -lffi -lX11 -lm -lobjc -ldl
-Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
-Wl,/usr/X11R6/lib -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath
-Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/usr/lib
/usr/local/lib/libtkobjc.so: undefined reference to `png_set_sRGB'
make: *** [focalSG] Error 1
Does anyone have a suggestion for what move to make next??
Thanks in advance,
Cheers,
Matt
Matt Aylward: <address@hidden> or <address@hidden>
Linux Lover - OS for the people by the people.
******~~~~~May the Swarm be with you.~~~~~******
Depts of Geography (GIS) and Botany (Marine), UWA
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.