I am trying to re-emerge multisync with bluetooth support. I have bluetooth setup correctly, and I have been able to transfer files from my phone to my laptop to verify this. When I try to emerge multisync it fails, here is the tail end of the emerge /bin/sh ../libtool --mode=link gcc -DPLUGINDIR=\"/usr/lib/multisync\" -O3 -march=pentium4 -fomit-frame-pointer -pipe -mmmx -msse -mfpmath=sse,387 -ffast-math -o libirmc_bluetooth.la -rpath /usr/lib/multisync irmc_bluetooth.lo -lbluetooth -lsdp -lpthread -lpthread -lopenobex -lglib-2.0 ../libtool: line 3972: test: : integer expression expected ../libtool: line 3972: test: : integer expression expected creating reloadable object files... creating a temporary reloadable object file: .libs/libirmc_bluetooth.la-1.o /usr/i686-pc-linux-gnu/bin/ld -r -o .libs/libirmc_bluetooth.la-1.o .libs/irmc_bluetooth.o gcc -shared .libs/libirmc_bluetooth.la-1.o /usr/lib/libbluetooth.so -lsdp -lpthread /usr/lib/libopenobex.so /usr/lib/libglib-2.0.so -march=pentium4 -mmmx -msse -mfpmath=sse,387 -Wl,-soname -Wl,libirmc_bluetooth.so.0 -o .libs/libirmc_bluetooth.so.0.0.0 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lsdp collect2: ld returned 1 exit status make[3]: *** [libirmc_bluetooth.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/multisync-0.82/work/multisync-0.82/plugins/irmc_sync/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/multisync-0.82/work/multisync-0.82/plugins/irmc_sync/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/multisync-0.82/work/multisync-0.82/plugins/irmc_sync' make: *** [all] Error 2 !!! ERROR: app-pda/multisync-0.82 failed. !!! Function src_compile, Line 73, Exitcode 2 !!! irmc_sync make failed!
Created attachment 39544 [details] My make.conf
ok i think its because I dont have bluez/libsdp... but i cant emerge that now that blueooth is in the kernel(2.6.8.x) or it will break my bluetooth right?
Created attachment 39576 [details, diff] possible patch I'm not sure how to make this into a patch, but I beleive this attachement ahs the fix in it.
which version of multisync are you using?
actually, this is fixed in 0.82, bumping to stable x86.
Im already running ~x86, and trying to emerge 0.82, but it still get the problem
what version of bluez-libs and bluez-utils do you have?
monster ~ # emerge -p bluez-utils These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] net-wireless/bluez-utils-2.10-r1 [2.10] monster ~ # emerge -p bluez-libs These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] net-wireless/bluez-libs-2.10 monster ~ # uname -a Linux monster 2.6.8.1 #2 SMP Fri Sep 10 23:20:31 EDT 2004 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux monster ~ # emerge -V Portage 2.0.51_rc1 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8.1 i686) monster ~ #
Created attachment 40451 [details, diff] bluez 2.10 and multisync 0.82 I previously posted this patch in a bluez-bug, as this was a direct result of updating to 2.10. In order to compile bluez 2.10 with multisync 0.82 the sdp-replacement is mandatory.
ok that last comment was a bit above my head, I already have bluez-libs-2.10 and multisync still will not compile for me.
ok i got the patch applied... and it compiles... now to see if it works!!! thanks
patch worked thanks
Not fixed in CVS.
Since net-wireless/bluez-libs-2.10 is marked ARCH this needs to be fixed ASAP.
emerge -pv bluez-libs [ebuild R ] net-wireless/bluez-libs-2.10 0 kB [1] emerge -pv multisync [ebuild U ] app-pda/multisync-0.82 [0.81-r1] +bluetooth* +evo +irmc -ldap -opie 0 kB [1] emerge -v multisync ...... creating a temporary reloadable object file: .libs/libirmc_bluetooth.la-1.o /usr/i686-pc-linux-gnu/bin/ld -r -o .libs/libirmc_bluetooth.la-1.o .libs/irmc_bluetooth.o gcc -shared .libs/libirmc_bluetooth.la-1.o /usr/lib/libbluetooth.so -lsdp -lpthread /usr/lib/libopenobex.so /usr/lib/libglib-2.0.so -march=pentium3 -Wl,-soname -Wl,libirmc_bluetooth.so.0 -o .libs/libirmc_bluetooth.so.0.0.0 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lsdp So sdp stuff is needed. I Do not know how bluetooth works. I was just doing a emerge -uv world and had added the bluetooth flag because i plan on using it soon.
multisync-0.82/plugins/irmc_sync/src/Makefile.am contains a reference to -lsdp which the multisync-0.82-bluetooth-sdp.patch doesn't remove.
The patch in portage did not fix plugins/irmc_sync/src/Makefile.in . I added an extra patch for that (actually i used the patch here in this bug.) This should be okay now.
That's not the right fix. You need to patch Makefile.am since Makefile.in is generated from that.
Ok. After talking to HumpBack on IRC he committed an updated patch. Closing as fixed.