SDL: undefined reference to 'pieRGBA' and 'filledPieRGBA'

Paul Dufresne dufrp at hotmail.com
Tue Nov 9 14:40:26 PST 2004


Why try to figure out what's wrong, when I could ask Pupeno?

I wanted to try Pupeno code, so I have cvs -z7 update -d in slate directory, 
then
make clean ; make get-alpha ; then I
downloaded sdlslate.tar.bz2 from navigation bar on www.pupeno.com.
I did put it in main slate directory, then tar xvjf sdlslate.tar.bz2.
Then patch -p0 < sdlslate.patch.
Then while doing make:
===
...
make[1]: Entering directory 
`/home/paul/slate5/slate/src/mobius/vm/platform/unix
...
gcc -O2 -fomit-frame-pointer -DNDEBUG=1 -s -I../includes -I.. -I. 
-I../../../../.. -c sdl.c  -fPIC -DPIC -o .libs/sdl.o
sdl.c:97:2: warning: no newline at end of file
...
gcc -O2 -fomit-frame-pointer -DNDEBUG=1 -s -I../includes -I.. -I. 
-I../../../../.. -o ../../../../../vm ../boot.o ../ansifile.o ../extprim.o 
directory.o extprim.o file.o sdl.o main.o ../../../../../vm.o -lm -ldl 
-lSDL_gfx
sdl.o(.text+0x629): In function `sdlDrawPie':
: undefined reference to `pieRGBA'
sdl.o(.text+0x6a9): In function `sdlDrawFilledPie':
: undefined reference to `filledPieRGBA'
collect2: ld a retourné 1 code d'état d'exécution
make[1]: *** [vm] Erreur 1
make[1]: Leaving directory 
`/home/paul/slate5/slate/src/mobius/vm/platform/unix'make: *** [unix-build] 
Erreur 2
===
I feel it could be faster to ask what's wrong then trying to figure out by
myself where suppose to be defined pieRGBA.

--Paul





More information about the Slate mailing list