Fix committed, thanks! On Mon, Apr 19, 2010 at 08:37:43PM -0300, Ernesto Domato wrote: > Hi again, I found that some demos fail to compile (I tested them one > by one) with --disable-legacy option of the current SVN agar version. > > Thanks. > Ernesto > > ==> focusing > make[1]: se ingresa al directorio > `/home/edomato/devel/Juegos/Engines/agar/agar-svn/demos/focusing' > make[2]: se ingresa al directorio > `/home/edomato/devel/Juegos/Engines/agar/agar-svn/demos/focusing' > cc -I/usr/local/include/agar -I/usr/include/SDL -D_GNU_SOURCE=1 > -D_REENTRANT -I/usr/include/freetype2 -I/usr/include > -I/usr/include/libpng12 -I. -o focusing.o -c focusing.c > make[2]: se sale del directorio > `/home/edomato/devel/Juegos/Engines/agar/agar-svn/demos/focusing' > cc -I/usr/local/include/agar -I/usr/include/SDL -D_GNU_SOURCE=1 > -D_REENTRANT -I/usr/include/freetype2 -I/usr/include > -I/usr/include/libpng12 -I. -o focusing focusing.o > -L/usr/local/lib -lag_gui -lag_core -L/usr/lib -lSDL -lfreetype -lz > -L/usr/X11R6/lib -L/usr/local/lib -lGL -lm -L/usr/lib -ljpeg > -L/usr/lib -lpng12 -lpthread > focusing.o: In function `TestUnfocusedMouseMotion': > focusing.c:(.text+0x320): undefined reference to `AG_ButtonDisable' > collect2: ld returned 1 exit status > make[1]: *** [focusing] Error 1 > > ==> plotting > make[1]: se ingresa al directorio > `/home/edomato/devel/Juegos/Engines/agar/agar-svn/demos/plotting' > cc -I/usr/local/include/agar -I/usr/local/include/agar > -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT > -I/usr/include/freetype2 -I/usr/include -I/usr/include/libpng12 > -I. -o plotting.o -c plotting.c > plotting.c: In function `main“: > plotting.c:299: warning: assignment makes pointer from integer without a cast > make[1]: se sale del directorio > `/home/edomato/devel/Juegos/Engines/agar/agar-svn/demos/plotting' > cc -I/usr/local/include/agar -I/usr/local/include/agar > -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT > -I/usr/include/freetype2 -I/usr/include -I/usr/include/libpng12 > -I. -o plotting plotting.o -L/usr/local/lib -lag_math -lm > -L/usr/local/lib -lag_gui -lag_core -L/usr/lib -lSDL -lfreetype -lz > -L/usr/X11R6/lib -L/usr/local/lib -lGL -lm -L/usr/lib -ljpeg > -L/usr/lib -lpng12 -lpthread > plotting.o: In function `main': > plotting.c:(.text+0x12c4): undefined reference to `AG_ButtonAct' > collect2: ld returned 1 exit status > make: *** [plotting] Error 1 > > ==> threads > make[1]: se ingresa al directorio > `/home/edomato/devel/Juegos/Engines/agar/agar-svn/demos/threads' > cc -D_USE_AGAR_STD -I/usr/local/include/agar -I/usr/include/SDL > -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include > -I/usr/include/libpng12 -I. -o threads.o -c threads.c > make[1]: se sale del directorio > `/home/edomato/devel/Juegos/Engines/agar/agar-svn/demos/threads' > cc -D_USE_AGAR_STD -I/usr/local/include/agar -I/usr/include/SDL > -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include > -I/usr/include/libpng12 -I. -o threads threads.o -L/usr/local/lib > -lag_gui -lag_core -L/usr/lib -lSDL -lfreetype -lz -L/usr/X11R6/lib > -L/usr/local/lib -lGL -lm -L/usr/lib -ljpeg -L/usr/lib -lpng12 > -lpthread > threads.o: In function `SpinningWorker': > threads.c:(.text+0x2fb): undefined reference to `AG_LabelPrintf' > collect2: ld returned 1 exit status > make: *** [threads] Error 1 > > _______________________________________________ > Agar mailing list > [email protected] > http://libagar.org/lists.html
_______________________________________________ Agar mailing list [email protected] http://libagar.org/lists.html
