[Mapserver-users] Shp2Img gmake Error - Adding info - New Error

qoelheX qoelhex at cttmar.univali.br
Wed May 19 18:40:11 EDT 2004


FABIO COELHO escreveu:

>Hi dear Friends
>
>I'm trying to compile mapserver on HP UX 11.00, and after I had compiled all
>dependencies for my desired features, I got this error, at middle of compilation:
>
>gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H
>-DUSE_WMS_SVR      -DUSE_TIFF  -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP
>-DUSE_GD_FT -DUSE_PDF       -DUSE_THREAD -I/opt/univali/include
>-I/usr/desen/cunivali/Tar/PDFlib-Lite-5.0.3-Unix-src/libs/pdflib
>-I/opt/univali/include -I/opt/univali/include             shp2img.o  -L. -lmap
>-L/opt/univali/lib -lgd  -L/opt/univali/lib -Wl,+b -Wl,/opt/univali/lib
>-lfreetype -lpng -L/opt/univali/lib -lz  
>-L/usr/desen/cunivali/Tar/PDFlib-Lite-5.0.3-Unix-src/libs/pdflib/lib -lpdf
>-L/opt/univali/lib -ltiff  -L/opt/univali/lib -Wl,+b -Wl,/opt/univali/lib
>-lfreetype -lpng -L/opt/univali/lib -lz   -L/opt/univali/lib -lproj  /usr -lm  
>-o shp2img
>  
>
I noted at this point that there are a "/usr" abandoned on the line! So, 
I copy the line and try to compile without "/usr". Sure, I had to 
compile bash, 'cause the HP UX shell have a 255 caracters limit in the 
command line!

Well, did not compile, and I get a new error:

bash-2.05$ g++ -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ 
-DUSE_PROJ_API_H -DUSE_WMS_SVR      -DUSE_TIFF  -DUSE_GD_PNG 
-DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_PDF       -DUSE_THREAD 
-I/opt/univali/include 
-I/usr/desen/cunivali/Tar/PDFlib-Lite-5.0.3-Unix-src/libs/pdflib 
-I/opt/univali/include -I/opt/univali/include             shp2img.o  -L. 
-lmap -L/opt/univali/lib -lgd  -L/opt/univali/lib -Wl,+b 
-Wl,/opt/univali/lib -lfreetype -lpng -L/opt/univali/lib -lz   
-L/usr/desen/cunivali/Tar/PDFlib-Lite-5.0.3-Unix-src/libs/pdflib/lib 
-lpdf -L/opt/univali/lib -ltiff  -L/opt/univali/lib -Wl,+b 
-Wl,/opt/univali/lib -lfreetype -lpng -L/opt/univali/lib -lz   
-L/opt/univali/lib -lproj    -L/usr -lm   -o shp2img
/usr/ccs/bin/ld: Unsatisfied symbols:
   msReleaseLock (first referenced in ./libmap.a(mapfile.o)) (code)
   msGetThreadId (first referenced in ./libmap.a(maperror.o)) (code)
   msAcquireLock (first referenced in ./libmap.a(mapfile.o)) (code)
collect2: ld returned 1 exit status

And I try to add a -L in front of "/usr", but the same error occur.

So, I'll go to search this new error, if someone knows about, please, 
tell me :)

[]'s

by qoelheX

PS: About my first email

>What I can do?
>
>  
>
I can, I must improve my english ! !!  huahuahuahuahua :D




More information about the mapserver-users mailing list