Hi,
I tried to compiles some blanker source code available on
www.os4depot.netFor my sample I used the "commander.blanker" one.
By removing all referencies to Picasso96 and CybergraphX, the blanker compiles ... Only problem settings and display are not handled correctly ... but it's not the problem here...
When I try to include MiniGL and compiles the blanker,
I get these errors :
Quote:
gcc -D__NOLIBBASE__ -D__NOGLOBALIFACE__ -D__AMIGADATE__=\"`c:date LFORMAT %d.%m.%Y`\" -DMINIGL -Wall -Werror -O3 -c -o Blanker_AmiDARK.o Blanker_AmiDARK.c
gcc -mcrt=newlib -nostartfiles -lm -o AmiDARK.blanker Blanker_AmiDARK.o -lAmiDARK -lm -lGL -lGLUT
/SDK/newlib/lib/libGLUT.a(glutstub.o): In function `glutInit':
include/mgl/glut.h:23: multiple definition of `IIntuition'
Blanker_AmiDARK.o:(.sbss+0x6c): first defined here
/SDK/newlib/lib/libGLUT.a(glutstub.o): In function `glutInit':
include/mgl/glut.h:24: multiple definition of `IntuitionBase'
Blanker_FlyingFeather.o:(.sbss+0x24): first defined here
make: *** [AmiDARK.blanker] Error 1
if I remove intuition definition from the blanker file, I get errors saying that Intuition is not defined ( where some IIntuition->.... calls are made )
Does someone know how to find a solution to "ignore multiple definition" ? or to fix this ?