[FGS] Error when compiling Shapelib contrib folder

Reyes, Jr., Buenaventura L. reyesb at philhealth.gov.ph
Wed Jan 20 19:28:40 EST 2010


Hello,

I am using Red Hat Linux Ent. 5 and is compiling /home/shapelib-1.2.10/contrib folder. I am encoutering an error which I could not resolve. I am not familiar in using Linux and C, but below is the error that I received.

/home/shapelib-1.2.10/contrib$ make
cc -g -I.. -DPROJ4 -D_LITTLE_ENDIAN -DDEBUG -DDEBUG2  shpproj.c  ../shpopen.o ../dbfopen.o  ./shpgeo.o -lm -lproj -lm -lproj  -o shpproj
shpproj.c: In function ‘main’:
shpproj.c:121: warning: incompatible implicit declaration of built-in function ‘strcpy’
shpproj.c:139: warning: incompatible implicit declaration of built-in function ‘strlen’
shpproj.c:140: warning: incompatible implicit declaration of built-in function ‘strcpy’
shpproj.c:152: warning: incompatible implicit declaration of built-in function ‘strlen’
shpproj.c:156: warning: incompatible implicit declaration of built-in function ‘strcpy’
shpproj.c:168: warning: incompatible implicit declaration of built-in function ‘strlen’
shpproj.c:169: warning: incompatible implicit declaration of built-in function ‘strcpy’
shpproj.c:180: warning: incompatible implicit declaration of built-in function ‘strlen’
shpproj.c:184: warning: incompatible implicit declaration of built-in function ‘strcpy’
shpproj.c:227: warning: incompatible implicit declaration of built-in function ‘memcpy’
/usr/bin/ld: cannot find -lproj
collect2: ld returned 1 exit status
make: *** [shpproj] Error 1

I am using FGS MapServer 5.4.0, any help would be appreciated or can you please direct me to a link where I can resolve this issue.

Thanks,
Buenaventura L. Reyes, Jr.
Philippine Health Insurance Corporation
Manila, Philippines

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/foss-gis-suite/attachments/20100121/e54c25c0/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2950 bytes
Desc: image001.jpg
Url : http://lists.maptools.org/pipermail/foss-gis-suite/attachments/20100121/e54c25c0/attachment.jpg 


More information about the Foss-gis-suite mailing list