[MPlayer-users] Local related weird compile bug

ismail donmez dawson3k at myrealbox.com
Wed Jul 31 18:54:01 CEST 2002

Hash: SHA1

I set my LC_ALL variable to "tr_TR" ( for Turkish ) in /etc/profile and 
when I try to compile mplayer . I get

make -C vidix
make[1]: Entering directory `/home/cartman/main/vidix'
gcc -c -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer 
vidixlib.o vidixlib.c
ar r libvidix.a vidixlib.o
make[2]: Entering directory `/home/cartman/main/vidix/drivers'
gcc -c -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer 
-Wall -W -o radeon_vid.o radeon_vid.c
radeon_vid.c:806: `DEVICE_ATI_RADEON_MOBILITY_M6' undeclared here (not 
in a function)
radeon_vid.c:806: initializer element is not constant
radeon_vid.c:806: (near initialization for `ati_card_ids[1]')
radeon_vid.c:807: `DEVICE_ATI_RADEON_MOBILITY_M62' undeclared here (not 
in a function)
radeon_vid.c:807: initializer element is not constant
radeon_vid.c:807: (near initialization for `ati_card_ids[2]')
radeon_vid.c:808: `DEVICE_ATI_RADEON_MOBILITY_M63' undeclared here (not 
in a function)
radeon_vid.c:808: initializer element is not constant
radeon_vid.c:808: (near initialization for `ati_card_ids[3]')
make[2]: *** [radeon_vid.o] Error 1
make[2]: Leaving directory `/home/cartman/main/vidix/drivers'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/cartman/main/vidix'
make: *** [vidix/libvidix.a] Error 2

I f I do
export LC_ALL=POSIX before compilation it compiles without a hitch.

And here is the system info :

Slackware 8.0

bash-2.05$ uname -a
Linux southpark 2.4.18-wolk3.5rc3 #2 Cum Tem 5 11:59:20 EEST 2002 i686

bash-2.05$ ls -l /lib/libc[.-]*
- -rwxr-xr-x    1 root     root      4783716 May 26  2001 /lib/libc-2.2.3.so
- -rwxr-xr-x    1 root     root      1226664 Oca 25  2002 /lib/libc-2.2.5.so
lrwxrwxrwx    1 root     root           13 May 31 19:22 /lib/libc.so.6
- -> libc-2.2.5.so

bash-2.05$ X -version

XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 January 2002
~        If the server is older than 6-12 months, or if your card is
~        newer than the above date, look for a newer version before
~        reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.17 i686 [ELF]
Module Loader present

bash-2.05$ ld -v
GNU ld version (with BFD

bash-2.05$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/specs
gcc version 2.95.3 20010315 (release)

bash-2.05$ as --version
GNU assembler

bash-2.05$ gtk-config --version

bash-2.05$ glib-config --version

and   libpng-1.0.11 .

- --
Public Key Id : 0x6CA8FD1E
Key server : www.keyserver.net
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with MultiZilla - http://enigmail.mozdev.org


More information about the MPlayer-users mailing list