[mythtv] r18977 mythtv link issue

Nigel Pearson nigel at ind.tansu.com.au
Fri Nov 7 05:47:36 UTC 2008


> the old problem of the project libdirs come after the system
> libdirs.

Yes, although it happens _before_ linking programs.



Doing an upgrade and build _without_ a prior
distclean or uninstall fails in libs/libmythtv:

g++ -Wl,--no-undefined -Wl,-rpath,/usr/lib ...
-L../libmyth -L../libavutil -L../libavcodec -L../libavformat -L../ 
libmythui -L../libmythupnp -L../libmythmpeg2 -L../libmythdvdnav -L../ 
libmythdb -lmyth-0.22 -lmythavutil-0.22 -lmythavcodec-0.22 - 
lmythavformat-0.22 -lmythui-0.22 -lmythupnp-0.22 -lmythmpeg2-0.22 - 
lmythdvdnav-0.22 -lmythdb-0.22 -lmp3lame -lraw1394 -liec61883 - 
lavc1394 -lrom1394 -L/usr/lib
...
-ldirectfb -lfusion -ldirect -L/usr/X11R6/lib -lXinerama -lXv - 
lXxf86vm -lXvMCW -lXvMC -L../libmythfreemheg -lmythfreemheg-0.22 -L../ 
libmythlivemedia -lmythlivemedia-0.22
...
iptvfeederudp.o: In function `IPTVFeederUDP::Open(QString const&)':
iptv/iptvfeederudp.cpp:75: undefined reference to `ReceivingSocketAddr'
collect2: ld returned 1 exit status
make: *** [libmythtv-0.22.so.0.22.0] Error 1


Note that /usr/lib is in the middle of the linker flags
of the libmythtv.pro:

LIBS += -lz $$EXTRA_LIBS $$QMAKE_LIBS_DYNLOAD

using_mheg: LIBS += -L../libmythfreemheg -lmythfreemheg-$$LIBVERSION
using_live: LIBS += -L../libmythlivemedia -lmythlivemedia-$$LIBVERSION



These build bugs should now be fixed by r18988 ?

--
Nigel Pearson, nigel at ind.tansu.com.au|     "They did the     |
Telstra Net. Eng., Sydney, Australia | white man power dance,|
Office: 9202 3900    Fax:  9212 6348 |     and ... Shazam"   |
Mobile: 0408 664435  Home: 9792 6998 | Lois Lane - Smallville|



More information about the mythtv-dev mailing list