Menu

#7 incompatibility with glut.h from RH7 Mesa-devel

open
nobody
None
5
2000-10-11
2000-10-11
No

after applying the patch referenced in:
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=18866

(patch at:
http://bugzilla.redhat.com/bugzilla/showattachment.cgi?attach_id=4044
)

with the following configure line:
/tmp/tuxracer-0.60.1 % grep './configure' config.status | head -1
# ./configure --prefix=/tmp --with-data-dir=/tmp

I got the following error while trying to build:
make all-recursive
make[1]: Entering directory `/tmp/tuxracer-0.60.1'
Making all in src
make[2]: Entering directory `/tmp/tuxracer-0.60.1/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/usr/include -O2 -I/usr/X11R6/include -DDATA_DIR=\"/tmp\" -c alglib.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/usr/include -O2 -I/usr/X11R6/include -DDATA_DIR=\"/tmp\" -c audio.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/usr/include -O2 -I/usr/X11R6/include -DDATA_DIR=\"/tmp\" -c audio_data.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/usr/include -O2 -I/usr/X11R6/include -DDATA_DIR=\"/tmp\" -c button.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/usr/include -O2 -I/usr/X11R6/include -DDATA_DIR=\"/tmp\" -c course_load.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/usr/include -O2 -I/usr/X11R6/include -DDATA_DIR=\"/tmp\" -c course_mgr.c
c++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I/usr/include -O2 -I/usr/X11R6/include -DDATA_DIR=\"/tmp\" -c course_quad.cpp
In file included from tuxracer.h:54,
from course_quad.cpp:3:
/usr/include/GL/glut.h:202: declaration of `void exit (int)' throws
different exceptions
/usr/include/stdlib.h:577: than previous declaration `void exit (int)
throw ()'
make[2]: *** [course_quad.o] Error 1
make[2]: Leaving directory `/tmp/tuxracer-0.60.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/tuxracer-0.60.1'
make: *** [all-recursive-am] Error 2
make 11.91s user 0.63s system 87% cpu 14.333 total

This is with the following Mesa-devel
/tmp/tuxracer-0.60.1 % rpm -qif /usr/include/GL/glut.h
Name : Mesa-devel Relocations: (not relocateable)
Version : 3.3 Vendor: Red Hat, Inc.
Release : 5 Build Date: Wed 09 Aug 2000 06:52:10 AM PDT
Install date: Wed 11 Oct 2000 09:18:02 AM PDT Build Host: porky.devel.redhat.com
Group : Development/Libraries Source RPM: Mesa-3.3-5.src.rpm
Size : 2756672 License: GPL/XFree86
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : http://www.mesa3d.org/
Summary : Development files for the Mesa 3-D graphics library.
Description :
Mesa-devel contains the static version of the Mesa 3-D graphics
library (a graphics toolkit very similar to Silicon Graphics' OpenGL
graphics utilities toolkit) and includes files needed for development.
If you're going to develop Mesa applications, you'll need to install
mesa-devel. If you're just going to use Mesa, you don't need to
install mesa-devel.

Discussion


Log in to post a comment.