problem compiling mplayer
./configure doesn't give errors but when i make i get this:
In file included from /usr/include/asm/thread_info.h:13, from /usr/include/linux/thread_info.h:21, from ../osdep/kerneltwosix.h:4, from vo_fbdev.c:21: /usr/include/asm/processor.h:68: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/asm/processor.h:68: error: requested alignment is not a constant make[1]: *** [vo_fbdev.o] Error 1 make[1]: Leaving directory `/home/foust/dwnlds/mplayer/MPlayer-20040904/libvo' make: *** [libvo/libvo.a] Error 2 those are the last few lines of make before it terminated. i don't know if i'm going to have to edit source code for this or not. if i do i'll need help. anyway, i'm using kernel 2.6.0-15 and gcc version 3.3.1. my distro is turbolinux 10f. this mplayer file i downloaded is the latest cvs snapshot : Mplayer-1.Opre5.tar.bz2. if anyone knows what to do for this problem please let me know. thanks. |
This just looks like some sort of version mismatch, in which case editing source code would only make matters worse. Can you upgrade to a more recent kernel? Maybe try 2.6.7? Plenty of people must have compiled the latest Mplayer with that.
|
If it's Turbo Linux then make sure your using an official "paid for" version and not the promo. The promo lacks various common libraries and tools for compiling such programs.
|
i was thinking there is a version problem with something
Based on the output from make i thought this may be a version issue with something. i can't really tell though, because i'm not really getting a specific kernel error or an internel gcc error or anything. it just looks like buggy code more than anything else. if it's not a bug, then maybe there is a switch i should be using or something. when i used make i did:
make --prefix=/usr/local --enable-gui --enable-largefiles --enable-runtime-cpudetection i'm not sure what i really needed with the switches, i just tried them based on the make output i posted above. |
Re: i was thinking there is a version problem with something
Quote:
But I don't know why your passing all of these arguments, I do believe they are already enabled except for the GUI portion... Try this when compiling mplayer: ./configure --enable-gui You'll notice its also two dashes in front when throwing options at it. For a full list of configuration options just do a ./configure --help After it configures do: make su or sudo make install Blam, your done. mplayer is one of the easiest media players to install, usually you don't have to do much else. The only downside is when you want more codecs and such, you have to install them and then reconfigure mplayer again so it detects them. |
thanks, but
thanks a lot for all your input but i tried everything. i always got the same result. now get this, i downloaded the previous version of mplayer and it installed fine! now i know something was up with that code whether it was a bug or my system because the previous version installed fine. now i have to figure out what is going on when i try to run mplayer or gmplayer. if i run mplayer from the commandline i get this:
MPlayer 0.93-3.3.1 (C) 2000-2003 MPlayer Team CPU: Advanced Micro Devices (Family: 6, Stepping: 0) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory Reading config file /home/foust/.mplayer/config [cfg] read config file: /home/foust/.mplayer/gui.conf Reading config file /home/foust/.mplayer/gui.conf: No such file or directory mplayer: relocation error: mplayer: undefined symbol: XF86VidModeGetModeLine if i run gmplayer i get the same thing. don't get me wrong the obvious problem is i'm missing config files and there is a problem with XF86VidModeGetModeLine. but does anyone no how to fix that? do i need to do ./configure again with a different switch? and how do i get the config files created? |
Re: thanks, but
Quote:
Judging from your first post, it looks like some problem with frame buffer or something else explicitly related to X. Upgrading might help unless your already at the latest version. The Install how-to on their site is pretty self explanotory. ;) |
I find it best to copy the config files out of the source directory you installed from into your proper directories on your system, where its looking for these files. They will be in the etc directory:
Example: cd ~/MPlayer-0.93/etc cp * ~/.mplayer/ mv ~/.mplayer/example.conf ~/.mplayer/config Then edit the ~/.mplayer/config file to your system specifics, etc. |
All times are GMT -5. The time now is 10:36 PM. |