[mythtv] Compiling problems

Isaac Richards mythtv-dev@snowman.net
Thu, 22 Aug 2002 12:22:40 -0400


Two things:

 - Your install of qt3 is broken -- it's not including settings.pro into the    
   Makefile (line 9 of libNuppelVideo/libNuppelVideo.pro), which   
   defines _GNU_SOURCE, and is the reason for the error in RingBuffer.h)
 - You don't have libttf installed.

The second one is easy to fix, and I don't know how you'd go about fixing the 
first.

Isaac

On Thursday 22 August 2002 08:33 am, Massis Sirapian wrote:
> Hi,
>
> I'm trying to compile the 0.5 Release.  But I get these errors : ...
> make[1]: Entering directory
> `/home/sirapian/tmp/mythtv-0.5/libNuppelVideo' g++ -c -pipe
> -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wall -W -O2
> -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/include/freetype2
> -I/usr/share/qt/include -I/usr/share/qt/mkspecs/linux-g++ -o
> NuppelVideoPlayer.o NuppelVideoPlayer.cpp In file included from
> NuppelVideoPlayer.h:18, from NuppelVideoPlayer.cpp:15: RingBuffer.h:68:
> syntax error before `;' In file included from osd.h:4, from
> NuppelVideoPlayer.h:19, from NuppelVideoPlayer.cpp:15: ttfont.h:32:
> syntax error before `;' ttfont.h:33: syntax error before `;'
> ttfont.h:34: syntax error before `;' ttfont.h:35: syntax error before
> `;' ttfont.h:37: syntax error before `*' ttfont.h:38: syntax error
> before `*'
> make[1]: *** [NuppelVideoPlayer.o] Erreur 1
> make[1]: Leaving
> directory `/home/sirapian/tmp/mythtv-0.5/libNuppelVideo' make: ***
> [sub-libNuppelVideo] Erreur 2
>
> I'm using Woody. Why these errors from include files ?
>
> Thanks in advance
>
> Massis