LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   errors running a slackbuild. (http://www.linuxquestions.org/questions/linux-software-2/errors-running-a-slackbuild-696624/)

garyg007 01-11-2009 10:04 PM

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

deepsix 01-11-2009 11:00 PM

are you using a 32 bit processor?

garyg007 01-11-2009 11:35 PM

Quote:

Originally Posted by deepsix (Post 3405209)
are you using a 32 bit processor?

Yes I am.
it is an Intel Celeron 3.06 ghz

Gary

deepsix 01-11-2009 11:53 PM

Quote:

Originally Posted by garyg007 (Post 3405238)
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...

knudfl 01-12-2009 10:23 AM

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

garyg007 01-12-2009 11:26 AM

Quote:

Originally Posted by knudfl (Post 3405857)
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()'


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