[Cooker] gettext problem
Altough havinf installed gettext and gettext-devel packages (last version), i get those error messages when trying to compile toutdoux main.o: In function `main': /home/guillaume/ToutDoux-1.2.3/app/main.c:131: undefined reference to `dcgettext__' /home/guillaume/ToutDoux-1.2.3/app/main.c:132: undefined reference to `dcgettext__' /home/guillaume/ToutDoux-1.2.3/app/main.c:157: undefined reference to `dcgettext__' dialog.o: In function `quit_toutdoux': /home/guillaume/ToutDoux-1.2.3/app/dialog.c:125: undefined reference to `dcgettext__' /home/guillaume/ToutDoux-1.2.3/app/dialog.c:141: undefined reference to `dcgettext__' dialog.o:/home/guillaume/ToutDoux-1.2.3/app/dialog.c:142: more undefined references to `dcgettext__' follow I've checked gettext package, there isn't any library inside. Is this normal ? Do i need additional packages ? -- Guillaume Rousse Iremia - Université de la Réunion Plus petites unités de mesure - de longueur : le millimètre - de volume : le millilitre - d'intelligence : le militaire
Re: [Cooker] gettext problem
Guillaume Rousse [EMAIL PROTECTED] writes: Altough havinf installed gettext and gettext-devel packages (last version), i get those error messages when trying to compile toutdoux gettext-devel is only for broken glibc. you should not install it with Linux-Mandrake. (yes, "why is it in the distrib so?") main.o: In function `main': /home/guillaume/ToutDoux-1.2.3/app/main.c:131: undefined reference to `dcgettext__' this happens when the headers are not in sync with the libraries.. or when the libraries have been compiled with different options as the program you're trying to compile, surch as "-frtti -fexceptions".. a fix would probably be to use the same options as the options used by our compilations. try CFLAGS="-O3 -fomit-frame-pointer -pipe -s -march=pentium -mcpu=pentiumpro -ffast-math -fexpensive-optimizations" -- Guillaume Cottenceau -- Distribution Developer for MandrakeSoft http://www.mandrakesoft.com/~gc/