You are not logged in.
Pages: 1
i am using kde3 and i just got a bluetooth mouse so since we have switched to kde4.1 i am trying to build the old kdebluetooth package and i fails with this error (i have included the lines just before the error incase they contain anything usefull):
/bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/kde/include -I/opt/qt/include -I. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT sdpdevice.lo -MD -MP -MF .deps/sdpdevice.Tpo -c -o sdpdevice.lo sdpdevice.cpp
sdpdevice.cpp: In member function 'void KBluetooth::SDP::Device::updateServices()':
sdpdevice.cpp:114: error: 'free' was not declared in this scope
make[3]: *** [sdpdevice.lo] Error 1
make[3]: Leaving directory `/home/jesper/Downloads/kdebluetooth/src/kdebluetooth-1.0_beta8/kdebluetooth/libkbluetooth'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jesper/Downloads/kdebluetooth/src/kdebluetooth-1.0_beta8/kdebluetooth'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jesper/Downloads/kdebluetooth/src/kdebluetooth-1.0_beta8'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
any help would be useful
Last edited by INCSlayer (2008-08-02 06:57:03)
dovie andi se tovya sagain
Offline
Do have the same error here. It is because of the update of gcc. I'm on it as well, maybe I'll make it. If not, I'll come back here. Is that ok?
Last edited by Army (2008-08-01 21:53:34)
Offline
Yes. it's because of gcc 4.3. You'll need to patch the sources. Add:
#include <cstdlib>
to sdpdevice.cpp
Offline
try that patch: http://kambing.ui.edu/gentoo-portage/ne … cc43.patch
Offline
with the patch it worked thanks snowman
dovie andi se tovya sagain
Offline
Oh thank you very very much snowman!!! I really forgot to search for a patch, wanted to use this as a linux training for myself But finally the package made it into AUR => http://aur.archlinux.org/packages.php?ID=18834
Offline
Pages: 1