[Lunar-bugs] [Lunar Linux 0000430]: xforms fails to compile

noreply at bugs.lunar-linux.org noreply at bugs.lunar-linux.org
Mon Mar 29 15:00:35 GMT 2004


The following bug has been ASSIGNED.
=======================================================================
http://bugs.lunar-linux.org/view_bug_page.php?f_id=0000430
=======================================================================
Reporter:                   jmhodges
Handler:                    
=======================================================================
Project:                    Lunar Linux
Bug ID:                     0000430
Category:                   moonbase
Reproducibility:            always
Severity:                   feature
Priority:                   none
Status:                     assigned
=======================================================================
Date Submitted:             2004-01-04 07:28 GMT
Last Modified:              2004-03-29 15:00 GMT
=======================================================================
Summary:                    xforms fails to compile
Description: 
I have no idea whats going on here, other than I am missing my glx.h.  I'm
running NVIDIA and 2.4.23 and have no freakin' idea what happened to
glx.h. Maybe I have to change my X setup since NVIDIA_GLX was removed?

gcc -m32 -c -O3 -mcpu=athlon-tbird -march=athlon-tbird -mmmx -m3dnow  
-I../exports/include               -I../lib                 
-I../lib/private                -I. -I/usr/X11R6/include    -Dlinux
-D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE
-D_BSD_SOURCE -D_SVID_SOURCE     -DFUNCPROTO=15 -DNARROWPROTO   
-DMAKING_FORMS            -DHAVE_STRERROR -g -O2     glcanvas.c -o
unshared/glcanvas.o
glcanvas.c:47:20: GL/glx.h: No such file or directory
glcanvas.c:48:19: GL/gl.h: No such file or directory
glcanvas.c:57: syntax error before "GLXContext"
glcanvas.c:57: warning: no semicolon at end of struct or union
glcanvas.c:60: syntax error before '}' token
glcanvas.c:61: warning: data definition has no type or storage class
glcanvas.c:69: conflicting declarations of `glconfig'
glcanvas.c:59: `glconfig' previously declared here
glcanvas.c:69: warning: `glconfig' was declared `extern' and later
`static'
glcanvas.c:71: `GLX_RGBA' undeclared here (not in a function)
glcanvas.c:71: initializer element is not constant
glcanvas.c:71: (near initialization for `glconfig[0]')
glcanvas.c:71: `GLX_DEPTH_SIZE' undeclared here (not in a function)
glcanvas.c:71: initializer element is not constant
glcanvas.c:71: (near initialization for `glconfig[1]')
glcanvas.c:72: `GLX_RED_SIZE' undeclared here (not in a function)
glcanvas.c:72: initializer element is not constant
glcanvas.c:72: (near initialization for `glconfig[3]')
glcanvas.c:72: `GLX_GREEN_SIZE' undeclared here (not in a function)
glcanvas.c:72: initializer element is not constant
glcanvas.c:72: (near initialization for `glconfig[5]')
glcanvas.c:72: `GLX_BLUE_SIZE' undeclared here (not in a function)
glcanvas.c:72: initializer element is not constant
glcanvas.c:72: (near initialization for `glconfig[7]')
glcanvas.c:73: `GLX_DOUBLEBUFFER' undeclared here (not in a function)
glcanvas.c:73: initializer element is not constant
glcanvas.c:73: (near initialization for `glconfig[9]')
glcanvas.c: In function `fl_add_glcanvas':
glcanvas.c:90: warning: initialization makes pointer from integer without
a cast
glcanvas.c: In function `fl_set_glcanvas_attributes':
glcanvas.c:115: syntax error before ')' token
glcanvas.c: In function `fl_get_glcanvas_attributes':
glcanvas.c:127: syntax error before ')' token
glcanvas.c: In function `fl_set_glcanvas_direct':
glcanvas.c:133: syntax error before ')' token
glcanvas.c:135: syntax error before ')' token
glcanvas.c:135: `GL_TRUE' undeclared (first use in this function)
glcanvas.c:135: (Each undeclared identifier is reported only once
glcanvas.c:135: for each function it appears in.)
glcanvas.c:135: `GL_FALSE' undeclared (first use in this function)
glcanvas.c: At top level:
glcanvas.c:145: syntax error before "fl_get_glcanvas_context"
glcanvas.c: In function `fl_get_glcanvas_context':
glcanvas.c:147: syntax error before ')' token
glcanvas.c: In function `fl_get_glcanvas_xvisualinfo':
glcanvas.c:153: syntax error before ')' token
glcanvas.c: At top level:
glcanvas.c:167: warning: type mismatch with previous implicit declaration
glcanvas.c:90: warning: previous implicit declaration of
`fl_create_glcanvas'
glcanvas.c:167: warning: `fl_create_glcanvas' was previously implicitly
declared to return `int'
glcanvas.c: In function `fl_create_glcanvas':
glcanvas.c:175: syntax error before ')' token
glcanvas.c:176: syntax error before ')' token
glcanvas.c:176: `GL_TRUE' undeclared (first use in this function)
glcanvas.c: In function `glx_init':
glcanvas.c:186: `GLXContext' undeclared (first use in this function)
glcanvas.c:186: syntax error before "context"
glcanvas.c:195: syntax error before ')' token
glcanvas.c:195: warning: assignment makes pointer from integer without a
cast
glcanvas.c:207: `context' undeclared (first use in this function)
glcanvas.c:207: syntax error before ')' token
glcanvas.c:219: syntax error before ')' token
glcanvas.c:220: syntax error before ')' token
glcanvas.c: In function `glx_activate':
glcanvas.c:230: syntax error before ')' token
glcanvas.c: In function `glx_cleanup':
glcanvas.c:241: syntax error before ')' token
glcanvas.c:243: syntax error before ')' token
glcanvas.c:244: syntax error before ')' token
glcanvas.c:245: syntax error before ')' token
glcanvas.c:246: syntax error before ')' token
glcanvas.c: At top level:
glcanvas.c:267: syntax error before "GLXContext"
glcanvas.c: In function `fl_glwincreate':
glcanvas.c:278: `config' undeclared (first use in this function)
glcanvas.c:278: warning: assignment makes pointer from integer without a
cast
glcanvas.c:281: `context' undeclared (first use in this function)
glcanvas.c:281: `GL_TRUE' undeclared (first use in this function)
glcanvas.c:291: `w' undeclared (first use in this function)
glcanvas.c:291: `h' undeclared (first use in this function)
glcanvas.c: At top level:
glcanvas.c:301: syntax error before "GLXContext"
glcanvas.c: In function `fl_glwinopen':
glcanvas.c:304: `config' undeclared (first use in this function)
glcanvas.c:304: `context' undeclared (first use in this function)
glcanvas.c:304: `w' undeclared (first use in this function)
glcanvas.c:304: `h' undeclared (first use in this function)
make[1]: *** [glcanvas.o] Error 1
make[1]: Leaving directory `/usr/src/xforms-1.0/gl'
Creating /var/log/lunar/compile/xforms-1.0.bz2 
make: *** [all] Error 2
! Problem detected during BUILD

=======================================================================


More information about the Lunar-bugs mailing list