[mythtv] CVS compile errors

Merle Reine merle.reine at lindows.com
Mon Jan 20 01:31:12 EST 2003


I get the following when I try to compile MythTV:

mythcontext.cpp: In method `MythContext::MythContext(bool = true)':
mythcontext.cpp:20: `PREFIX' undeclared (first use this function)
mythcontext.cpp:20: (Each undeclared identifier is reported only once
mythcontext.cpp:20: for each function it appears in.)
make[2]: *** [mythcontext.o] Error 1
make[2]: Leaving directory `/root/mythtv/MC/libs/libmyth'
make[1]: *** [sub-libmyth] Error 2
make[1]: Leaving directory `/root/mythtv/MC/libs'
make: *** [sub-libs] Error 2

This is from the latest CVS.  Has anyone seen this?

On Sun, 2003-01-19 at 20:19, Mike Brancato wrote:

> i found the fix.  its because debian unstable uses gcc 3.2.  install 2.95 and 
> then edit your /usr/share/qt/mkspecs/linux-g++/qmake.conf and change gcc to gcc-
> 2.95 and all instances of g++ to g++-2.95
> 
> now to put this new cvs to use =p.
> 
> --
> Mike Brancato
> 
> ---------- Original Message -----------
> From: "Mike Brancato" <mike at mikebrancato.com>
> To: mythtv-dev at snowman.net
> Sent: Sun, 19 Jan 2003 22:47:01 -0400
> Subject: [mythtv] CVS compile errors
> 
> > can anyone help me figure out these compile errors...  i believe i 
> > have all the prereqs installed.  i'm running debian unstable...
> > 
> > make[1]: Entering directory `/home/mythtv/mythtv-cvs/MC/programs'
> > cd mythepg && make -f Makefile
> > make[2]: Entering directory `/home/mythtv/mythtv-cvs/MC/programs/mythepg'
> > g++  -o mythepg main.o   -L/usr/share/qt//lib -L/usr/X11R6/lib -
> > L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavc
> > odec -lmythtv -lavcodec -lmyth-0.8 -lXv -lXinerama -lmp3lame -lqt-mt 
> > -lXext - lX11 -lm -lpthread main.o(.text+0x7a): In function `main': : 
> > undefined reference to `QApplication::QApplication[in-charge](int&,
> >  char**)' main.o(.text+0x9d): In function `main': : undefined 
> > reference to `QSqlDatabase::defaultConnection' main.o(.text+0xac): In 
> > function `main': : undefined reference to `QString::QString[in-
> > charge](char const*)' main.o(.text+0xc2): In function `main': : 
> > undefined reference to `QString::QString[in-charge](char const*)' 
> > main.o(.text+0xd4): In function `main': : undefined reference to 
> > `QSqlDatabase::addDatabase(QString const&, QString const&)'
> > 
> > etc...
> > 
> > --
> > Mike Brancato
> > _______________________________________________
> > mythtv-dev mailing list
> > mythtv-dev at snowman.net
> > http://www.snowman.net/mailman/listinfo/mythtv-dev
> ------- End of Original Message -------
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at snowman.net
> http://www.snowman.net/mailman/listinfo/mythtv-dev

-- 
Merle Reine <merle.reine at lindows.com>
Lindows.com Hardware Certification
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20030120/70309488/attachment.htm


More information about the mythtv-dev mailing list