[Gambas-devel] 1.9.1 Build Error (sdl component) on FC3

Benoit Minisini gambas at ...1...
Tue Jan 11 11:15:16 CET 2005


On Monday 10 January 2005 19:51, Srikanta Prasanna wrote:
> Folks,
> I tried to build Gambas 1.9.1 on my Fedora Core 3 system.
> 'configure' went smooth, but 'make' threw this error in the
> SDL component's image directory, draw.c:
>
> Making all in image
> make[5]: Entering directory
> `/home/sri/Gambas/Gambas-Srcs/gambas2-1.9.1/src/lib/sdl/image' if /bin/sh
> ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
> -I../../../.. -I../../../../src/share  -I/usr/include/SDL/ -D_REENTRANT    
> -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT draw.lo -MD -MP -MF
> ".deps/draw.Tpo" -c -o draw.lo draw.c; \ then mv -f ".deps/draw.Tpo"
> ".deps/draw.Plo"; else rm -f ".deps/draw.Tpo"; exit 1; fi gcc
> -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share
> -I/usr/include/SDL/ -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g
> -Os -MT draw.lo -MD -MP -MF .deps/draw.Tpo -c draw.c  -fPIC -DPIC -o
> .libs/draw.o draw.c:34:31: SDL_gfxPrimitives.h: No such file or directory
> draw.c: In function `DRAWING_plot':
> draw.c:147: warning: implicit declaration of function `pixelColor'
> draw.c: In function `DRAWING_draw':
> draw.c:170: warning: implicit declaration of function `lineColor'
> make[5]: *** [draw.lo] Error 1
> make[5]: Leaving directory
> `/home/sri/Gambas/Gambas-Srcs/gambas2-1.9.1/src/lib/sdl/image' make[4]: ***
> [all-recursive] Error 1
> make[4]: Leaving directory
> `/home/sri/Gambas/Gambas-Srcs/gambas2-1.9.1/src/lib/sdl' make[3]: ***
> [all-recursive] Error 1
> make[3]: Leaving directory
> `/home/sri/Gambas/Gambas-Srcs/gambas2-1.9.1/src/lib' make[2]: ***
> [all-recursive] Error 1
> make[2]: Leaving directory `/home/sri/Gambas/Gambas-Srcs/gambas2-1.9.1/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/sri/Gambas/Gambas-Srcs/gambas2-1.9.1'
> make: *** [all] Error 2
>
> Any suggestions ??
>
> cheers,
> srikanta prasanna

There is an error in ./src/lib/sdl/Makefile.am that make compile sdl 
components even if SDL libraries are not installed. Try ./configure 
--disable-sdl-component

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the Devel mailing list