LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 04-27-2004, 08:57 PM   #1
hydroxy
LQ Newbie
 
Registered: Apr 2004
Posts: 7

Rep: Reputation: 0
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'
 
Old 04-28-2004, 11:30 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
If you can get the source rpm you should be able to use that.
 
Old 04-28-2004, 11:51 AM   #3
hydroxy
LQ Newbie
 
Registered: Apr 2004
Posts: 7

Original Poster
Rep: Reputation: 0
which source rpm would that be?

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.....

Last edited by hydroxy; 04-29-2004 at 02:40 AM.
 
Old 04-28-2004, 04:37 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
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.
 
Old 04-28-2004, 07:01 PM   #5
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Are you positive that quicktime works with 64 bit?AFAIK there is only a 32 bit binary for the codec available that doesn't play work with 64 bit.
 
Old 04-28-2004, 11:03 PM   #6
hydroxy
LQ Newbie
 
Registered: Apr 2004
Posts: 7

Original Poster
Rep: Reputation: 0
yeah

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.
 
Old 04-29-2004, 01:39 AM   #7
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
You might want to have a look here:
http://www.gentoo.org/proj/en/base/a...?part=2&chap=4

don't know how mandrake handles 32 bit compatability.

Last edited by crashmeister; 04-29-2004 at 01:41 AM.
 
Old 05-12-2004, 03:55 PM   #8
nuketemala
LQ Newbie
 
Registered: Apr 2004
Posts: 13

Rep: Reputation: 0
right , I have a 64 chip running suse in 32 bit mode and software runs fine.
even the crossoffice works like a charm
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling programs from source Frank Leone Linux - Newbie 3 10-30-2005 01:47 AM
Compiling Programs from Source-help orisma Linux - Newbie 6 03-03-2005 07:57 AM
Compiling programs from source rpms coolfrog Linux - General 1 09-10-2004 03:17 PM
Compiling 2.6.9-rc1-mm4 from source... DavidTempler Linux - General 3 09-08-2004 05:41 AM
Canon i560 Turboprint and Mandrake AMD64 10.0 RC1 DShad Mandriva 0 05-04-2004 10:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration