[mythtv] nuppeldecoder.cpp compile error [was Re:
[mythtv-commits]mythtv commits]
Mark Spieth
mark at dclabs.com.au
Sat May 28 03:07:35 UTC 2005
try adding #include "errno.h" up the top
not sure why your includes are different.
mark
----- Original Message -----
From: "Chris Strom" <chris.eee at gmail.com>
To: <mythtv-dev at mythtv.org>
Sent: Saturday, May 28, 2005 12:51 PM
Subject: [mythtv] nuppeldecoder.cpp compile error [was Re:
[mythtv-commits]mythtv commits]
> This generated errors for me:
>
> ...
> g++ -c -pipe -march=pentium4 -Wall -W -O3 -Wall -Wno-switch
> -fomit-frame-pointer `freetype-config --cflags` -D_REENTRANT -DPIC
> -fPIC -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
> -DPREFIX=\"/usr/local\" -DUSING_XV -DUSING_IVTV -DUSING_OSS
> -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I.
> -I/usr/local/include -I../.. -I../libmyth -I.. -Idvbdev -Impeg
> -I../libavcodec -I../libmythmpeg2 -I/usr/qt/3/include -o
> nuppeldecoder.o nuppeldecoder.cpp
> nuppeldecoder.cpp: In member function `virtual int
> NuppelDecoder::OpenFile(RingBuffer*, bool, char*)':
> nuppeldecoder.cpp:366: error: `errno' undeclared (first use this function)
> nuppeldecoder.cpp:366: error: (Each undeclared identifier is reported
> only once for each function it appears in.)
> make[2]: *** [nuppeldecoder.o] Error 1
> make[2]: Leaving directory `/home/cstrom/mythtv/mythtv/libs/libmythtv'
> make[1]: *** [sub-libmythtv] Error 2
> make[1]: Leaving directory `/home/cstrom/mythtv/mythtv/libs'
> make: *** [sub-libs] Error 2
>
> Compiled OK with previous version of nuppeldecoder.cpp.
>
> -Chris
>
> On 5/27/05, mythtv at cvs.mythtv.org <mythtv at cvs.mythtv.org> wrote:
>
> --------------------------------------------------------------------------
--
> > Changes committed by bjm on Sat May 28 00:50:19 2005
> >
> > Modified Files:
> > in mythtv/libs/libmyth:
> > uitypes.cpp
> > in mythtv/libs/libmythtv:
> > nuppeldecoder.cpp
> > Log Message:
> > Some small patches from Mark Spieth to verbosify cerr messages and to
> > drop the annoying managedtree::draw debug message.
> >
>
> --------------------------------------------------------------------------
--
> >
> >
> > _______________________________________________
> > mythtv-commits mailing list
> > mythtv-commits at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits
> >
> >
> >
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
More information about the mythtv-dev
mailing list