Opened 14 years ago

Closed 14 years ago

#3880 closed defect (invalid)

compilation error when building latest svn, undefined reference to `ProgramInfo::GetProgramFromBasename(QString)

Reported by: anonymous Owned by: Isaac Richards
Priority: blocker Milestone: unknown
Component: mythtv Version: unknown
Severity: medium Keywords:
Cc: Ticket locked: no


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@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


Change History (1)

comment:1 Changed 14 years ago by Anduin Withers

Resolution: invalid
Status: newclosed

You have older myth libs being found somewhere (probably /usr/lib). If this is not the case reopen with what your current prefix is and an assurance no older myth libs are around.

Note: See TracTickets for help on using tickets.