[mapserver-users] PROJ.4 compile errors

Puneet Kishor pkishor at GeoAnalytics.com
Wed Feb 27 11:50:51 EST 2002


Frank, others,

yesterday I tried to compile PROJ.4 on my MacOS X iBook using gcc... I was
not successful. I am reproducing the few lines of seemingly error messages
from the terminal buffer... any guidance would be much appreciated.

tia.

pk
======================

nad2bin.c
nad2bin.c: In function `main':
nad2bin.c:13: warning: return type of `main' is not `int'
/bin/sh ../libtool --mode=link cc  -g -O2  -o nad2bin  nad2bin.o libproj.la
-lm 
cc -g -O2 -o nad2bin nad2bin.o .libs/libproj.a -lm -lm
cc -DHAVE_CONFIG_H -I. -I. -I. -DPROJ_LIB=\"/usr/local/share/proj\"    -g
-O2 -c geod.c
/usr/include/ctype.h:128: syntax error, found `.'
/usr/include/ctype.h:128: illegal function definition, found `)'
/usr/include/ctype.h:130: illegal method selector, found `1'
/usr/include/ctype.h:131: illegal method definition, missing `{' after `)'
/usr/include/ctype.h:135: syntax error, found `.'
/usr/include/ctype.h:135: illegal function definition, found `)'
/usr/include/ctype.h:137: illegal method selector, found `1'
/usr/include/ctype.h:138: illegal method definition, missing `{' after `)'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic
mode
In file included from geod.c:9:
/usr/include/ctype.h:128: parse error before `.'
/usr/include/ctype.h: In function `__istype':
/usr/include/ctype.h:130: `c' undeclared (first use in this function)
/usr/include/ctype.h:130: (Each undeclared identifier is reported only once
/usr/include/ctype.h:130: for each function it appears in.)
/usr/include/ctype.h: At top level:
/usr/include/ctype.h:135: parse error before `.'
/usr/include/ctype.h: In function `__isctype':
/usr/include/ctype.h:137: `c' undeclared (first use in this function)
geod.c: In function `main':
geod.c:133: warning: return type of `main' is not `int'
make[1]: *** [geod.o] Error 1
make: *** [all-recursive] Error 1



More information about the mapserver-users mailing list