1 |
I am getting following error compiling wxPython with |
2 |
gcc 3.1. Anybody able to compile it successfully. |
3 |
|
4 |
gcc -DNDEBUG -march=i686 -O3 -pipe -fPIC -DSWIG_GLOBAL |
5 |
-DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -Isrc |
6 |
-I/usr/include/python2.2 -c src/gtk/stattool.cpp -o |
7 |
build/temp.linux-i686-2.2/src/gtk/stattool.o |
8 |
-I/usr/lib/wx/include/gtk-2.3 -DGTK_NO_CHECK_CASTS |
9 |
-D__WXGTK__ -D_REENTRANT -fno-rtti -fno-exceptions |
10 |
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 |
11 |
-I/usr/lib/glib/include -I/usr/X11R6/include |
12 |
-march=i686 -O2 -pipe |
13 |
gcc -DNDEBUG -march=i686 -O3 -pipe -fPIC -DSWIG_GLOBAL |
14 |
-DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -Isrc |
15 |
-I/usr/include/python2.2 -c src/gtk/frames.cpp -o |
16 |
build/temp.linux-i686-2.2/src/gtk/frames.o |
17 |
-I/usr/lib/wx/include/gtk-2.3 -DGTK_NO_CHECK_CASTS |
18 |
-D__WXGTK__ -D_REENTRANT -fno-rtti -fno-exceptions |
19 |
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 |
20 |
-I/usr/lib/glib/include -I/usr/X11R6/include |
21 |
-march=i686 -O2 -pipe |
22 |
gcc -DNDEBUG -march=i686 -O3 -pipe -fPIC -DSWIG_GLOBAL |
23 |
-DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -Isrc |
24 |
-I/usr/include/python2.2 -c src/gtk/image.cpp -o |
25 |
build/temp.linux-i686-2.2/src/gtk/image.o |
26 |
-I/usr/lib/wx/include/gtk-2.3 -DGTK_NO_CHECK_CASTS |
27 |
-D__WXGTK__ -D_REENTRANT -fno-rtti -fno-exceptions |
28 |
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 |
29 |
-I/usr/lib/glib/include -I/usr/X11R6/include |
30 |
-march=i686 -O2 -pipe |
31 |
src/gtk/image.cpp: In function `void* |
32 |
SwigwxTIFFHandlerTowxImageHandler(void*)': |
33 |
src/gtk/image.cpp:896: `wxTIFFHandler' undeclared |
34 |
(first use this function) |
35 |
src/gtk/image.cpp:896: (Each undeclared identifier is |
36 |
reported only once for each function it appears in.) |
37 |
src/gtk/image.cpp:896: `src' undeclared (first use |
38 |
this function) |
39 |
src/gtk/image.cpp:898: parse error before `)' token |
40 |
src/gtk/image.cpp: In function `void* |
41 |
SwigwxTIFFHandlerTowxObject(void*)': |
42 |
src/gtk/image.cpp:906: parse error before `)' token |
43 |
src/gtk/image.cpp: In function `PyObject* |
44 |
_wrap_new_wxTIFFHandler(PyObject*, PyObject*, |
45 |
PyObject*)': |
46 |
src/gtk/image.cpp:914: `_result' undeclared (first use |
47 |
this function) |
48 |
src/gtk/image.cpp:923: parse error before `)' token |
49 |
src/gtk/image.cpp:923: parse error before `(' token |
50 |
error: command 'gcc' failed with exit status 1 |
51 |
|
52 |
!!! ERROR: The ebuild did not complete successfully. |
53 |
!!! Function src_compile, Line 17, Exitcode 1 |
54 |
!!! (no error message) |
55 |
|
56 |
!!! emerge aborting on |
57 |
/usr/portage/dev-python/wxPython/wxPython-2.3.2.1.ebuild |
58 |
. |
59 |
|
60 |
|
61 |
__________________________________________________ |
62 |
Do You Yahoo!? |
63 |
Yahoo! - Official partner of 2002 FIFA World Cup |
64 |
http://fifaworldcup.yahoo.com |