Subject:
|
ldglite Compile fail
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Thu, 5 Jan 2006 10:55:55 GMT
|
Viewed:
|
2296 times
|
| |
| |
Ok, I know UNIX, but to be honest, I'm no programmer by a long shot So This
error stopped me.
gcc -g -DUNIX -DUSE_OPENGL -DUSE_L3_PARSER -DUSE_BMP8 -DNEED_MIN_MAX -DUSE_PNG -DTILE_RENDER_OPTION -DTEST_MUI_GUI -I./mui/include -c -o hoser.o hoser.c
hoser.c:369: error: conflicting types for 'hoseout'
hoser.c:361: error: previous implicit declaration of 'hoseout' was here
gmake: *** [hoser.o] Error 1
Environment: gcc 3.4.3, Solaris 10 (64bit), GLUT3.7 and Sun OpenGL 1.3
Any takers?
The only changes so far were to comment out these 2 lines in makefile.linux:
#OFFSCREEN_FLAGS=-DOSMESA_OPTION
#OFFSCREEN_LIBS= -lOSMesa
|
|
Message has 1 Reply: | | Re: ldglite Compile fail
|
| (...) Looks like gcc is getting pickier about function prototypes these days. Try adding this line near the top of hoser.c after the #include lines. void hoseout(void); (19 years ago, 5-Jan-06, to lugnet.cad.dev)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|