Opened 18 years ago
Closed 18 years ago
Last modified 18 years ago
#1622 closed defect (invalid)
compilation fix for head (svn rev 9611) for missing ref to libmythdvdnav
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
svn rev 9611 fails to compile due to missing ref to libmythdvdnav:
... make[2]: Entering directory `/usr/src/cvs/mythtv/programs/mythtv' g++ -o mythtv main.o -L/usr/lib/qt-3.3/lib -L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavutil -L../../libs/libavcodec -L../../libs/libavformat -L../../libs/libfreemheg -L../../libs/libmythui -lmythtv-0.19 -lmythavformat-0.19 -lmythavutil-0.19 -lmythavcodec-0.19 -lfreemheg-0.19 -lmyth-0.19 -lmythui-0.19 -lfreetype -lmp3lame -lasound -L/usr/X11R6/lib -lXinerama -lXv -lXxf86vm -lXrandr -lXvMCW -lXvMC -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm -lpthread ../../libs/libmythtv/libmythtv-0.19.so: undefined reference to `dvdnav_get_serial_number' ../../libs/libmythtv/libmythtv-0.19.so: undefined reference to `dvdnav_get_video_format' collect2: ld returned 1 exit status make[2]: * [mythtv] Error 1 make[2]: Leaving directory `/usr/src/cvs/mythtv/programs/mythtv' make[1]: * [sub-mythtv] Error 2 make[1]: Leaving directory `/usr/src/cvs/mythtv/programs' make: * [sub-programs] Error 2
Attachments (2)
Change History (6)
comment:1 Changed 18 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
delete your installed myth libraries
comment:2 Changed 18 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
then the dependencies are bogus. COMPILING should rely on libs (just compiled) in the source tree, NOT installed in the system.
patch is correct & should be included.
comment:3 Changed 18 years ago by
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
Patch is completely incorrect. libmythdvdnav is a static library linked directly to libmythtv. Absolutely no reason to link it again.
comment:4 Changed 18 years ago by
agree with that. compiler choosing already-installed lib in preference to lib-in-source-tree is, however, still bogus.
patch