Subject:
|
Re: ldglite Compile fail
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Thu, 5 Jan 2006 14:11:49 GMT
|
Viewed:
|
2654 times
|
| |
| |
In lugnet.cad.dev, Joseph Greene wrote:
> 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
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);
|
|
Message is in Reply To:
| | ldglite Compile fail
|
| 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 (...) (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
|
|
|
|