LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-11-2009, 10:04 PM   #1
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279
Blog Entries: 1

Rep: Reputation: 31
errors running a slackbuild.


I downloaded the mythtv slackbuild. It failed well into the compile. I'm not sure where to turn --- is this a problem with ffmpeg, or mythtv or slackbuild or maybe with my system. Here is a cut-n-past of the tail end of the make:
Quote:
/usr/include/artsc/../libavutil/common.h: In function 'int ff_get_fourcc(const char*)':
/usr/include/artsc/../libavutil/common.h:249: error: redefinition of 'int ff_get_fourcc(const char*)'
../libavutil/common.h:214: error: 'int ff_get_fourcc(const char*)' previously defined here
/usr/include/artsc/../libavutil/common.h: In function 'uint64_t read_time()':
/usr/include/artsc/../libavutil/common.h:327: error: declaration of C function 'uint64_t read_time()' conflicts with
../libavutil/common.h:301: error: previous declaration 'long long int read_time()' here
/usr/include/artsc/../libavutil/common.h:327: warning: redundant redeclaration of 'uint64_t read_time()' in same scope
../libavutil/common.h:301: warning: previous declaration of 'long long int read_time()'
mpeg/pespacket.cpp: In member function 'uint PESPacket::CalcCRC() const':
mpeg/pespacket.cpp:160: error: 'av_crc04C11DB7' was not declared in this scope
make[2]: *** [pespacket.o] Error 1
make[2]: Leaving directory `/tmp/SBo/mythtv-0.21/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/tmp/SBo/mythtv-0.21/libs'
make: *** [sub-libs] Error 2
Any help appreciated

Gary
 
Old 01-11-2009, 11:00 PM   #2
deepsix
Member
 
Registered: Apr 2003
Distribution: ANY
Posts: 339

Rep: Reputation: 32
are you using a 32 bit processor?
 
Old 01-11-2009, 11:35 PM   #3
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by deepsix View Post
are you using a 32 bit processor?
Yes I am.
it is an Intel Celeron 3.06 ghz

Gary
 
Old 01-11-2009, 11:53 PM   #4
deepsix
Member
 
Registered: Apr 2003
Distribution: ANY
Posts: 339

Rep: Reputation: 32
Quote:
Originally Posted by garyg007 View Post
Yes I am.
it is an Intel Celeron 3.06 ghz

Gary

packages are setup for both types of processors....
looks like this one is looking for a 64 bit...


if you got the wrong one...or I guessed wrong .... try compiling from source...thats the best bet always...

Last edited by deepsix; 01-11-2009 at 11:55 PM.
 
Old 01-12-2009, 10:23 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Yes, what is wrong ??
Mythtv-0.21, Slackbuild, Slackware 12.2 > >
compiles with no errors ( a very few warnings )

Difference : The processor on my Slackware 12.2
computer is Intel Pentium 4, 2.4 GHz.

And the only dependency asked for is 'lame',
all required ffmpeg stuff is included in the
'mythtv' source code package.
....
 
Old 01-12-2009, 11:26 AM   #6
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by knudfl View Post
Yes, what is wrong ?? ....
Thats kind of what I was asking!


Quote:
Originally Posted by deepsix
packages are setup for both types of processors....
looks like this one is looking for a 64 bit.
Thank you for the response; I checked the slackbuild,after reading your response; and,indeed, the build was set up for 64 bit as a default.

If ffmpeg is included in the mythtv package, as knudfl suggested, then I believe that explains the problem (I already have ffmpeg installed); The intel cpu is actually a 64 bit processor; but my install of slackware 12.2 is configured as 32 bit. The build's default is for a 64 bit processor

Thanks, deepsix

Gary

EDIT: Compile just finished; Still a bunch of errors, but they are different -- here is a short cut-n-past:
Quote:
/usr/include/artsc/../libavutil/common.h: At global scope:
/usr/include/artsc/../libavutil/common.h:244: warning: redundant redeclaration of 'int64_t ff_gcd(int64_t, int64_t)' in same scope
../libavutil/common.h:209: warning: previous declaration of 'int64_t ff_gcd(int64_t, int64_t)'
/usr/include/artsc/../libavutil/common.h: In function 'int ff_get_fourcc(const char*)':
/usr/include/artsc/../libavutil/common.h:249: error: redefinition of 'int ff_get_fourcc(const char*)'
../libavutil/common.h:214: error: 'int ff_get_fourcc(const char*)' previously defined here
/usr/include/artsc/../libavutil/common.h: In function 'uint64_t read_time()':
/usr/include/artsc/../libavutil/common.h:327: error: declaration of C function 'uint64_t read_time()' conflicts with
../libavutil/common.h:301: error: previous declaration 'long long int read_time()'

Last edited by garyg007; 01-12-2009 at 11:32 AM.
 
  


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
errors while running emerde on slackware 12.1 konqi Linux - Software 1 07-29-2008 09:46 AM
Madwifi slackbuild errors... uglydot Slackware 6 12-15-2006 03:10 PM
errors running make no.4 Linux - Newbie 7 09-20-2006 03:58 PM
Errors When Running My Backup Script cdurante Red Hat 4 12-28-2005 11:45 AM
Errors when running KDE arubin Linux - Newbie 3 04-29-2004 02:15 AM

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

All times are GMT -5. The time now is 06:11 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