Re: [Tuxpaint-devel] SDL_Pango header problem
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: Josselin M. <jo...@de...> - 2007-09-18 16:24:14
|
Le jeudi 12 juillet 2007 =E0 12:29 -0700, Bill Kendrick a =E9crit : > Hi there! Thanks for SDL_Pango. I'm beginning to update my project > "Tux Paint" to use it in favor of SDL_ttf. >=20 > Unfortunately, I get linking errors when I #include "SDL_Pango.h" > in multiple files. (I do so in both 'tuxpaint.c' and 'fonts.c', a C file > full of helper routines.) >=20 > obj/fonts.o:(.rodata+0x0): multiple definition of `_MATRIX_WHITE_BACK' > obj/tuxpaint.o:(.rodata+0x0): first defined here > obj/fonts.o:(.data+0x0): multiple definition of `MATRIX_WHITE_BACK' > obj/tuxpaint.o:(.data+0x0): first defined here > obj/fonts.o:(.rodata+0x10): multiple definition of `_MATRIX_BLACK_BACK' > obj/tuxpaint.o:(.rodata+0x10): first defined here > obj/fonts.o:(.data+0x4): multiple definition of `MATRIX_BLACK_BACK' > obj/tuxpaint.o:(.data+0x4): first defined here > ...etc. >=20 > By simply removing the various color matrices in the header, I was able > to get things to link. I think you could do either this, or declare them > all as 'static'. Hi, I have fixed this in sdlpango 0.1.2-2 which was just uploaded to unstable. Cheers, --=20 .''`. : :' : We are debian.org. Lower your prices, surrender your code. `. `' We will add your hardware and software distinctiveness to `- our own. Resistance is futile. |