Mplayer compilation problem on linux 2.6.3 gcc 3.3.3 glibc 2.3.2
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Mplayer compilation problem on linux 2.6.3 gcc 3.3.3 glibc 2.3.2
I use linux 2.6.3 with it's headers in /usr/include/linux/. When I try to compile mplayer (CVS-20040218 and 1.0pre3)and some other softwre (like grip), i receive the following errors:
make[1]: Entering directory `/usr/src/MPlayer-20040218/libmpdemux'
cc -c -I../libvo/ -I../../libvo -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -I../loader -o stream_vcd.o stream_vcd.c
In file included from /usr/include/linux/cdrom.h:14,
from vcd_read.h:7,
from stream_vcd.c:23:
/usr/include/asm/byteorder.h:14: error: syntax error before "__u32"
/usr/include/asm/byteorder.h:28: error: syntax error before "__u64"
In file included from /usr/include/linux/byteorder/little_endian.h:11,
from /usr/include/asm/byteorder.h:57,
from /usr/include/linux/cdrom.h:14,
from vcd_read.h:7,
from stream_vcd.c:23:
/usr/include/linux/byteorder/swab.h:133: error: syntax error before "__u16"
/usr/include/linux/byteorder/swab.h:146: error: syntax error before "__u32"
/usr/include/linux/byteorder/swab.h:160: error: syntax error before "__u64"
make[1]: *** [stream_vcd.o] Error1
make[1]: Leaving directory `/usr/src/MPlayer-20040218/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2
can you compile a standard release? if not then i'd suggest mailing the mplayer-users email list for more specific help. CVS can't be guarenteed to compile correctly at any time.
I can't compile not only mplayer. I think the problem is somewhere in my kernel headers, or gcc, or glibc... But I don't know where is it
Those errors come from incorrect definition of __inline__, may be in linux/compiler.h.
The kernel itself compiles perfectly, but other software, using "inline" in source, fails to compile because of this error (
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.