| View previous topic :: View next topic |
| Author |
Message |
NewB Apprentice

Joined: 08 Feb 2004 Posts: 224
|
Posted: Tue Sep 12, 2006 6:22 pm Post subject: [solved] obexftp emerge fails |
|
|
hi,
I have some troubles emerging obexftp. Here is the error when I try to emerge it:
| Code: |
-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both -o .libs/obexftp obexftp.o bt_dis
covery.o ../obexftp/.libs/libobexftp.so ../multicobex/.libs/libmulticobex.so ..
/bfb/.libs/libbfb.so /usr/lib/libopenobex.so /usr/lib/libusb.so
bt_discovery.o: In function `discover_bt':
bt_discovery.c:(.text+0x9b): undefined reference to `hci_inquiry'
bt_discovery.c:(.text+0xb3): undefined reference to `hci_open_dev'
bt_discovery.c:(.text+0x116): undefined reference to `batostr'
bt_discovery.c:(.text+0x185): undefined reference to `hci_read_remote_name'
bt_discovery.c:(.text+0x1c0): undefined reference to `baswap'
bt_discovery.c:(.text+0x1d7): undefined reference to `batostr'
bt_discovery.c:(.text+0x228): undefined reference to `hci_devinfo'
bt_discovery.c:(.text+0x253): undefined reference to `sdp_connect'
bt_discovery.c:(.text+0x270): undefined reference to `baswap'
bt_discovery.c:(.text+0x27d): undefined reference to `batostr'
bt_discovery.c:(.text+0x2b4): undefined reference to `sdp_uuid16_create'
bt_discovery.c:(.text+0x2cb): undefined reference to `sdp_list_append'
bt_discovery.c:(.text+0x2dd): undefined reference to `sdp_list_append'
bt_discovery.c:(.text+0x303): undefined reference to `sdp_service_search_attr_re
q'
bt_discovery.c:(.text+0x319): undefined reference to `sdp_list_free'
bt_discovery.c:(.text+0x327): undefined reference to `sdp_list_free'
bt_discovery.c:(.text+0x354): undefined reference to `sdp_get_access_protos'
bt_discovery.c:(.text+0x370): undefined reference to `sdp_get_proto_port'
bt_discovery.c:(.text+0x3b1): undefined reference to `sdp_list_free'
bt_discovery.c:(.text+0x3b9): undefined reference to `sdp_close'
bt_discovery.c:(.text+0x3e0): undefined reference to `str2ba'
bt_discovery.c:(.text+0x411): undefined reference to `sdp_close'
../obexftp/.libs/libobexftp.so: undefined reference to `cobex_ctrans'
collect2: ld returned 1 exit status
make[2]: *** [obexftp] Error 1
make[2]: Leaving directory `/var/tmp/portage/obexftp-0.21/work/obexftp-0.21/apps
'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/obexftp-0.21/work/obexftp-0.21'
make: *** [all] Error 2
!!! ERROR: app-mobilephone/obexftp-0.21 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
obexftp-0.21.ebuild, line 44: Called die
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if rel
evant.
|
here is my emerge --info:
| Code: |
mastahome ~ # emerge --info
Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r4, 2.6.18
-rc4-no2 i686)
=================================================================
System uname: 2.6.18-rc4-no2 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.12.4
Last Sync: Tue, 12 Sep 2006 17:00:01 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python: 2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.60
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.17-r4
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe -fno-ident -frename-regi
sters"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu
tdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gcon
f /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf
/web2c"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe -fno-ident -frename-re
gisters -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.c
h/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo http://gentoo.mirror.solnet.c
h "
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both"
LINGUAS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/d
istfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/conrad /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm berkdb bitmap-fonts bluetooth cli crypt cups dlloade
r dri eds elibc_glibc emboss encode esd firefox foomaticdb fortran gdbm gif gnom
e gpm gtk gtk2 imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jav
a jpeg kernel_linux libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl
nptlonly ogg opengl oss pam pcre perl png pppd python qt3 qt4 quicktime readlin
e reflection sdl session spell spl sse sse2 ssl tcpd truetype truetype-fonts typ
e1-fonts udev unicode userland_GNU video_cards_fglrx video_cards_radeon video_ca
rds_vesa vorbis win32codecs xml xmms xorg xv zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORT
AGE_RSYNC_EXTRA_OPTS
|
I would apreciate some help! Thanks!
EDIT: thanks it solved my problem! Just to not is that obexftp does not compile with --as-needed LD_FLAG.
Last edited by NewB on Wed Sep 13, 2006 11:39 am; edited 1 time in total |
|
| Back to top |
|
 |
ChrisWhite Retired Dev


Joined: 08 Jul 2004 Posts: 399 Location: Stockton, CA
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|