[Bf-committers] Problems compiling.

Nathan Vegdahl bf-committers@blender.org
Fri, 2 May 2003 11:37:22 -0700 (PDT)


As I have said, I am having trouble compiling bf-blender.  I solved one of the
problems on my own, but I have no idea how to aproach the one that came up
after that.  Here is the relevant exceprt of the make output:

---------------------------------------------------------
====> make all in source/blender/renderconverter
====> make all in source/blender/renderconverter/intern
====> make all in source/kernel
====> make all in source/kernel/gen_system
====> make all in source/kernel/gen_messaging
====> make all in source/kernel/gen_messaging/intern
====> make all in source/gameengine
====> make all in source/gameengine/BlenderRoutines
====> make all in source/gameengine/Converter
====> make all in source/gameengine/Expressions
====> make all in source/gameengine/GameLogic
====> make all in source/gameengine/Ketsji
====> make all in source/gameengine/Ketsji/KXNetwork
====> make all in source/gameengine/Rasterizer
====> make all in source/gameengine/Rasterizer/RAS_OpenGLRasterizer
====> make all in source/gameengine/SceneGraph
====> make all in source/gameengine/SoundSystem
====> make all in source/gameengine/SoundSystem/intern
====> make all in source/gameengine/SoundSystem/dummy
====> make all in source/gameengine/SoundSystem/openal
====> make all in source/gameengine/Network
====> make all in source/gameengine/Network/LoopBackNetwork
====> make all in source/gameengine/GamePlayer
====> make all in source/gameengine/GamePlayer/common
====> make all in source/gameengine/GamePlayer/common/unix
====> make all in source/gameengine/GamePlayer/ghost
====> make all in source/gameengine/GamePlayer/netscape
====> make all in source/gameengine/GamePlayer/netscape/src
====> make all in source/gameengine/GamePlayer/netscape/src/ketsji
====> make all in source/gameengine/GamePlayer/netscape/src/xpcom
====> make all in source/gameengine/GamePlayer/netscape/test
====> make all in source/gameengine/GamePlayer/netscape/test/stub
====> make all in source/gameengine/GamePlayer/netscape/test/colorcycle
====> make all in source/gameengine/GamePlayer/netscape/test/gears
gcc -c -pipe -fPIC -DNDEBUG -O2 -DMOZ_NOT_NET -I../Physics/common
-I../Physics/Dummy -DXP_UNIX -Wall -Wno-char-subscripts -Wall -W -Wshadow
-Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Wredundant-decls  -I../../src -I../../netscape_api
-I/usr/X11R6/include
-I/home/users/cessen/bf-blender/blender/../lib/linux-glibc2.2.5-i386/nspr/include
-I/home/users/cessen/bf-blender/blender/../lib/linux-glibc2.2.5-i386/nspr/include/nspr
-I/usr/include/mozilla/nspr TST_gears.c -o
/home/users/cessen/bf-blender/blender/obj/linux-glibc2.2.5-i386/gameengine/GamePlayer/netscape/test/TST_gears.o
TST_gears.c:139:21: GL/glut.h: No such file or directory
TST_gears.c:161: parse error before `GLfloat'
TST_gears.c:161: warning: no semicolon at end of struct or union
TST_gears.c:162: warning: type defaults to `int' in declaration of `red'
TST_gears.c:162: warning: data definition has no type or storage class
TST_gears.c:163: parse error before `green'
TST_gears.c:163: warning: type defaults to `int' in declaration of `green'
TST_gears.c:163: warning: data definition has no type or storage class
TST_gears.c:164: parse error before `blue'
TST_gears.c:164: warning: type defaults to `int' in declaration of `blue'
TST_gears.c:164: warning: data definition has no type or storage class
TST_gears.c:167: parse error before `Frames'
TST_gears.c:167: warning: type defaults to `int' in declaration of `Frames'
TST_gears.c:167: warning: data definition has no type or storage class
TST_gears.c:169: parse error before `view_rotx'
TST_gears.c:169: warning: type defaults to `int' in declaration of `view_rotx'
TST_gears.c:169: warning: type defaults to `int' in declaration of `view_roty'
TST_gears.c:169: warning: type defaults to `int' in declaration of `view_rotz'
TST_gears.c:169: warning: data definition has no type or storage class
TST_gears.c:170: parse error before `gear1'
TST_gears.c:170: warning: type defaults to `int' in declaration of `gear1'
TST_gears.c:170: warning: type defaults to `int' in declaration of `gear2'
TST_gears.c:170: warning: type defaults to `int' in declaration of `gear3'
TST_gears.c:170: warning: data definition has no type or storage class
TST_gears.c:171: parse error before `angle'
TST_gears.c:171: warning: type defaults to `int' in declaration of `angle'
TST_gears.c:171: warning: data definition has no type or storage class
TST_gears.c:175: parse error before `}'
TST_gears.c:175: warning: type defaults to `int' in declaration of `gears_data'
TST_gears.c:175: warning: data definition has no type or storage class
TST_gears.c:180: parse error before `inner_radius'
TST_gears.c:184: warning: function declaration isn't a prototype
TST_gears.c:209: parse error before `inner_radius'
TST_gears.c:214: warning: function declaration isn't a prototype
TST_gears.c: In function `gear':
TST_gears.c:215: `GLint' undeclared (first use in this function)
TST_gears.c:215: (Each undeclared identifier is reported only once
TST_gears.c:215: for each function it appears in.)
TST_gears.c:215: parse error before `i'
TST_gears.c:216: `GLfloat' undeclared (first use in this function)
TST_gears.c:222: `r0' undeclared (first use in this function)
TST_gears.c:222: `inner_radius' undeclared (first use in this function)
TST_gears.c:223: `r1' undeclared (first use in this function)
TST_gears.c:223: `outer_radius' undeclared (first use in this function)
TST_gears.c:223: `tooth_depth' undeclared (first use in this function)
TST_gears.c:224: `r2' undeclared (first use in this function)
TST_gears.c:226: `da' undeclared (first use in this function)
TST_gears.c:226: `teeth' undeclared (first use in this function)
TST_gears.c:228: warning: implicit declaration of function `glShadeModel'
TST_gears.c:228: `GL_FLAT' undeclared (first use in this function)
TST_gears.c:230: warning: implicit declaration of function `glNormal3f'
TST_gears.c:233: warning: implicit declaration of function `glBegin'
TST_gears.c:233: `GL_QUAD_STRIP' undeclared (first use in this function)
TST_gears.c:234: `i' undeclared (first use in this function)
TST_gears.c:236: warning: implicit declaration of function `glVertex3f'
TST_gears.c:236: `width' undeclared (first use in this function)
TST_gears.c:243: warning: implicit declaration of function `glEnd'
TST_gears.c:246: `GL_QUADS' undeclared (first use in this function)
TST_gears.c:293: `u' undeclared (first use in this function)
TST_gears.c:294: `v' undeclared (first use in this function)
TST_gears.c:295: `len' undeclared (first use in this function)
TST_gears.c:317: `GL_SMOOTH' undeclared (first use in this function)
TST_gears.c: In function `APH_redraw':
TST_gears.c:335: `h' undeclared (first use in this function)
TST_gears.c:335: parse error before `)'
TST_gears.c:339: warning: implicit declaration of function
`PLA_acquire_glx_context'
TST_gears.c:341: warning: implicit declaration of function `glClear'
TST_gears.c:341: `GL_COLOR_BUFFER_BIT' undeclared (first use in this function)
TST_gears.c:341: `GL_DEPTH_BUFFER_BIT' undeclared (first use in this function)
TST_gears.c:343: warning: implicit declaration of function `glPushMatrix'
TST_gears.c:344: warning: implicit declaration of function `glRotatef'
TST_gears.c:349: warning: implicit declaration of function `glTranslatef'
TST_gears.c:351: warning: implicit declaration of function `glCallList'
TST_gears.c:352: warning: implicit declaration of function `glPopMatrix'
TST_gears.c:370: warning: implicit declaration of function
`PLA_swap_and_release_glx_context'
TST_gears.c:333: warning: unused parameter `handle'
TST_gears.c: In function `TST_proceed':
TST_gears.c:377: `h' undeclared (first use in this function)
TST_gears.c:377: parse error before `)'
TST_gears.c: At top level:
TST_gears.c:386: warning: no previous prototype for `APH_keyboard_release'
TST_gears.c: In function `APH_keyboard_release':
TST_gears.c:387: `h' undeclared (first use in this function)
TST_gears.c:387: parse error before `)'
TST_gears.c:385: warning: unused parameter `key'
TST_gears.c: At top level:
TST_gears.c:396: warning: no previous prototype for `APH_mousekey_press'
TST_gears.c: In function `APH_mousekey_press':
TST_gears.c:397: `h' undeclared (first use in this function)
TST_gears.c:397: parse error before `)'
TST_gears.c:395: warning: unused parameter `xbut'
TST_gears.c: At top level:
TST_gears.c:406: warning: no previous prototype for `APH_mousekey_release'
TST_gears.c: In function `APH_mousekey_release':
TST_gears.c:407: `h' undeclared (first use in this function)
TST_gears.c:407: parse error before `)'
TST_gears.c:405: warning: unused parameter `xbut'
TST_gears.c: At top level:
TST_gears.c:416: warning: no previous prototype for `APH_mouse_movement'
TST_gears.c: In function `APH_mouse_movement':
TST_gears.c:417: `h' undeclared (first use in this function)
TST_gears.c:417: parse error before `)'
TST_gears.c:415: warning: unused parameter `x'
TST_gears.c:415: warning: unused parameter `y'
TST_gears.c: At top level:
TST_gears.c:427: warning: no previous prototype for `APH_keyboard_press'
TST_gears.c: In function `APH_keyboard_press':
TST_gears.c:428: `h' undeclared (first use in this function)
TST_gears.c:428: parse error before `)'
TST_gears.c: In function `APH_reset_viewport':
TST_gears.c:467: `GLfloat' undeclared (first use in this function)
TST_gears.c:467: parse error before `h'
TST_gears.c:468: `gd' undeclared (first use in this function)
TST_gears.c:468: parse error before `)'
TST_gears.c:474: warning: implicit declaration of function `glViewport'
TST_gears.c:474: `GLint' undeclared (first use in this function)
TST_gears.c:474: parse error before `width'
TST_gears.c:475: warning: implicit declaration of function `glMatrixMode'
TST_gears.c:475: `GL_PROJECTION' undeclared (first use in this function)
TST_gears.c:476: warning: implicit declaration of function `glLoadIdentity'
TST_gears.c:477: warning: implicit declaration of function `glFrustum'
TST_gears.c:477: `h' undeclared (first use in this function)
TST_gears.c:478: `GL_MODELVIEW' undeclared (first use in this function)
TST_gears.c:483: warning: implicit declaration of function `glLightfv'
TST_gears.c:483: `GL_LIGHT0' undeclared (first use in this function)
TST_gears.c:483: `GL_POSITION' undeclared (first use in this function)
TST_gears.c:484: warning: implicit declaration of function `glEnable'
TST_gears.c:484: `GL_CULL_FACE' undeclared (first use in this function)
TST_gears.c:485: `GL_LIGHTING' undeclared (first use in this function)
TST_gears.c:487: `GL_DEPTH_TEST' undeclared (first use in this function)
TST_gears.c:490: warning: implicit declaration of function `glGenLists'
TST_gears.c:491: warning: implicit declaration of function `glNewList'
TST_gears.c:491: `GL_COMPILE' undeclared (first use in this function)
TST_gears.c:492: warning: implicit declaration of function `glMaterialfv'
TST_gears.c:492: `GL_FRONT' undeclared (first use in this function)
TST_gears.c:492: `GL_AMBIENT_AND_DIFFUSE' undeclared (first use in this
function)
TST_gears.c:494: warning: implicit declaration of function `glEndList'
TST_gears.c:508: `GL_NORMALIZE' undeclared (first use in this function)
TST_gears.c:510: warning: implicit declaration of function
`PLA_release_glx_context'
TST_gears.c:465: warning: unused parameter `handle'
TST_gears.c:465: warning: unused parameter `width'
TST_gears.c:465: warning: unused parameter `height'
TST_gears.c: In function `APH_create_application':
TST_gears.c:518: `gd' undeclared (first use in this function)
TST_gears.c:518: invalid lvalue in assignment
TST_gears.c: In function `APH_terminate_application':
TST_gears.c:562: `h' undeclared (first use in this function)
TST_gears.c:562: parse error before `)'
TST_gears.c:560: warning: unused parameter `handle'
TST_gears.c: In function `TST_log_entry':
TST_gears.c:570: warning: unused parameter `msg'
make[6]: ***
[/home/users/cessen/bf-blender/blender/obj/linux-glibc2.2.5-i386/gameengine/GamePlayer/netscape/test/TST_gears.o]
Error 1
make[5]: *** [all] Error 1
make[4]: *** [all] Error 1
make[3]: *** [all] Error 1
make[2]: *** [all] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1
---------------------------------------------

   Any help that you guys could give me would be much appreciated.

   Thanks!

--Nathan Vegdahl (Cessen)

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com