Opened 16 years ago
Closed 16 years ago
#4166 closed defect (fixed)
libmythupnp link error (post changeset 14844)
Reported by: | Owned by: | Nigel | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | upnp | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Nigel | Ticket locked: | no |
Description
Changeset 14844 causes a link error on my system (Slackware) for libmythupnp (cannot find –lXext).
Error is:-
ccache g++ -Wl,-rpath,/usr/lib/qt/lib -shared -Wl,-soname,libmythupnp-0.20.so.0 -o libmythupnp-0.20.so.0.20.0 version.o httprequest.o upnp.o ssdp.o taskqueue.o upnputil.o upnpdevice.o upnptasknotify.o upnptasksearch.o threadpool.o httpserver.o upnpcds.o upnpcdsobjects.o bufferedsocketdevice.o eventing.o upnpcmgr.o upnpmsrr.o upnptaskevent.o ssdpcache.o configuration.o soapclient.o mythxmlclient.o moc_ssdpcache.o -L/usr/lib/qt/lib -L../libmyth -lmyth-0.20 -lqt-mt -lXext -lX11 -lm -lpthread /usr/lib/gcc/i486-slackware-linux/3.4.6/../../../../i486-slackware-linux/bin/ld: cannot find -lXext collect2: ld returned 1 exit status make: *** [libmythupnp-0.20.so.0.20.0] Error 1
The attached patch resolves this issue for me.
Attachments (1)
Change History (3)
Changed 16 years ago by
Attachment: | libmythupnp_link_error.patch added |
---|
comment:1 Changed 16 years ago by
Owner: | changed from dblain to Nigel |
---|
Note: See
TracTickets for help on using
tickets.
Sorry I broke it for you, Peter.
I tested on Knoppix, but somehow missed the fact that -lX11 -lXext are tacked onto the end of LIBS (and thus, we need EXTRA_LIBS)