... Making gammu/smsd/smsdcore.c Making gammu/smsd/s_files.c Making gammu/smsd/s_mysql.c Making gammu/sniff.c Making gammu/gammu.c Linking gammu /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: ne peut trouver -lsdp collect2: ld a retourn
... Making gammu/smsd/smsdcore.c Making gammu/smsd/s_files.c Making gammu/smsd/s_mysql.c Making gammu/sniff.c Making gammu/gammu.c Linking gammu /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../../i686-pc-linux-gnu/bin/ld: ne peut trouver -lsdp collect2: ld a retourné 1 code d'état d'exécution USE="-bluetooth irda mysql nls ssl" (all but bluetooth) Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51_rc6 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040916-r0, 2.6.9-rc2 i686) ================================================================= System uname: 2.6.9-rc2 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache digest distlocks fixpackages sandbox strict userpriv" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X aalib accessibility acpi adns alsa apache2 avi berkdb bitmap-fonts bonobo cdr crypt cups divx4linux doc dv dvb dvd dvdr dvdread eds encode erandom esd ethereal evo faac faad flac flash foomaticdb gd gdbm gif gimp gnome gnomedb gnutls gstreamer gtk gtk2 gtkhtml hal idea ieee1394 innodb irda irmc ithreads joystick jpeg ldap libcaca libg++ libgda libwww mad mikmod mmx mmx2 mozilla moznocompose moznoirc moznomail mozsvg mozxmlterm mpeg mysql ncurses net nls nntp nptl nvidia offensive oggvorbis opengl pam pcre pcsc-lite pda pdflib perl pic plotutils png postgres ppds pwdb python quicktime readline rtc samba sasl sdl slang sndfile speex spell sse ssl svg svga tcpd tetex theora threads tiff truetype unicode usb v4l v4l2 videos x86 xml xml2 xprint xv xvid xvmc yv12 zlib zvbi"
Hi, That's a problem when you have bluez-libs installed. Apparently -lsdp is a requirement when linking against the bluez-libs, but does not seem to be anywhere. And this is the reason why the release of gammu is delayed. :( I'll sed it out of the way. Regards Lim Swee Tat
Hi, This is fixed in the latest copy of gammu.
you mean it is fixed in an ebuild newer than this one : /var/cvsroot/gentoo-x86/net-dialup/gammu/gammu-0.98.0.ebuild,v 1.1 2004/09/26 14:54:30 st_lim Exp $ or that it is fixed upstream (i see nothing newer than 0.98 there) ?
It's been fixed in the 0.98.0 ebuild. But I did not put in an -r1 since this is fixing an existing ebuild anyway. By the way, 0.98.9 is out.
last 0.98.0 i tries still did not link (from yesterday) : the 'sdp' problem i just tried 0.98.9, it does not link either, but a different problem : Linking libGammu.so.0.0 Linking libGammu.a Linking gammu-shared ./gammu/smsd/s_files.o(.text+0x8c6): In function `SMSDFiles_FindOutboxSMS': : undefined reference to `mywstrstr' ./gammu/gammu.o(.text+0x1f08): In function `SearchOneMemory': : undefined reference to `mywstrstr' ./gammu/gammu.o(.text+0x204d): In function `SearchOneMemory': : undefined reference to `mywstrstr' ./gammu/gammu.o(.text+0x26a9): In function `ListMemoryCategory': : undefined reference to `mywstrstr' ./gammu/gammu.o(.text+0x16649): In function `ListToDoCategory': : undefined reference to `mywstrstr' collect2: ld a retourn
last 0.98.0 i tries still did not link (from yesterday) : the 'sdp' problem i just tried 0.98.9, it does not link either, but a different problem : Linking libGammu.so.0.0 Linking libGammu.a Linking gammu-shared ./gammu/smsd/s_files.o(.text+0x8c6): In function `SMSDFiles_FindOutboxSMS': : undefined reference to `mywstrstr' ./gammu/gammu.o(.text+0x1f08): In function `SearchOneMemory': : undefined reference to `mywstrstr' ./gammu/gammu.o(.text+0x204d): In function `SearchOneMemory': : undefined reference to `mywstrstr' ./gammu/gammu.o(.text+0x26a9): In function `ListMemoryCategory': : undefined reference to `mywstrstr' ./gammu/gammu.o(.text+0x16649): In function `ListToDoCategory': : undefined reference to `mywstrstr' collect2: ld a retourné 1 code d'état d'exécution make: *** [gammu/gammu-shared] Erreur 1 should i open a new bug ?
I have exactly the same problem - even when I downloaded Gammu source from homepage and tried to compile it using "make shared" or "make installlib". Simple "make" and "make install" works. So when I changed make DESTDIR=${D} installlib || die "install failed" to make DESTDIR=${D} install || die "install failed" in the ebuild, Gammu was installed succesfully and works OK (without libGammu, but it seems it's not needed).