Bug 146353
Summary: | can't link programs with libopenobex.so | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sergey Khvatov <xbatob> | ||||||
Component: | openobex | Assignee: | Harald Hoyer <harald> | ||||||
Status: | CLOSED ERRATA | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 4 | CC: | bnocera, dmitry | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2005-09-27 12:34:44 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Sergey Khvatov
2005-01-27 12:42:31 UTC
Created attachment 110289 [details]
Test program
This program useless but valid.
only symbols from openobex-1.0.1/src/obex.sym should be exported as the rule in openobex-1.0.1/src/Makefile.am states: libopenobex_la_LDFLAGS = \ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \ -release $(LT_RELEASE) \ -export-symbols $(top_srcdir)/src/obex.sym This means, that the libtool in the tar.gz and the libtool we use to build the package differ in this case. This may be a bug in our libtool or the libtool openobex packages. I don't know, but obex.sym does not seem to include bt_accept and this was never needed by other packages which used openobex. Yes this symbol seems to be unneeded, but my program calls OBEX_ServerAccept which also doesn't exported. The program `obexftp' (tool to access mobile phone "disks" by ftp-like way) need `OBEX_ServerAccept' symbol for successful linkage. IMHO, may be this symbol only is missing in `obex.sym'... Created attachment 110882 [details]
patch which fixes broken `obex.sym' file...
`obexftp' build is OK after it.
added OBEX_ServerAccept Cannot find updated package in rawhide. The old package (1.0.1-3, without changes) still exist in rawhide and FC3test3 ... Reopening, the problem is still current with FC4. $ strings /usr/lib/libopenobex.so | grep OBEX_ServerAccept $ rpm -q openobex openobex-1.0.1-3 And trying to compile obexftp: /home/hadess/src/obexftp-0.10.7/apps/obexftpd.c:119: undefined reference to `OBEX_ServerAccept' collect2: ld returned 1 exit status make: *** [obexftpd] Error 1 This was committed, but looks like it wasn't built for FC3 or FC4: https://www.redhat.com/archives/fedora-cvs-commits/2005-May/msg00025.html an rpmbuild --rebuild of the following package can fix it for the impatient: http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/openobex-1.0.1-4.src.rpm openobex-1.0.1-3.0.FC4.1 will soon appear in the testing channel... |