Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
02-27-2004, 05:00 PM
|
#1
|
LQ Newbie
Registered: Feb 2004
Location: St. Petersburg, Russia
Distribution: SlackWare Linux current
Posts: 2
Rep:
|
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
How can i fix it???
|
|
|
02-27-2004, 05:39 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
02-27-2004, 06:02 PM
|
#3
|
LQ Newbie
Registered: Feb 2004
Location: St. Petersburg, Russia
Distribution: SlackWare Linux current
Posts: 2
Original Poster
Rep:
|
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 (
|
|
|
03-18-2004, 09:28 AM
|
#4
|
LQ Newbie
Registered: Mar 2004
Posts: 1
Rep:
|
remove __attribute_const__
remove __attribute_const__ from the inline function definition, everything seem to be OK!
|
|
|
10-22-2004, 04:44 PM
|
#5
|
Member
Registered: Oct 2004
Location: Poland
Distribution: yoper
Posts: 53
Rep:
|
i'm kind of fresh and i have this problem - what should i change and in what file ? kernel files or mplayer files
|
|
|
All times are GMT -5. The time now is 05:48 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|