[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    QT compiling problems
From:       Emmanuel Touzery <emmanuel.touzery () wanadoo ! fr>
Date:       2000-08-25 18:25:08
[Download RAW message or body]

Hi,

	I'm having problems compiling qt2.2beta2: egcs is having an internal
compiler error...

	My system is egcs-1.1.2, slackware7, x401.
	I tried the trick about commenting out -lGLU mentionned in the
compilation FAQ, but it didn't work.

Here is the make output:

g++  -c -I/usr/local/manu/testcvs/qt-copy/include -I/usr/X11R6/include
-pipe -O2 -fPIC -DQT_BUILTIN_GIF_READER=1 
-I/usr/local/manu/testcvs/qt-copy/src/3rdparty/zlib
-I/usr/local/manu/testcvs/qt-copy/src/3rdparty/libpng
-I/usr/X11R6/include  -o opengl/qgl.o opengl/qgl.cpp
In file included from opengl/qgl.h:55,
                 from opengl/qgl.cpp:28:
/usr/local/include/GL/glu.h:298: parse error before `*'
/usr/local/include/GL/glu.h:298: `gluQuadricCallback' declared as
function returning a function
/usr/local/include/GL/glu.h: In function `int gluQuadricCallback(...)':
/usr/local/include/GL/glu.h:370: parse error before `*'
/usr/local/include/GL/glu.h:370: `gluNurbsCallback' declared as function
returning a function
/usr/local/include/GL/glu.h: In function `int gluNurbsCallback(...)':
/usr/local/include/GL/glu.h:383: parse error before `*'
/usr/local/include/GL/glu.h:383: `gluTessCallback' declared as function
returning a function
opengl/qgl.h: In function `int gluTessCallback(...)':
In file included from opengl/qgl.cpp:28:
opengl/qgl.h:205: field `gluTessCallback(...)::QGLContext::currentCtx'
in local class cannot be static
opengl/qgl.h:220: field `gluTessCallback(...)::QGLWidget::metaObj' in
local class cannot be static
function.c:474: Internal compiler error in function find_function_data
cpp: output pipe has been closed
make[2]: *** [opengl/qgl.o] Error 1
make[2]: Leaving directory `/usr/local/manu/testcvs/qt-copy/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/usr/local/manu/testcvs/qt-copy'
make: *** [init] Error 2

any idea?

i'm sorry if anyone already mentionned this...
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic