[mythtv-commits] Ticket #3880: compilation error when building latest svn, undefined reference to `ProgramInfo::GetProgramFromBasename(QString)

MythTV mythtv at cvs.mythtv.org
Sat Aug 25 22:13:55 UTC 2007


#3880: compilation error when building latest svn,   undefined reference to
`ProgramInfo::GetProgramFromBasename(QString)
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |       Owner:  ijr    
     Type:  defect     |      Status:  new    
 Priority:  blocker    |   Milestone:         
Component:  mythtv     |     Version:  unknown
 Severity:  medium     |     Mlocked:  0      
-----------------------+----------------------------------------------------
 I am trying to build the current svn of mythtv, and I get this error,
 after doing svn up mythtc, and make distclean.

 g++ -Wl,-rpath,/usr/share/qt/lib -o mythtv main.o    -L/usr/share/qt/lib
 -L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavutil
 -L../../libs/libavcodec -L../../libs/libavformat
 -L../../libs/libmythfreemheg -L../../libs/libmythui
 -L../../libs/libmythupnp -L../../libs/libmythlivemedia -lmythtv-0.20
 -lmythavformat-0.20 -lmythavutil-0.20 -lmythavcodec-0.20
 -lmythfreemheg-0.20 -lmythupnp-0.20 -lmythlivemedia-0.20 -lmyth-0.20
 -lmythui-0.20 -lfreetype -lz -lmp3lame -lasound -L/usr/lib -lartsc
 -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0 -L/usr/X11R7/lib
 -lXinerama -lXv -lXxf86vm -lXrandr -lqt-mt -lGLU -lGL -lXmu -lXext -lX11
 -lm -lpthread
 main.o: In function `main':
 main.cpp:(.text+0x424b): undefined reference to `TV::StartTV(ProgramInfo*,
 bool, bool, bool)'
 main.cpp:(.text+0x42b6): undefined reference to
 `ProgramInfo::GetProgramFromBasename(QString)'
 collect2: ld returned 1 exit status
 make[2]: *** [mythtv] Error 1
 make[2]: Leaving directory `/home/bigd/build/mythtv/programs/mythtv'
 make[1]: *** [sub-mythtv] Error 2
 make[1]: Leaving directory `/home/bigd/build/mythtv/programs'
 make: *** [sub-programs] Error 2
 bigd at BIGD-BLUE ~/build/mythtv $

 If there is any other information needed, plase let me know.

 Gcc = 4.2.1
 Binutils = 2.17
 GlibC = 2.6
 Kernel = 2.6.23-rc1

 Dave

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3880>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list