Hi everyone,

I've been slowly migrating to a MandrakeCooker-based system for the past
few months now (from 6.1) and have had no trouble up until this past
week.  I decided to update my compiler libraries, and it seems that this
has made my computer quite unstable.

I've gotten rid of pgcc and installed gcc instead, from the cooker
release.  I've also installed egcs, hoping this would fix a few problems
I've been having, but it hasn't helped.  (I also updated binutils and
pmake, but I don't think these have any impact on the problems I'm
having.)

Since I upgraded, programs that I attempt to compile which use glut have
started failing to compile properly.  When attempting to compile gltron,
for instance, I get a long list of errors, all stemming back to the
gl-related header files and some ansi-complicancy error.

Does anyone have any idea how I could repair this problem?  Have I
missed something that I should upgrade?

A short snippet of the error messages follows.  (It seems that the
compiler doesn't like the functions which have GL_API in front of their
prototypes..??)


gcc -c -pedantic -Wall   -O2 switchCallbacks.c
In file included from /usr/include/GL/glut.h:10,
                 from gltron.h:51,
                 from switchCallbacks.c:1:
/usr/include/GL/gl.h:144: syntax error before `OSMesaContext'
/usr/include/GL/gl.h:144: parse error before `format'
/usr/include/GL/gl.h:145: ANSI C forbids data definition with no type or
storage class
/usr/include/GL/gl.h:155: syntax error before `void'
/usr/include/GL/gl.h:155: ANSI C forbids data definition with no type or
storage class
/usr/include/GL/gl.h:186: parse error before `GLboolean'
/usr/include/GL/gl.h:187: parse error before `GLenum'
/usr/include/GL/gl.h:188: ANSI C forbids data definition with no type or
storage class
/usr/include/GL/gl.h:196: syntax error before `OSMesaContext'
/usr/include/GL/gl.h:196: ANSI C forbids data definition with no type or
storage class
/usr/include/GL/gl.h:213: syntax error before `void'
/usr/include/GL/gl.h:213: parse error before `pname'


If there's somewhere else I should go to ask about these sorts of
things, please tell me so I can avoid spamming everyone with my
problems.


Thanks,

James
--
http://chat.carleton.ca/~jhelfert

Reply via email to