Need help with a glu problem

Gary Pekmezi gp@raaengineers.com
Wed Apr 2 20:18:00 GMT 2003


I found the solution to this particular problem. I deleted /usr/include
and kept /usr/X11R6/include in my makefile. Now if I could only figure
out what "make error 255" is.



"Gerald Pekmezi" <gp@raaengineers.com> wrote in message
news:<b6eqmg$mak$1@main.gmane.org>...
> I am trying to build a finite element program from source. All goes 
> well until I get the following error message:
> 
> gcc -O2 -Wall -I./ -I/usr/include -I/usr/X11R6/include -c -o 
> setFunktions.o setFunktions.c
> cc1: warning: changing search order for system directory 
> "/usr/include"
> cc1: warning: as it has already been specified as a non-system
directory
> setFunktions.c: In function `drawNurl_plot':
> setFunktions.c:1286: `GLU_ERROR' undeclared (first use in this
function)
> setFunktions.c:1286: (Each undeclared identifier is reported only once
> setFunktions.c:1286: for each function it appears in.)
> setFunktions.c:1286: warning: passing arg 3 of `gluNurbsCallback' from
> incompatible pointer type
> setFunktions.c: In function `drawNurs_plot':
> setFunktions.c:1353: `GLU_ERROR' undeclared (first use in this
function)
> setFunktions.c:1353: warning: passing arg 3 of `gluNurbsCallback' from
> incompatible pointer type
> setFunktions.c: In function `senddata':
> setFunktions.c:5985: warning: passing arg 4 of `qsort' from
incompatible
> pointer type
> setFunktions.c:6054: warning: passing arg 4 of `qsort' from
incompatible
> pointer type
> make: *** [setFunktions.o] Error 1
> 
> I can see where GLU_ERROR is defined in /usr/X11R6/include/GL/glu.h so

> I don't understand the reason for the error. Thanks in advance for any

> help
> 
> 
> 
> 



More information about the Cygwin-xfree mailing list