Compiling programs from source in Mandrake 10 AMD64 RC1
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.
Compiling programs from source in Mandrake 10 AMD64 RC1
I am attempting to "make" xmovie-1.9.12 from source code (taken from sourceforge.net). Why? It supports quicktime and I decided to examine the claims that Linux allows people to take advantage of AMD64 by recompiling programs. So, I installed a lot of development packages from the mandrake cds and then downloaded the code. Then I opened up a SU shell and ran "./configure" and "make". Make ran for a while and eventually terminated with an error.I have read the "README" files associated with compiling quicktime 4 linux and it mentions something about setting "CFLAGS" manually. I have tried Google but can't seem to find anything relevant.
Anyway, if someone could please tell me which specific libraries are responsible for the following errors I'd appreciate it. What the hell are mm_flags? Mandrake won me over with the installer but maybe I'd save more time going w/ something else? Pointing me to RPM's is not the point here. I want to compile!
make[2]: Entering directory `/home/hydroxy/xmovie-1.9.12/xmovie'
g++ -o x86_64/xmovie `cat x86_64/libs`
../quicktime/x86_64/libquicktime.a(asv1.o)(.text+0x4a7): In function `decode_frame':
: undefined reference to `mm_flags'
../quicktime/x86_64/libquicktime.a(asv1.o)(.text+0x6aa): In function `encode_frame':
: undefined reference to `mm_flags'
../quicktime/x86_64/libquicktime.a(cljr.o)(.text+0x283): In function `decode_frame':
: undefined reference to `mm_flags'
../quicktime/x86_64/libquicktime.a(dsputil.o)(.text+0x18fa6): In function `dsputil_init':
: undefined reference to `dsputil_init_mmx'
../quicktime/x86_64/libquicktime.a(dv.o)(.text+0xdf1): In function `dvvideo_decode_frame':
: undefined reference to `mm_flags'
../quicktime/x86_64/libquicktime.a(ffv1.o)(.text+0xcd6): In function `encode_frame':
: undefined reference to `mm_flags'
../quicktime/x86_64/libquicktime.a(ffv1.o)(.text+0x1899): In function `decode_frame':
: undefined reference to `mm_flags'
../quicktime/x86_64/libquicktime.a(huffyuv.o)(.text+0x3bea): In function `draw_slice':
: undefined reference to `mm_flags'
../quicktime/x86_64/libquicktime.a(huffyuv.o)(.text+0x4b10): In function `decode_frame':
: undefined reference to `mm_flags'
../quicktime/x86_64/libquicktime.a(huffyuv.o)(.text+0x5624): more undefined references to `mm_flags' follow
../quicktime/x86_64/libquicktime.a(mpegvideo.o)(.text+0x4fd): In function `DCT_common_init':
: undefined reference to `MPV_common_init_mmx'
../quicktime/x86_64/libquicktime.a(mpegvideo.o)(.text+0x37cf): In function `MPV_frame_end':
: undefined reference to `mm_flags'
../quicktime/x86_64/libquicktime.a(mpegvideo.o)(.text+0x4e35): In function `select_input_picture':
: undefined reference to `mm_flags'
../quicktime/x86_64/libquicktime.a(mpegvideo.o)(.text+0x662e): In function `ff_draw_horiz_band':
: undefined reference to `mm_flags'
../quicktime/x86_64/libquicktime.a(mpegvideo.o)(.text+0x8939): In function `encode_picture':
: undefined reference to `mm_flags'
../quicktime/x86_64/libquicktime.a(mpegvideo.o)(.text+0xad70): In function `encode_picture':
: undefined reference to `mm_flags'
../quicktime/x86_64/libquicktime.a(ratecontrol.o)(.text+0x102): more undefined references to `mm_flags' follow
../quicktime/x86_64/libquicktime.a(fft.o)(.text+0x197): In function `fft_init':
: undefined reference to `mm_support'
../quicktime/x86_64/libquicktime.a(fft.o)(.text+0x34d): In function `fft_init':
: undefined reference to `fft_calc_sse'
collect2: ld returned 1 exit status
make[2]: *** [x86_64/xmovie] Error 1
make[2]: Leaving directory `/home/hydroxy/xmovie-1.9.12/xmovie'
Which source RPM do you mean? I have the source code to the application that I'm compiling but I need to figure out where to set "CFLAGS" and define mm_flags and such. I've sort of given up on this application unless someone can point me in the right direction.
I'm currently working on compiling gDesklets. but the number of dependencies is turning out to be an infinite chain. And the best part is that I can't find the RPMs (at least not of the proper version or on the public mirrors) I need.... this is just AWESOME.....
just if you would like to use rpms (if you can find the ones you need). You can use .src.rpm files which are the source code in an rpm. You can build it like any other source code, except the result is an rpm file for your system.
Well, AMD 64 processors running in a 64 bit OS *should* still be able to execute 32 bit binaries. Also, recompiling an application from its source code *should* allow the compiler to optimize the new binary to take advantage of all the extra registers and such that Athlon64 processors provide.
This is the way it "should" work. I've been trying to compile gDesktlets from source (because I can't find an RPM) and that dependencies are driving me insane.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.