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 09-05-2004, 01:20 AM   #1
murffatksig
LQ Newbie
 
Registered: Jun 2004
Location: Atlanta
Distribution: Arch, Fedora
Posts: 11

Rep: Reputation: 0
MythTV wont compile


I'm running ArchLinux, I'm trying to compile MythTV and I'm getting the following output:


**********************************************************************
[gtmurff@mackeson mythtv-0.15.1]$ make
cd libs && make -f Makefile
make[1]: Entering directory `/home/gtmurff/My Downloads/mythtv-0.15.1/libs'
cd libavcodec && make -f Makefile
make[2]: Entering directory `/home/gtmurff/My Downloads/mythtv-0.15.1/libs/libavcodec'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/home/gtmurff/My Downloads/mythtv-0.15.1/libs/libavcodec'
cd libavformat && make -f Makefile
make[2]: Entering directory `/home/gtmurff/My Downloads/mythtv-0.15.1/libs/libavformat'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/home/gtmurff/My Downloads/mythtv-0.15.1/libs/libavformat'
cd libmyth && make -f Makefile
make[2]: Entering directory `/home/gtmurff/My Downloads/mythtv-0.15.1/libs/libmyth'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/home/gtmurff/My Downloads/mythtv-0.15.1/libs/libmyth'
cd libmythtv && make -f Makefile
make[2]: Entering directory `/home/gtmurff/My Downloads/mythtv-0.15.1/libs/libmythtv'
g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer `freetype-config --cflags` -D_REENTRANT -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX -DUSING_IVTV -DUSING_XV -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/opt/qt/mkspecs/default -I. -I/usr/local/include -I../libmyth -I.. -Idvbdev -I../libavcodec -I/opt/qt/include -o RTjpegN.o RTjpegN.cpp
RTjpegN.cpp: In member function `int RTjpeg::b2s(int16_t*, int8_t*, uint8_t)':
RTjpegN.cpp:136: error: ISO C++ forbids cast to non-reference type used as lvalue
RTjpegN.cpp:145: error: ISO C++ forbids cast to non-reference type used as lvalue
RTjpegN.cpp:174: error: ISO C++ forbids cast to non-reference type used as lvalue
RTjpegN.cpp:186: error: ISO C++ forbids cast to non-reference type used as lvalue
RTjpegN.cpp:203: error: ISO C++ forbids cast to non-reference type used as lvalue
RTjpegN.cpp:224: error: ISO C++ forbids cast to non-reference type used as lvalue
RTjpegN.cpp:234: error: ISO C++ forbids cast to non-reference type used as lvalue
RTjpegN.cpp:241: error: ISO C++ forbids cast to non-reference type used as lvalue
make[2]: *** [RTjpegN.o] Error 1
make[2]: Leaving directory `/home/gtmurff/My Downloads/mythtv-0.15.1/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/home/gtmurff/My Downloads/mythtv-0.15.1/libs'
make: *** [sub-libs] Error 2
*******************************************************************************

anyone got any ideas?
 
Old 09-05-2004, 05:08 AM   #2
murffatksig
LQ Newbie
 
Registered: Jun 2004
Location: Atlanta
Distribution: Arch, Fedora
Posts: 11

Original Poster
Rep: Reputation: 0
I tried getting the source from CVS and it compiled. Now I just have to get it configured.

Murff
 
  


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
MythTV Install: compile errors dialogbox.cpp shubb Linux - Software 0 09-14-2005 01:00 PM
Mythtv + DVB + Compile error Suinatsa Slackware 0 07-04-2004 01:12 PM
Can't compile MythTV Onizuka-sensei Linux - Software 0 10-13-2003 10:36 AM
why wont it compile? saturn_vk Linux - Software 11 03-30-2003 07:11 AM
QT, urm. It wont compile anything. f0d Programming 1 04-24-2002 04:25 PM

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

All times are GMT -5. The time now is 08:51 PM.

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