On Dec 4, 2009, at 8:09 PM, Shaun McDonald wrote:

> Hi,
> 
> Heh, earlier today I tried to build Markaartor on Mac OS X 10.6, but is 
> failed with the following error message. I'm using the LGPL SDK from 
> http://qt.nokia.com/downloads
> 
>  "_inflateEnd", referenced from:
>      gzipDecode(QByteArray const&) in DownloadOSM.o
>      gzipDecode(QByteArray const&) in DownloadOSM.o
>      gzipDecode(QByteArray const&) in DownloadOSM.o
>      gzipDecode(QByteArray const&) in DownloadOSM.o
>  "_inflateInit2_", referenced from:
>      gzipDecode(QByteArray const&) in DownloadOSM.o
>  "_inflate", referenced from:
>      gzipDecode(QByteArray const&) in DownloadOSM.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[1]: *** [../binaries/bin/merkaartor.app/Contents/MacOS/merkaartor] Error 
> 1
> make: *** [sub-src-make_default] Error 2
> shaun-mcdonalds-imac:merkaartor-0.14 shaunmcdonald$ 

If I have paid more attention I would have noticed that this is a problem 
related with not linking to libz and has nothing to do with the default build 
arhitecture ;( The solution is to edit src/Custom.pri and add -lz so it links 
with libz, (add the following on a separate line LIBS+=-lz) ;) Can someone add 
this to the appropriate place eg. in src.pro somewhere.

Best regards
_______________________________________________
Merkaartor mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/merkaartor

Reply via email to