[Qgis-user] Compile using Python 2.7

Andrea Peri 2007 aperi2007 at gmail.com
Mon Aug 9 09:51:29 PDT 2010


Hi,

I'm try-ing to compile the qgis system.
using the Ming/Msys compiler under windows 7.

To do this I follow the hints available to this link:
http://www.qgis.org/wiki/Installation_Guide

But when I retrive the QT And python I see was available some more new 
version (qt 4.6.3 and python 2.7).
And there was not more available the original version (qt 4.4) suggested 
in the manual

So I decide to try using this new versions.

After this, I download SIP and PyQT4.

During the compilation of SIP I see this errors:

main.o:main.c:(.text+0x65): undefined reference to `_impure_ptr'
main.o:main.c:(.text+0xa9): undefined reference to `_impure_ptr'
main.o:main.c:(.text+0xe4): undefined reference to `_impure_ptr'
main.o:main.c:(.text+0x121): undefined reference to `_impure_ptr'
main.o:main.c:(.text+0x27c): undefined reference to `_ctype_'
main.o:main.c:(.text+0x46f): undefined reference to `_ctype_'
main.o:main.c:(.text+0x489): undefined reference to `_ctype_'
main.o:main.c:(.text+0x537): undefined reference to `_impure_ptr'
transform.o:transform.c:(.text+0x351a): undefined reference to `_impure_ptr'
transform.o:transform.c:(.text+0x3568): undefined reference to `_impure_ptr'
transform.o:transform.c:(.text+0x36de): undefined reference to `_impure_ptr'
gencode.o:gencode.c:(.text+0xb607): undefined reference to `_impure_ptr'
parser.o:parser.c:(.text+0x53f): undefined reference to `_ctype_'
parser.o:parser.c:(.text+0x577): undefined reference to `_ctype_'
parser.o:parser.c:(.text+0x5ebb): undefined reference to `_ctype_'
lexer.o:lexer.c:(.text+0x179): undefined reference to `__errno'
lexer.o:lexer.c:(.text+0x396): undefined reference to `__errno'
lexer.o:lexer.c:(.text+0x3f1): undefined reference to `__errno'
lexer.o:lexer.c:(.text+0xafc): undefined reference to `_impure_ptr'
lexer.o:lexer.c:(.text+0xb0b): undefined reference to `_impure_ptr'
lexer.o:lexer.c:(.text+0x2dc8): undefined reference to `__srget'
lexer.o:lexer.c:(.text+0x2e80): undefined reference to `__errno'
lexer.o:lexer.c:(.text+0x2e92): undefined reference to `__errno'
lexer.o:lexer.c:(.text+0x2eee): undefined reference to `__errno'
collect2: ld returned 1 exit status
make[1]: *** [sip.exe] Error 1
make: *** [all] Error 2

I'm not capable to understand if this errors are due to the more new 
versions of qt and python or are some other think.

Any hint is welcome,
thx

Andrea.




More information about the Qgis-user mailing list