[GRASS5] Re: Fwd: Re: [GRASSLIST:1204] Compilation errors

Paul Kelly paul-grass at stjohnspoint.co.uk
Fri Sep 12 15:10:32 EDT 2003


(Summary for people who can't read the binhex encoded file):
gcc
-L/Users/wbdickinson/unix/grass502source/grass5.0.2/src/libes/LIB.powerpc-apple-darwin6.6
-L/sw/lib -o
/Users/wbdickinson/unix/grass502source/grass5.0.2/dist.powerpc-apple-darwin6.6/etc/bin/cmd/r.sun
OBJ.powerpc-apple-darwin6.6/main.o -lgis  -lintl -lproj -llinkm  -lz
ld: Undefined symbols:
_pj_do_proj
_pj_get_kv
_pj_zero_proj

This looks like the wrong proj library is being used. Either delete the
external PROJ or (preferably) update to the CVS HEAD where the internal
GRASS proj libary has already been renamed to gproj.

gcc -I/Users/wbdickinson/unix/grass502source/grass5.0.2/src/include -g -O2
-I/sw/include -I/usr/X11R6/include
-I/Users/wbdickinson/unix/grass502source/grass5.0.2/src/libes/ogsf
-D_NO_PROTO -D__STDC__     -c nvizAppInit.c -o
OBJ.powerpc-apple-darwin6.6/nvizAppInit.o
In file included from nvizAppInit.c:9:
interface.h:257: conflicting types for `Tk_SetAppName'
/sw/include/tkDecls.h:573: previous declaration of `Tk_SetAppName'

This looks like a Tcl/Tk version problem. Are you using Tcl/Tk 8.4? If so,
the fix is already in CVS HEAD and also 5.0.3.

Paul




More information about the grass-dev mailing list