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.
im running suse 9.1 (64bit) and am trying to install mplayer, after i run ./configure and make, i run make install. this is what i get:
linux:/home/matt/Documents/download/new/MPlayer-1.0pre5 # make install
make -C libvo
make[1]: Entering directory `/home/matt/Documents/download/new/MPlayer-1.0pre5/libvo'
cc -c -I../libvo -I../../libvo -I/usr/X11/include -O4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I/usr/include/freetype2 -I/usr/X11/include -I/usr/include/directfb -DMPG12PLAY -o vo_fbdev.o vo_fbdev.c
In file included from /usr/include/asm/pda.h:4,
from /usr/include/asm-x86_64/thread_info.h:14,
from /usr/include/asm/thread_info.h:4,
from /usr/include/linux/thread_info.h:21,
from ../osdep/kerneltwosix.h:4,
from vo_fbdev.c:21:
/usr/include/asm-x86_64/pda.h:26: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm-x86_64/pda.h:26: error: requested alignment is not a constant
In file included from /usr/include/asm/processor.h:4,
from /usr/include/linux/prefetch.h:13,
from /usr/include/linux/list.h:7,
from ../osdep/kerneltwosix.h:5,
from vo_fbdev.c:21:
/usr/include/asm-x86_64/processor.h:229: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm-x86_64/processor.h:229: error: requested alignment is not a constant
make[1]: *** [vo_fbdev.o] Error 1
make[1]: Leaving directory `/home/matt/Documents/download/new/MPlayer-1.0pre5/libvo'
make: *** [libvo/libvo.a] Error 2
linux:/home/matt/Documents/download/new/MPlayer-1.0pre5 #
You may have to specify non-standard library locations on the command line: ./configure --enable-gui --libdir=/usr/lib64 --with-x11libdir=/usr/X11R6/lib64
If all else fails, but you don't necessarily need fbdev support, you can leave it out; there ought to be a switch like --without-fbdev (check ./configure --help to see all switches)
i tired both, im still getting the same error when i 'make' i tried --disable-fbdev but im still getting the same error, i guess i'll fidget with the swiches a bit more, anyother ideas?
Well, given the filenames it looks like the problem is not with mplayer but with the system headers... So I think best bet is to make sure your system is up-to-date (in SuSE that's quite easy I think) or else file a bug report with SuSE...
Best to use the SuSE online update tool (YOU) and look for any newer-version packages that have to do with gcc (the compiler), or with the 'development' category in general -- 'cos the /usr/include/asm-<arch> directories are mainly used by the compiler and linker, so (hopefully) upgrading that may upgrade those files.
Hope you get it working -- when I first compiled mplayer it ran about twice as fast as the precompiled package so it's worth the trouble...
Originally posted by smb2004 im running suse 9.1 (64bit) and am trying to install mplayer, after i run ./configure and make, i run make install. this is what i get:
linux:/home/matt/Documents/download/new/MPlayer-1.0pre5 # make install
[...]
does anybody have any ideas? thanks!
Try CVS version. There's been some developement going on regarding 64bit support lately.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.