[PyKDE] building on linuxppc
Alex Rice
alrice at swcp.com
Thu Mar 30 08:38:46 BST 2000
On Wed, 29 Mar 2000 12:00:04 +0200 (MET DST),
I said;
alex> make says:
alex> gcc -O2 -o sip main.o parser.o lexer.o transform.o gencode.o heap.o -lfl
alex> gencode.o: In function `prcode':
alex> gencode.o(.text+0x8a40): undefined reference to `__va_arg_type_violation'
alex> gencode.o(.text+0x8a40): relocation truncated to fit: R_PPC_REL24 __va_arg_type_violation
alex> collect2: ld returned 1 exit status
alex> make[2]: *** [sip] Error 1
OK, I was a bit confused about the build procoess. sip still does not
build, but siplib does! So, siplib is installed. I'm off to the races
building pyqt and pykde.
However, I am getting several compile errors w/ pyqt. I suppose that gcc
2.95.2 needs some extra flags to behave. Any suggestions would be
greatly appreciated. I'm not much of a C programmer.
Most or all of the errors are involving:
initialization to `QString *' from `const QString *' discards qualifiers
For example:
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include/python1.5 -I/usr/local/include/sip
-I/usr/lib/qt-2.0.2/include -I/usr/X11R6/include -fno-exceptions -O2
-c sipqtQWhatsThis.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/python1.5
-I/usr/local/include/sip -I/usr/lib/qt-2.0.2/include
-I/usr/X11R6/include -fno-exceptions -O2
-Wp,-MD,.deps/sipqtQWhatsThis.pp -c -fPIC -DPIC sipqtQWhatsThis.cpp -o
sipqtQWhatsThis.lo
sipqtQWhatsThis.cpp: In function `struct PyObject *
sipDo_QWhatsThis_leaveWhatsThisMode(PyObject *, PyObject *)':
sipqtQWhatsThis.cpp:717: initialization to `QString *' from `const
QString *' discards qualifiers
make[2]: *** [sipqtQWhatsThis.lo] Error 1
make[2]: Leaving directory `/home/alex/devel/python/PyQt-0.11/qt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alex/devel/python/PyQt-0.11'
make: *** [all-recursive-am] Error 2
TIA
Alex
More information about the PyQt
mailing list