[Qgis-developer] linker error [undefined reference] while compiling qgis-1.5.0

ameet chaudhari ameet2k99 at yahoo.com
Thu Oct 21 08:52:25 EDT 2010


The compile process of qgis seems very painful. After encountering and solving numerous errors during Makefiles generation [CMake], now hit the block at compiling. Just solved an issue, and then linker errors show up!:

undefined reference to _imp_...
ld returned 1 exit status

This error is for each of _imp_*. So I did the following 2 steps:
make clean
make LDFLAGS="$LDFLAGS --enable-auto-import"

Still same errors occur. What is the workaround? Do I have to again run CMake to generate Makefiles with proper LDFLAGS set?

Thanks in advance

Aside: 
Also, qgis1.5 or even 1.0 has many compiling issues. The svn trunk has updated files but qgis-1.5 source download does not! And to make it worse, I'm not able to checkout latest from svn trunk because of some proxy server issues resulting in my svn client's "could not connect to server 'svn.osgeo.org" ! :(

Anyways Regards,
Ameet




More information about the Qgis-developer mailing list