LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-17-2005, 10:30 PM   #1
dtra
Member
 
Registered: Nov 2004
Distribution: fc4
Posts: 104

Rep: Reputation: 15
faad compile problem make not working


hi all

just downloaded faad2-2.0
ran configure with --with-drm --with-mp4v2 (also just ran configure straight)
seemed to run fine, but when i try to run make i get this
Makefile:447: *** missing separator. Stop.

can anyone help me, i am a linux novice
using redhat 9 with bash

thanks
dave
 
Old 04-17-2005, 10:53 PM   #2
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Yea... Minor annoyance.... I could tell you straight up what to do but I have a fettish with patches...

Code:
--- faad2.orig/Makefile.in	2005-04-12 23:30:45.000000000 -0400
+++ faad2/Makefile.in	2005-04-12 23:33:09.841198120 -0400
@@ -607,10 +607,10 @@
 	tags tags-recursive uninstall uninstall-am uninstall-info-am
 
 
-rpm:    Makefile
-       make dist
-       $(RPMBUILD) -ta $(PACKAGE)-$(VERSION).tar.gz
-       rm $(PACKAGE)-$(VERSION).tar.gz
+#rpm:    Makefile
+#       make dist
+#       $(RPMBUILD) -ta $(PACKAGE)-$(VERSION).tar.gz
+#       rm $(PACKAGE)-$(VERSION).tar.gz
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
Copy all of that into a text file and name it "faad2-fix.patch". Then put it into a freshly un-tared faad2 directory.

cd faad2
patch -Np1 -i faad2-fix.patch

Then run your configure like you normally do. Add --with-xmms and you'll get an .mp4/.m4a plugin for xmms... Nice thing to have...

Last edited by jong357; 04-17-2005 at 11:00 PM.
 
Old 04-17-2005, 11:04 PM   #3
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
And, to kill 2 birds with one stone for future people running GCC 3.4.x, you need this one as well....

Code:
--- faad2.orig/common/mp4v2/mp4property.h	2003-06-29 18:41:00.000000000 -0400
+++ faad2/common/mp4v2/mp4property.h	2005-04-13 00:28:20.736865472 -0400
@@ -58,7 +58,7 @@
 		return m_name;

 	}

 

-	virtual MP4PropertyType GetType() = NULL; 

+	virtual MP4PropertyType GetType() = 0; 

 

 	bool IsReadOnly() {

 		return m_readOnly;

@@ -74,17 +74,17 @@
 		m_implicit = value;

 	}

 

-	virtual u_int32_t GetCount() = NULL;

-	virtual void SetCount(u_int32_t count) = NULL;

+	virtual u_int32_t GetCount() = 0;

+	virtual void SetCount(u_int32_t count) = 0;

 

 	virtual void Generate() { /* default is a no-op */ };

 

-	virtual void Read(MP4File* pFile, u_int32_t index = 0) = NULL;

+	virtual void Read(MP4File* pFile, u_int32_t index = 0) = 0;

 

-	virtual void Write(MP4File* pFile, u_int32_t index = 0) = NULL;

+	virtual void Write(MP4File* pFile, u_int32_t index = 0) = 0;

 

 	virtual void Dump(FILE* pFile, u_int8_t indent,

-		bool dumpImplicits, u_int32_t index = 0) = NULL;

+		bool dumpImplicits, u_int32_t index = 0) = 0;

 

 	virtual bool FindProperty(const char* name,

 		MP4Property** ppProperty, u_int32_t* pIndex = NULL);

--- faad2.orig/common/mp4v2/rtphint.h	2003-06-29 18:41:00.000000000 -0400
+++ faad2/common/mp4v2/rtphint.h	2005-04-13 00:47:55.386291616 -0400
@@ -35,8 +35,8 @@
 		return m_pPacket;

 	}

 

-	virtual u_int16_t GetDataSize() = NULL;

-	virtual void GetData(u_int8_t* pDest) = NULL;

+	virtual u_int16_t GetDataSize() = 0;

+	virtual void GetData(u_int8_t* pDest) = 0;

 

 	MP4Track* FindTrackFromRefIndex(u_int8_t refIndex);
You can name that one "gcc-3.4-fix.patch"
 
Old 04-17-2005, 11:51 PM   #4
dtra
Member
 
Registered: Nov 2004
Distribution: fc4
Posts: 104

Original Poster
Rep: Reputation: 15
thanks for your reply

nm, i am not even using the x server so i don't think xmms will be much use
it should all be cool now, thanks again

Last edited by dtra; 04-18-2005 at 12:37 AM.
 
Old 10-05-2005, 04:41 AM   #5
nirav.jani
Member
 
Registered: Nov 2004
Location: Hyderabad, India
Distribution: Fedora Core - II, RedHat - 9
Posts: 45

Rep: Reputation: 15
I was searching faad2's official website that is
http://www.audiocoding.com/
but didn't got solutions there, thanx to linuxquestions.org
i got it here.
nirav
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Kernel compile fails with make-kpkg, not with make cspos Debian 37 11-09-2005 09:11 AM
capturing output of 'faad -i'.... bulliver Programming 3 09-18-2005 06:51 PM
mplayer and faad or AAC or whatever Rogue Jedi X Linux - Software 1 02-26-2005 03:26 AM
faad not available error! p3_141597i Linux - Software 0 10-23-2004 09:07 PM
mplayer: faad assumes wrong sample rate Hmm ^_^ Linux - Software 1 09-14-2004 02:47 AM


All times are GMT -5. The time now is 10:22 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration