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: ltd@… 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)

fix.txt (704 bytes) - added by ltd@… 18 years ago.
patch
fix.2.txt (1.4 KB) - added by ltd@… 18 years ago.
patch #2

Download all attachments as: .zip

Change History (6)

Changed 18 years ago by ltd@…

Attachment: fix.txt added

patch

Changed 18 years ago by ltd@…

Attachment: fix.2.txt added

patch #2

comment:1 Changed 18 years ago by Jann <janne-mythtv@…>

Resolution: invalid
Status: newclosed

delete your installed myth libraries

comment:2 Changed 18 years ago by ltd@…

Resolution: invalid
Status: closedreopened

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 Isaac Richards

Resolution: invalid
Status: reopenedclosed

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

agree with that. compiler choosing already-installed lib in preference to lib-in-source-tree is, however, still bogus.

Note: See TracTickets for help on using tickets.