View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 18 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Mar 22, 2005 1:42 pm 
Offline
Joined: Fri Jan 21, 2005 9:14 am
Posts: 124
Location: New York
Hi all,

I am not ready to make the leap to v0.17, mainly because of the WAF factor. However, one thing I'd like to do iwith my R4V5 system is patch mythbackend to fix the fd leak for remote frontends (to reclaim deleted file space w/o rebooting).

I manually applied the patch to playbacksock.cpp and mainserver.cpp, but I'm having no luck making mythbackend. I set the paths and symlinks as instructed on the main MythTV howto, but I'm still getting many errors. I'm not home now so I can't post the log. I suspect KnoppMyth R4V5 is missing all the pieces necessary to make mythbackend and I'm whistling in the wind. If this is true, what's missing? What's the least invasive way to compile just this one program without breaking anything else?

TIA,
Russell


Top
 Profile  
 
PostPosted: Tue Mar 22, 2005 1:48 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Russ wrote:
I suspect KnoppMyth R4V5 is missing all the pieces necessary to make mythbackend and I'm whistling in the wind.
I suspect you are wrong. Without know what errors you are encountering, we cannot help. Have you read the posts on compiling MythTV? Have you read the MythTV docs?

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 22, 2005 2:37 pm 
Offline
Joined: Wed Feb 18, 2004 9:07 pm
Posts: 89
What's "the WAF factor"?

_________________
R5Fxx

Home-Brewed Mythic Dragon Clone
200GB WD IDE /myth
2x250GB WD IDE (lvm) /myth/tv


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 22, 2005 2:55 pm 
Offline
Joined: Fri Jan 21, 2005 9:14 am
Posts: 124
Location: New York
cesman: I have read the docs and posts on compiling MythTV, but I admit not exhaustively. I am still learning the linux/cvs programming environment and know just enough to really mess things up. I apologize for my lack of research, which really stems from being time-limited and not for want of mastering the MythTV ropes.

I'll post my logs tonight.

bshroyer: WAF = Wife and Family. They're raging Mythaholics :)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 22, 2005 3:23 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Another definition is:Wife acceptance factor.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 22, 2005 10:34 pm 
Offline
Joined: Fri Jan 21, 2005 9:14 am
Posts: 124
Location: New York
Okay, here is the environment:
Code:
root@myth: # echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/games:/usr/lib/qt3/bin
root@myth: # echo $QTDIR
/usr/lib/qt3
root@myth: # ls -la /usr/lib/qt3/mkspecs
total 8
drwxr-xr-x    2 root     root         4096 Mar 22 05:09 .
drwxr-xr-x    4 root     root         4096 Mar 22 05:09 ..
lrwxrwxrwx    1 root     root            9 Mar 22 05:09 default -> linux-g++
root@myth: # cat /etc/ld.so.conf
/lib
/usr/lib
/usr/X11R6/lib
/usr/i486-linuxlibc1/lib
/usr/local/lib
root@myth: #

This is what happens when I try to make mythbackend:
Code:
root@myth: # cd /usr/src/r4v5_src/mythtv-0.16/src/mythtv-0.16/programs/mythbackend
root@myth: # qmake mythbackend.pro
root@myth: # make
g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer -D_REENTRANT  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX -DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OSS -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I../../libs/libmythtv -I../../libs/libmyth -I../../libs -I../../../../../../../local/include -I/usr/lib/qt3/include -o autoexpire.o autoexpire.cpp
autoexpire.cpp:2:26: qsqldatabase.h: No such file or directory
autoexpire.cpp:3:23: qsqlquery.h: No such file or directory
autoexpire.cpp:4:21: qregexp.h: No such file or directory
autoexpire.cpp:5:21: qstring.h: No such file or directory
autoexpire.cpp:6:23: qdatetime.h: No such file or directory
In file included from autoexpire.cpp:20:
autoexpire.h:7:19: qmap.h: No such file or directory
autoexpire.h:10:20: qmutex.h: No such file or directory
autoexpire.h:11:21: qobject.h: No such file or directory
In file included from autoexpire.cpp:20:
autoexpire.h:16: error: syntax error before `{' token
autoexpire.h:19: error: destructors must be member functions
autoexpire.h:24: error: syntax error before `protected'
autoexpire.h:28: error: syntax error before `private'
autoexpire.h:41: error: syntax error before `}' token
In file included from autoexpire.cpp:22:
../../libs/libmythtv/programinfo.h:6:26: qsqldatabase.h: No such file or directory
../../libs/libmythtv/programinfo.h:7:21: qstring.h: No such file or directory
../../libs/libmythtv/programinfo.h:8:23: qdatetime.h: No such file or directory
../../libs/libmythtv/programinfo.h:9:18: qmap.h: No such file or directory
In file included from autoexpire.cpp:22:
../../libs/libmythtv/programinfo.h:108: error: syntax error before `*' token
../../libs/libmythtv/programinfo.h:110: error: syntax error before `&' token
../../libs/libmythtv/programinfo.h:115: error: syntax error before `&' token
../../libs/libmythtv/programinfo.h:119: error: syntax error before `&' token
../../libs/libmythtv/programinfo.h:129: error: `QWidget' was not declared in
   this scope
../../libs/libmythtv/programinfo.h:129: error: `parent' was not declared in
   this scope
../../libs/libmythtv/programinfo.h:130: error: `QString' was not declared in
   this scope
../../libs/libmythtv/programinfo.h:130: error: syntax error before `=' token
../../libs/libmythtv/programinfo.h:134: error: syntax error before `)' token
../../libs/libmythtv/programinfo.h:135: error: syntax error before `&' token
../../libs/libmythtv/programinfo.h:137: error: syntax error before `)' token
../../libs/libmythtv/programinfo.h:141: error: `QStringList' was not declared
   in this scope
../../libs/libmythtv/programinfo.h:141: error: use of class template `
   template<class _Tp, class _Alloc> class std::list' as expression
../../libs/libmythtv/programinfo.h:141: error: invalid data member
   initialization
../../libs/libmythtv/programinfo.h:141: error: (use `=' to initialize static
   data members)
../../libs/libmythtv/programinfo.h:141: error: variable or field `ToStringList'
   declared void
../../libs/libmythtv/programinfo.h:142: error: `QStringList' was not declared
   in this scope
../../libs/libmythtv/programinfo.h:142: error: use of class template `
   template<class _Tp, class _Alloc> class std::list' as expression
../../libs/libmythtv/programinfo.h:142: error: syntax error before `)' token
../../libs/libmythtv/programinfo.h:143: error: `QStringList' was not declared
   in this scope
../../libs/libmythtv/programinfo.h:143: error: use of class template `
   template<class _Tp, class _Alloc> class std::list' as expression
../../libs/libmythtv/programinfo.h:143: error: `QStringList' was not declared
   in this scope
../../libs/libmythtv/programinfo.h:143: error: syntax error before `::' token
../../libs/libmythtv/programinfo.h:143: error: `bool
   ProgramInfo::FromStringList(...)' and `bool ProgramInfo::FromStringList(...)
   ' cannot be overloaded
../../libs/libmythtv/programinfo.h:144: error: `QString' was not declared in
   this scope
../../libs/libmythtv/programinfo.h:144: error: `QString' was not declared in
   this scope
../../libs/libmythtv/programinfo.h:144: error: type specifier omitted for
   parameter `QMap<<expression error>, <expression error> >'
../../libs/libmythtv/programinfo.h:144: error: syntax error before `&' token
../../libs/libmythtv/programinfo.h:159: error: `QMap' was not declared in this
   scope
../../libs/libmythtv/programinfo.h:159: error: syntax error before `long'
../../libs/libmythtv/programinfo.h:160: error: `QMap' was not declared in this
   scope
../../libs/libmythtv/programinfo.h:160: error: syntax error before `long'
../../libs/libmythtv/programinfo.h:162: error: `QMap' was not declared in this
   scope
../../libs/libmythtv/programinfo.h:162: error: syntax error before `long'
../../libs/libmythtv/programinfo.h:164: error: `QMap' was not declared in this
   scope
../../libs/libmythtv/programinfo.h:164: error: syntax error before `long'
../../libs/libmythtv/programinfo.h:166: error: `QMap' was not declared in this
   scope
../../libs/libmythtv/programinfo.h:166: error: syntax error before `long'
../../libs/libmythtv/programinfo.h:167: error: `QMap' was not declared in this
   scope
../../libs/libmythtv/programinfo.h:167: error: syntax error before `long'
../../libs/libmythtv/programinfo.h:171: error: `QMap' was not declared in this
   scope
../../libs/libmythtv/programinfo.h:171: error: syntax error before `long'
../../libs/libmythtv/programinfo.h:174: error: `QMap' was not declared in this
   scope
../../libs/libmythtv/programinfo.h:174: error: syntax error before `long'
../../libs/libmythtv/programinfo.h:178: error: `QMap' was not declared in this
   scope
../../libs/libmythtv/programinfo.h:178: error: syntax error before `long'
../../libs/libmythtv/programinfo.h:181: error: `QMap' was not declared in this
   scope
../../libs/libmythtv/programinfo.h:181: error: syntax error before `long'
../../libs/libmythtv/programinfo.h:184: error: `QMap' was not declared in this
   scope
../../libs/libmythtv/programinfo.h:184: error: syntax error before `long'
../../libs/libmythtv/programinfo.h:188: error: syntax error before `)' token
../../libs/libmythtv/programinfo.h:189: error: syntax error before `)' token
../../libs/libmythtv/programinfo.h:190: error: syntax error before `)' token
../../libs/libmythtv/programinfo.h:191: error: syntax error before `)' token
../../libs/libmythtv/programinfo.h:192: error: syntax error before `)' token
../../libs/libmythtv/programinfo.h:196: error: `QString' was not declared in
   this scope
../../libs/libmythtv/programinfo.h:196: error: 'QString' is used as a type, but
   is not defined as a type.
../../libs/libmythtv/programinfo.h:201: error: syntax error before `&' token
../../libs/libmythtv/programinfo.h:204: error: syntax error before `&' token
../../libs/libmythtv/programinfo.h:207: error: syntax error before `&' token
../../libs/libmythtv/programinfo.h:208: error: `static ProgramInfo*
   ProgramInfo::GetProgramFromRecorded(...)' and `static ProgramInfo*
   ProgramInfo::GetProgramFromRecorded(...)' cannot be overloaded
../../libs/libmythtv/programinfo.h:211: error: 'QString' is used as a type, but
   is not defined as a type.
../../libs/libmythtv/programinfo.h:212: error: 'QString' is used as a type, but
   is not defined as a type.
../../libs/libmythtv/programinfo.h:213: error: 'QString' is used as a type, but
   is not defined as a type.
../../libs/libmythtv/programinfo.h:214: error: 'QString' is used as a type, but
   is not defined as a type.
../../libs/libmythtv/programinfo.h:216: error: 'QString' is used as a type, but
   is not defined as a type.
../../libs/libmythtv/programinfo.h:217: error: 'QString' is used as a type, but
   is not defined as a type.
../../libs/libmythtv/programinfo.h:218: error: 'QString' is used as a type, but
   is not defined as a type.
../../libs/libmythtv/programinfo.h:219: error: 'QString' is used as a type, but
   is not defined as a type.
../../libs/libmythtv/programinfo.h:223: error: 'QString' is used as a type, but
   is not defined as a type.
../../libs/libmythtv/programinfo.h:226: error: 'QString' is used as a type, but
   is not defined as a type.
../../libs/libmythtv/programinfo.h:228: error: 'QString' is used as a type, but
   is not defined as a type.
../../libs/libmythtv/programinfo.h:230: error: 'QDateTime' is used as a type,
   but is not defined as a type.
../../libs/libmythtv/programinfo.h:231: error: 'QDateTime' is used as a type,
   but is not defined as a type.
../../libs/libmythtv/programinfo.h:232: error: 'QDateTime' is used as a type,
   but is not defined as a type.
../../libs/libmythtv/programinfo.h:233: error: 'QDateTime' is used as a type,
   but is not defined as a type.
../../libs/libmythtv/programinfo.h:240: error: 'QDate' is used as a type, but
   is not defined as a type.
../../libs/libmythtv/programinfo.h:241: error: 'QDateTime' is used as a type,
   but is not defined as a type.
../../libs/libmythtv/programinfo.h:268: error: 'QString' is used as a type, but
   is not defined as a type.
../../libs/libmythtv/programinfo.h:271: error: 'QString' is used as a type, but
   is not defined as a type.
../../libs/libmythtv/programinfo.h:273: error: 'QString' is used as a type, but
   is not defined as a type.
../../libs/libmythtv/programinfo.h:274: error: 'QString' is used as a type, but
   is not defined as a type.
../../libs/libmythtv/programinfo.h: In member function `int
   ProgramInfo::SecsTillStart() const':
../../libs/libmythtv/programinfo.h:209: error: `QDateTime' undeclared (first
   use this function)
../../libs/libmythtv/programinfo.h:209: error: (Each undeclared identifier is
   reported only once for each function it appears in.)
../../libs/libmythtv/programinfo.h:209: error: syntax error before `;' token
../../libs/libmythtv/programinfo.h:209: warning: no return statement in
   function returning non-void
../../libs/libmythtv/programinfo.h: At global scope:
../../libs/libmythtv/programinfo.h:284: error: syntax error before `<' token
../../libs/libmythtv/programinfo.h:288: error: ISO C++ forbids declaration of `
   compareFunc' with no type
../../libs/libmythtv/programinfo.h:288: warning: initialization to non-pointer
   type `int' from NULL
../../libs/libmythtv/programinfo.h:288: warning: argument to non-pointer type `
   int' from NULL
../../libs/libmythtv/programinfo.h:289: error: syntax error before `}' token
../../libs/libmythtv/programinfo.h:290: error: destructors must be member
   functions
../../libs/libmythtv/programinfo.h:292: error: `ProgramInfo*
   operator[](unsigned int)' must be a nonstatic member function
../../libs/libmythtv/programinfo.h:292: error: `ProgramInfo*
   operator[](unsigned int)' must take exactly two arguments
../../libs/libmythtv/programinfo.h: In function `ProgramInfo*
   operator[](unsigned int)':
../../libs/libmythtv/programinfo.h:293: error: `at' undeclared (first use this
   function)
../../libs/libmythtv/programinfo.h: At global scope:
../../libs/libmythtv/programinfo.h:302: error: syntax error before `,' token
../../libs/libmythtv/programinfo.h:304: error: syntax error before `)' token
../../libs/libmythtv/programinfo.h: In function `bool FromProgram(...)':
../../libs/libmythtv/programinfo.h:305: error: `ProgramList' undeclared (first
   use this function)
../../libs/libmythtv/programinfo.h:305: error: syntax error before `;' token
../../libs/libmythtv/programinfo.h:306: error: `sql' undeclared (first use this
   function)
../../libs/libmythtv/programinfo.h:306: error: `dummySched' undeclared (first
   use this function)
../../libs/libmythtv/programinfo.h: At global scope:
../../libs/libmythtv/programinfo.h:309: error: syntax error before `,' token
../../libs/libmythtv/programinfo.h:311: error: syntax error before `)' token
../../libs/libmythtv/programinfo.h: In function `bool FromRecorded(...)':
../../libs/libmythtv/programinfo.h:312: error: syntax error before `;' token
../../libs/libmythtv/programinfo.h: At global scope:
../../libs/libmythtv/programinfo.h:316: error: syntax error before `)' token
../../libs/libmythtv/programinfo.h: In function `void Sort(int
   (*)(ProgramInfo*, ProgramInfo*))':
../../libs/libmythtv/programinfo.h:320: error: invalid conversion from `int
   (*)(ProgramInfo*, ProgramInfo*)' to `int'
../../libs/libmythtv/programinfo.h:321: error: no matching function for call to
   `sort()'
../../libs/libmythtv/programinfo.h: At global scope:
../../libs/libmythtv/programinfo.h:324: error: syntax error before `protected'
In file included from autoexpire.cpp:23:
../../libs/libmyth/mythcontext.h:4:21: qstring.h: No such file or directory
../../libs/libmyth/mythcontext.h:5:23: qdatetime.h: No such file or directory
../../libs/libmyth/mythcontext.h:6:21: qpixmap.h: No such file or directory
../../libs/libmyth/mythcontext.h:7:22: qpalette.h: No such file or directory
../../libs/libmyth/mythcontext.h:8:21: qobject.h: No such file or directory
../../libs/libmyth/mythcontext.h:9:22: qptrlist.h: No such file or directory
../../libs/libmyth/mythcontext.h:10:20: qevent.h: No such file or directory
../../libs/libmyth/mythcontext.h:11:20: qmutex.h: No such file or directory
../../libs/libmyth/mythcontext.h:12:27: qsocketdevice.h: No such file or directory
../../libs/libmyth/mythcontext.h:13:25: qstringlist.h: No such file or directory
../../libs/libmyth/mythcontext.h:14:23: qnetwork.h: No such file or directory
../../libs/libmyth/mythcontext.h:22:2: #error You need Qt version >= 3.1.0 to compile MythTV.
In file included from autoexpire.cpp:23:
../../libs/libmyth/mythcontext.h:73: error: syntax error before `{' token
../../libs/libmyth/mythcontext.h:77: error: syntax error before `const'
../../libs/libmyth/mythcontext.h:80: error: ISO C++ forbids declaration of `
   extradata' with no type
../../libs/libmyth/mythcontext.h:80: error: invalid conversion from `const
   char*' to `int'
../../libs/libmyth/mythcontext.h:81: error: syntax error before `}' token
../../libs/libmyth/mythcontext.h:82: error: syntax error before `const'
../../libs/libmyth/mythcontext.h:86: error: ISO C++ forbids declaration of `
   extradata' with no type
../../libs/libmyth/mythcontext.h:86: error: redefinition of `int extradata'
../../libs/libmyth/mythcontext.h:80: error: `int extradata' previously defined
   here
../../libs/libmyth/mythcontext.h:86: error: `lextradata' was not declared in
   this scope
../../libs/libmyth/mythcontext.h:87: error: syntax error before `}' token
../../libs/libmyth/mythcontext.h:89: error: destructors must be member
   functions
../../libs/libmyth/mythcontext.h:91: error: syntax error before `&' token
../../libs/libmyth/mythcontext.h:92: error: syntax error before `&' token
../../libs/libmyth/mythcontext.h:93: error: syntax error before `&' token
../../libs/libmyth/mythcontext.h:94: error: non-member function `int
   ExtraDataCount()' cannot have `const' method qualifier
../../libs/libmyth/mythcontext.h: In function `int ExtraDataCount()':
../../libs/libmyth/mythcontext.h:94: error: request for member `size' in `
   extradata', which is of non-aggregate type `int'
../../libs/libmyth/mythcontext.h: At global scope:
../../libs/libmyth/mythcontext.h:96: error: syntax error before `private'
../../libs/libmyth/mythcontext.h:98: error: 'QStringList' is used as a type,
   but is not defined as a type.
../../libs/libmyth/mythcontext.h:99: error: syntax error before `}' token
../../libs/libmyth/mythcontext.h:121: error: syntax error before `{' token
../../libs/libmyth/mythcontext.h:125: error: destructors must be member
   functions
../../libs/libmyth/mythcontext.h:125: error: virtual outside class declaration
../../libs/libmyth/mythcontext.h:127: error: syntax error before `)' token
../../libs/libmyth/mythcontext.h:129: error: syntax error before `)' token
../../libs/libmyth/mythcontext.h:132: error: syntax error before `&' token
../../libs/libmyth/mythcontext.h:135: error: syntax error before `)' token
../../libs/libmyth/mythcontext.h:136: error: syntax error before `)' token
../../libs/libmyth/mythcontext.h:138: error: syntax error before `)' token
../../libs/libmyth/mythcontext.h:140: error: syntax error before `&' token
../../libs/libmyth/mythcontext.h:152: error: syntax error before `&' token
../../libs/libmyth/mythcontext.h:153: error: syntax error before `)' token
../../libs/libmyth/mythcontext.h:155: error: syntax error before `)' token
../../libs/libmyth/mythcontext.h:159: error: syntax error before `&' token
../../libs/libmyth/mythcontext.h:160: error: syntax error before `(' token
../../libs/libmyth/mythcontext.h:162: error: syntax error before `&' token
../../libs/libmyth/mythcontext.h:168: error: syntax error before `&' token
../../libs/libmyth/mythcontext.h:169: error: syntax error before `&' token
../../libs/libmyth/mythcontext.h:170: error: syntax error before `&' token
../../libs/libmyth/mythcontext.h:171: error: syntax error before `&' token
../../libs/libmyth/mythcontext.h:173: error: syntax error before `&' token
../../libs/libmyth/mythcontext.h:175: error: syntax error before `&' token
../../libs/libmyth/mythcontext.h:178: error: syntax error before `&' token
../../libs/libmyth/mythcontext.h:180: error: syntax error before `)' token
../../libs/libmyth/mythcontext.h:181: error: syntax error before `)' token
../../libs/libmyth/mythcontext.h:182: error: syntax error before `)' token
../../libs/libmyth/mythcontext.h:184: error: syntax error before `)' token
../../libs/libmyth/mythcontext.h:186: error: `QWidget' was not declared in this
   scope
../../libs/libmyth/mythcontext.h:186: error: `widget' was not declared in this
   scope
../../libs/libmyth/mythcontext.h:186: error: variable or field `ThemeWidget'
   declared void
../../libs/libmyth/mythcontext.h:188: error: syntax error before `*' token
../../libs/libmyth/mythcontext.h:189: error: syntax error before `*' token
../../libs/libmyth/mythcontext.h:191: error: `QObject' was not declared in this
   scope
../../libs/libmyth/mythcontext.h:191: error: `obj' was not declared in this
   scope
../../libs/libmyth/mythcontext.h:191: error: variable or field `addListener'
   declared void
../../libs/libmyth/mythcontext.h:192: error: `QObject' was not declared in this
   scope
../../libs/libmyth/mythcontext.h:192: error: `obj' was not declared in this
   scope
../../libs/libmyth/mythcontext.h:192: error: variable or field `removeListener'
   declared void
../../libs/libmyth/mythcontext.h:193: error: `e' was not declared in this scope
../../libs/libmyth/mythcontext.h:193: error: variable or field `dispatch'
   declared void
../../libs/libmyth/mythcontext.h:194: error: `e' was not declared in this scope
../../libs/libmyth/mythcontext.h:194: error: variable or field `dispatchNow'
   declared void
../../libs/libmyth/mythcontext.h:196: error: `QStringList' was not declared in
   this scope
../../libs/libmyth/mythcontext.h:196: error: `strlist' was not declared in this
   scope
../../libs/libmyth/mythcontext.h:196: error: syntax error before `=' token
../../libs/libmyth/mythcontext.h:198: error: syntax error before `*' token
../../libs/libmyth/mythcontext.h:205: error: syntax error before `&' token
../../libs/libmyth/mythcontext.h:213: error: `QSocketDevice' was not declared
   in this scope
../../libs/libmyth/mythcontext.h:213: error: `socket' was not declared in this
   scope
../../libs/libmyth/mythcontext.h:214: error: `bool CheckProtoVersion(QSocket*)'
   redeclared as different kind of symbol
../../libs/libmyth/mythcontext.h:213: error: previous declaration of `bool
   CheckProtoVersion'
../../libs/libmyth/mythcontext.h:213: error: previous non-function declaration
   `bool CheckProtoVersion'
../../libs/libmyth/mythcontext.h:214: error: conflicts with function
   declaration `bool CheckProtoVersion(QSocket*)'
../../libs/libmyth/mythcontext.h:232: error: non-member function `bool
   hasPrivRequest()' cannot have `const' method qualifier
../../libs/libmyth/mythcontext.h:235: error: syntax error before `private'
../../libs/libmyth/mythcontext.h:240: error: syntax error before `private'
../../libs/libmyth/mythcontext.h:246: error: syntax error before `&' token
../../libs/libmyth/mythcontext.h:248: error: syntax error before `&' token
../../libs/libmyth/mythcontext.h:251: error: syntax error before `}' token
../../libs/libmyth/mythcontext.h:253: error: syntax error before `*' token
autoexpire.cpp:26: error: invalid use of undefined type `class AutoExpire'
autoexpire.h:15: error: forward declaration of `class AutoExpire'
autoexpire.cpp: In constructor `AutoExpire::AutoExpire(bool, bool,
   QSqlDatabase*)':
autoexpire.cpp:36: error: `gContext' undeclared (first use this function)
autoexpire.cpp: At global scope:
autoexpire.cpp:41: error: invalid use of undefined type `class AutoExpire'
autoexpire.h:15: error: forward declaration of `class AutoExpire'
autoexpire.cpp:47: error: invalid use of undefined type `class AutoExpire'
autoexpire.h:15: error: forward declaration of `class AutoExpire'
autoexpire.cpp: In member function `void AutoExpire::RunExpirer()':
autoexpire.cpp:48: error: `QString' undeclared (first use this function)
autoexpire.cpp:48: error: syntax error before `=' token
autoexpire.cpp:60: error: `recordfileprefix' undeclared (first use this
   function)
autoexpire.cpp:68: error: syntax error before `=' token
autoexpire.cpp:71: error: syntax error before `::' token
autoexpire.cpp:81: error: syntax error before `=' token
autoexpire.cpp:85: error: syntax error before `::' token
autoexpire.cpp:86: error: `msg' undeclared (first use this function)
autoexpire.cpp:88: error: syntax error before `=' token
autoexpire.cpp:92: error: `MythEvent' undeclared (first use this function)
autoexpire.cpp:93: error: `me' undeclared (first use this function)
autoexpire.cpp:117: error: syntax error before `::' token
autoexpire.cpp:121: error: syntax error before `=' token
autoexpire.cpp:124: error: syntax error before `::' token
autoexpire.cpp: At global scope:
autoexpire.cpp:132: error: invalid use of undefined type `class AutoExpire'
autoexpire.h:15: error: forward declaration of `class AutoExpire'
autoexpire.cpp: In member function `void* AutoExpire::ExpirerThread(void*)':
autoexpire.cpp:133: error: `expirer' undeclared (first use this function)
autoexpire.cpp:133: error: syntax error before `)' token
autoexpire.cpp: At global scope:
autoexpire.cpp:140: error: invalid use of undefined type `class AutoExpire'
autoexpire.h:15: error: forward declaration of `class AutoExpire'
autoexpire.cpp: In member function `void AutoExpire::ExpireEpisodesOverMax()':
autoexpire.cpp:141: error: `QMap' undeclared (first use this function)
autoexpire.cpp:141: error: syntax error before `>' token
autoexpire.cpp:142: error: syntax error before `>' token
autoexpire.cpp:144: error: `QString' undeclared (first use this function)
autoexpire.cpp:148: error: variable `QSqlQuery query' has initializer but
   incomplete type
autoexpire.cpp:148: error: `querystr' undeclared (first use this function)
autoexpire.cpp:148: error: `exec' undeclared (first use this function)
autoexpire.cpp:153: error: `maxEpisodes' undeclared (first use this function)
autoexpire.cpp:157: error: `maxIter' undeclared (first use this function)
autoexpire.cpp:159: error: syntax error before `(' token
autoexpire.cpp:160: error: `sqltitle' undeclared (first use this function)
autoexpire.cpp:160: error: `QRegExp' undeclared (first use this function)
autoexpire.cpp:178: error: syntax error before `=' token
autoexpire.cpp:182: error: syntax error before `::' token
autoexpire.cpp:185: error: syntax error before `=' token
autoexpire.cpp: At global scope:
autoexpire.cpp:199: error: invalid use of undefined type `class AutoExpire'
autoexpire.h:15: error: forward declaration of `class AutoExpire'
autoexpire.cpp: In member function `void AutoExpire::FillExpireList()':
autoexpire.cpp:202: error: `ClearExpireList' undeclared (first use this
   function)
autoexpire.cpp: At global scope:
autoexpire.cpp:213: error: invalid use of undefined type `class AutoExpire'
autoexpire.h:15: error: forward declaration of `class AutoExpire'
autoexpire.cpp: In member function `void AutoExpire::PrintExpireList()':
autoexpire.cpp:220: error: `QString' undeclared (first use this function)
autoexpire.cpp:220: error: syntax error before `=' token
autoexpire.cpp:222: error: 'class ProgramInfo' has no member named 'subtitle'
autoexpire.cpp:223: error: `title' undeclared (first use this function)
autoexpire.cpp:223: error: 'class ProgramInfo' has no member named 'subtitle'
autoexpire.cpp:226: error: 'class ProgramInfo' has no member named 'startts'
autoexpire.cpp: At global scope:
autoexpire.cpp:234: error: invalid use of undefined type `class AutoExpire'
autoexpire.h:15: error: forward declaration of `class AutoExpire'
autoexpire.cpp:244: error: invalid use of undefined type `class AutoExpire'
autoexpire.h:15: error: forward declaration of `class AutoExpire'
autoexpire.cpp: In member function `void AutoExpire::FillOldestFirst()':
autoexpire.cpp:245: error: `QString' undeclared (first use this function)
autoexpire.cpp:245: error: syntax error before `=' token
autoexpire.cpp:256: error: variable `QSqlQuery query' has initializer but
   incomplete type
autoexpire.cpp:256: error: `exec' undeclared (first use this function)
autoexpire.cpp:262: error: 'class ProgramInfo' has no member named 'chanid'
autoexpire.cpp:263: error: 'class ProgramInfo' has no member named 'startts'
autoexpire.cpp:263: error: syntax error before `::' token
autoexpire.cpp:265: error: 'class ProgramInfo' has no member named 'endts'
autoexpire.cpp:265: error: syntax error before `::' token
autoexpire.cpp:267: error: 'class ProgramInfo' has no member named 'recstartts'
autoexpire.cpp:267: error: 'class ProgramInfo' has no member named 'startts'
autoexpire.cpp:268: error: 'class ProgramInfo' has no member named 'recendts'
autoexpire.cpp:268: error: 'class ProgramInfo' has no member named 'endts'
autoexpire.cpp:269: error: 'class ProgramInfo' has no member named 'title'
autoexpire.cpp:269: error: syntax error before `::' token
autoexpire.cpp:270: error: 'class ProgramInfo' has no member named 'subtitle'
autoexpire.cpp:270: error: syntax error before `::' token
autoexpire.cpp:271: error: 'class ProgramInfo' has no member named 'description
   '
autoexpire.cpp:271: error: syntax error before `::' token
autoexpire.cpp:272: error: 'class ProgramInfo' has no member named 'hostname'
autoexpire.cpp:274: error: 'class ProgramInfo' has no member named 'hostname'
autoexpire.cpp:275: error: 'class ProgramInfo' has no member named 'hostname'
autoexpire.cpp:279: error: 'class ProgramInfo' has no member named 'chanstr'
autoexpire.cpp:280: error: 'class ProgramInfo' has no member named 'channame'
autoexpire.cpp:281: error: 'class ProgramInfo' has no member named 'chansign'
autoexpire.cpp:285: error: 'class ProgramInfo' has no member named 'chanstr'
autoexpire.cpp:285: error: 'class ProgramInfo' has no member named 'chanid'
autoexpire.cpp:286: error: 'class ProgramInfo' has no member named 'channame'
autoexpire.cpp:286: error: 'class ProgramInfo' has no member named 'chanid'
autoexpire.cpp:287: error: 'class ProgramInfo' has no member named 'chansign'
autoexpire.cpp:287: error: 'class ProgramInfo' has no member named 'chanid'
autoexpire.cpp:290: error: 'class ProgramInfo' has no member named 'seriesid'
autoexpire.cpp:291: error: 'class ProgramInfo' has no member named 'programid'
autoexpire.cpp:293: error: 'class ProgramInfo' has no member named 'pathname'
autoexpire.cpp:293: error: `fileprefix' undeclared (first use this function)
autoexpire.cpp:293: error: `GetRecordFilename' undeclared (first use this
   function)
autoexpire.cpp:297: error: 'class ProgramInfo' has no member named 'pathname'
autoexpire.cpp: In member function `void* AutoExpire::ExpirerThread(void*)':
autoexpire.cpp:132: warning: unused parameter `void*param'
autoexpire.h: At top level:
autoexpire.h:26: warning: `void* ExpirerThread(void*)' declared `static' but
   never defined
../../libs/libmyth/mythcontext.h:158: warning: `void
   KickDatabase(QSqlDatabase*)' declared `static' but never defined
../../libs/libmyth/mythcontext.h:159: warning: `void DBError(...)' declared
   `static' but never defined
{standard input}: Assembler messages:
{standard input}:48: Error: symbol `extradata' is already defined
make: *** [autoexpire.o] Error 1
root@myth: #

Here is the location of qsqldatabase.h. I tried changing QTDIR to this path (/usr/include/qt3) with the same result.
Code:
root@myth:/ # ls -la /usr/include/qt3/qsqldatabase.h
-rw-r--r--    1 root     root         4782 Nov  7  2002 /usr/include/qt3/qsqldatabase.h


I have a feeling I'm very close but clueless as to what to try next.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 22, 2005 10:58 pm 
Offline
Joined: Mon Feb 07, 2005 6:32 pm
Posts: 6
It looks like you're missing the main MythTV Library... Should you not download all parts and "make" from there?

I will admit, I used the .deb's and just issued an apt-get upgrade mythtv, which (virtually) sorted it all out for me.

YMMV, however.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 22, 2005 11:34 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
Why not compile the entire app? Once complete, you can take the required binary and just it in it's place. I've never compiled just the backend and dont know if compiling it alone will work.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 23, 2005 5:34 am 
Offline
Joined: Fri Jan 21, 2005 9:14 am
Posts: 124
Location: New York
cecil wrote:
Why not compile the entire app? Once complete, you can take the required binary and just it in it's place. I've never compiled just the backend and dont know if compiling it alone will work.


OK, I'll do that. My thought was to only compile what was needed, since I didn't know whether compiling the entire app would break anything. Is there a README in one of dirs which describes the right way to compile the entire app?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 23, 2005 7:01 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Oops


Last edited by Greg Frost on Wed Mar 23, 2005 7:02 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 23, 2005 7:01 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Compiling should never break anything. It is only when you do make install which copies the executables/libraries/etc built during the compile into /usr/bin (or wherever) that it can break things.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 23, 2005 9:39 pm 
Offline
Joined: Fri Jan 21, 2005 9:14 am
Posts: 124
Location: New York
Well I tried compiling the entire app and it still won't work.

The setup:
Code:
root@myth:/usr/src/r4v5_src/mythtv-0.16/src/mythtv-0.16 # echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/games:/usr/lib/qt3/bin
root@myth:/usr/src/r4v5_src/mythtv-0.16/src/mythtv-0.16 # echo $QTDIR
/usr/include/qt3


Now let's try to compile everything:
Code:
root@myth:/usr/src/r4v5_src/mythtv-0.16/src/mythtv-0.16 # make
cd libs && make -f Makefile
make[1]: Entering directory `/usr/src/r4v5_src/mythtv-0.16/src/mythtv-0.16/libs'
cd libavcodec && make -f Makefile
make[2]: Entering directory `/usr/src/r4v5_src/mythtv-0.16/src/mythtv-0.16/libs/libavcodec'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/usr/src/r4v5_src/mythtv-0.16/src/mythtv-0.16/libs/libavcodec'
cd libavformat && make -f Makefile
make[2]: Entering directory `/usr/src/r4v5_src/mythtv-0.16/src/mythtv-0.16/libs/libavformat'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/usr/src/r4v5_src/mythtv-0.16/src/mythtv-0.16/libs/libavformat'
cd libmyth && make -f Makefile
make[2]: Entering directory `/usr/src/r4v5_src/mythtv-0.16/src/mythtv-0.16/libs/libmyth'
g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer -D_REENTRANT -fPIC  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX -DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OSS -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I../../../../../../../local/include -I/usr/include/qt3/include -o dialogbox.o dialogbox.cpp
dialogbox.cpp:4:21: qlayout.h: No such file or directory
dialogbox.cpp:5:25: qpushbutton.h: No such file or directory
dialogbox.cpp:6:26: qbuttongroup.h: No such file or directory
dialogbox.cpp:7:20: qlabel.h: No such file or directory
dialogbox.cpp:8:21: qcursor.h: No such file or directory
dialogbox.cpp:9:26: qapplication.h: No such file or directory
.
.
.
etcetera


Yet qlayout et al. exist, so I am confused:

Code:
root@myth:/usr/src/r4v5_src/mythtv-0.16/src/mythtv-0.16 # ls /usr/include/qt3/qlayout.h
/usr/include/qt3/qlayout.h
root@myth:/usr/src/r4v5_src/mythtv-0.16/src/mythtv-0.16 # ls /usr/include/qt3/qpushbutton.h
/usr/include/qt3/qpushbutton.h
root@myth:/usr/src/r4v5_src/mythtv-0.16/src/mythtv-0.16 # ls /usr/include/qt3/qbuttongroup.h
/usr/include/qt3/qbuttongroup.h


It looks as if something is appending the subdirectory "/include" to /usr/include/qt3, resulting in a bogus path to the qt files:

Code:
make[2]: Entering directory `/usr/src/r4v5_src/mythtv-0.16/src/mythtv-0.16/libs/libmyth'
g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer -D_REENTRANT -fPIC  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX -DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OSS -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I../../../../../../../local/include -I/usr/include/qt3/include -o dialogbox.o dialogbox.cpp


but it also seems to me that the make scripts ought to work without messing around with them.

Anyone have any ideas?? Help!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 25, 2005 5:32 pm 
Offline
Joined: Fri Jan 21, 2005 9:14 am
Posts: 124
Location: New York
Anyone?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 25, 2005 6:04 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
0.17 needs some newer libraries to compile. it looks like you don't have those.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 26, 2005 7:50 am 
Offline
Joined: Fri Jan 21, 2005 9:14 am
Posts: 124
Location: New York
It's an 0.16 system :(


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: Bing [Bot] and 27 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu