Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kdebluetooth kompiliert nicht mehr [gelöst]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Stormkings
Guru
Guru


Joined: 27 Sep 2002
Posts: 352
Location: Europe

PostPosted: Sat Jan 15, 2005 1:39 pm    Post subject: kdebluetooth kompiliert nicht mehr [gelöst] Reply with quote

hallo, ich versuche kdebluetooth mit dem cvs ebuild zu kompilieren und bekomme diesen fehler. das gleiche tritt übrigens mit der version aus portage auf. hat jemand ein ähnliches problem oder eine idee wie ich das lösen könnte?
folgendes ist installiert, was vielleicht von bedeutung ist:
kde-3.3.2
gcc-3.4.3-r1
bluez-libs-2.14
bluez-utils-2.14

Code:
/usr/qt/3/bin/moc ./connectiondlg.h -o connectiondlg.moc
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../kdebluetooth -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include  -I/usr/kde/3.3/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT connectiondlg.o -MD -MP -MF ".deps/connectiondlg.Tpo" \
  -c -o connectiondlg.o `test -f 'connectiondlg.cpp' || echo './'`connectiondlg.cpp; \
then mv -f ".deps/connectiondlg.Tpo" ".deps/connectiondlg.Po"; \
else rm -f ".deps/connectiondlg.Tpo"; exit 1; \
fi
connectiondlg.cpp: In member function `void ConnectionDlg::updateRssi(int, uint16_t)':
connectiondlg.cpp:156: Fehler: `GET_LINK_QUALITY_RP_SIZE' undeclared (first use this function)
connectiondlg.cpp:156: Fehler: (Each undeclared identifier is reported only once for each function it appears in.)
make[4]: *** [connectiondlg.o] Fehler 1
make[4]: Leaving directory `/home/david/cvs/kdeextragear-3/kdebluetooth/kbluetoothd/kbluetoothd'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/home/david/cvs/kdeextragear-3/kdebluetooth/kbluetoothd/kbluetoothd'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/david/cvs/kdeextragear-3/kdebluetooth/kbluetoothd'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/david/cvs/kdeextragear-3/kdebluetooth'
make: *** [all] Fehler 2


Last edited by Stormkings on Sat Jan 15, 2005 2:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
Stormkings
Guru
Guru


Joined: 27 Sep 2002
Posts: 352
Location: Europe

PostPosted: Sat Jan 15, 2005 2:49 pm    Post subject: Reply with quote

hallo, falls es jemanden interessiert:
der fehler liegt in:
Code:
kdebluetooth/kbluetoothd/kbluetoothd/connectiondlg.cpp

hier der nötige patch:
Code:
--- connectiondlg.old.cpp       2005-01-15 16:36:05.000000000 +0100
+++ connectiondlg.cpp   2005-01-15 16:36:39.000000000 +0100
@@ -153,7 +153,7 @@
     rq.cparam = &conHandle;
     rq.clen = 2;
     rq.rparam = &rp;
-    rq.rlen = GET_LINK_QUALITY_RP_SIZE;
+    rq.rlen = READ_LINK_QUALITY_RP_SIZE;

     if (hci_send_req(dd, &rq, 100) < 0) {
         kdDebug() << "HCI get_link_quality request failed" << endl;
Back to top
View user's profile Send private message
centic
n00b
n00b


Joined: 19 Nov 2003
Posts: 33

PostPosted: Wed Feb 02, 2005 8:27 pm    Post subject: Reply with quote

Hi,

ich hab den patch zur Version 0.0.20050122-r3 hinzugefügt. Die ist aber zur Zeit noch "hard-masked".

centic aka Dominik.
Back to top
View user's profile Send private message
mathes.s
Apprentice
Apprentice


Joined: 18 Apr 2003
Posts: 279
Location: Brunswick, Germany

PostPosted: Mon Feb 07, 2005 7:41 pm    Post subject: Reply with quote

Hi,
ich habe probiert die version 0.0.20050122-r3 zuinstallieren, aber ich bekomme folgenden Fehler.
Code:

pp' || echo './'`devicescanner.cpp
connectiondlg.cpp: In member function `void ConnectionDlg::updateRssi(int, uint16_t)':
connectiondlg.cpp:156: Fehler: `READ_LINK_QUALITY_RP_SIZE' undeclared (first use this function)
connectiondlg.cpp:156: Fehler: (Each undeclared identifier is reported only once for each function it appears in.)
make[5]: *** [connectiondlg.o] Fehler 1
make[5]: *** Warte auf noch nicht beendete Prozesse...
make[5]: Leaving directory `/var/tmp/portage/kdebluetooth-0.0.20050122-r3/work/kdebluetooth-0.0.20050122/kdebluetooth/kbluetoothd/kbluetoothd'
make[4]: *** [all-recursive] Fehler 1
make[4]: Leaving directory `/var/tmp/portage/kdebluetooth-0.0.20050122-r3/work/kdebluetooth-0.0.20050122/kdebluetooth/kbluetoothd/kbluetoothd'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/kdebluetooth-0.0.20050122-r3/work/kdebluetooth-0.0.20050122/kdebluetooth/kbluetoothd'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/kdebluetooth-0.0.20050122-r3/work/kdebluetooth-0.0.20050122/kdebluetooth'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/kdebluetooth-0.0.20050122-r3/work/kdebluetooth-0.0.20050122'
make: *** [all] Fehler 2


Ich weiß nicht so ganz woran dies, liegt. Oder liegt dies daran, dass ich nur die bluez-* Verion 2.10 installiert habe? Besitze ein Amd64 System mit gcc 3.4.3

mfg Mathes
_________________
Erst wenn der letzte Programmierer eingesperrt, das letzte Programm verwirklicht und die letzte Idee patentiert ist, werdet Ihr merken, dass Anwälte nicht programmieren können.
Back to top
View user's profile Send private message
centic
n00b
n00b


Joined: 19 Nov 2003
Posts: 33

PostPosted: Mon Feb 07, 2005 8:26 pm    Post subject: Reply with quote

Du hast recht, das liegt an der version von bluez-libs. Danke für den Hinweis.

Das wurde ansscheinend zwischen 2.13 und 2.14 in bluez-libs geändert:
http://cvs.sourceforge.net/viewcvs.py/bluez/libs/include/hci.h?r1=1.44&r2=1.45

Das heisst, der patch sollte nur bei bluez-libs >= 2.14 angewandt werden.

Ich habe in der -r3 jetzt ein entsprechendes Konstrukt eingebaut. Kannst Du das bitte nochmal testen?

Dominik.
Back to top
View user's profile Send private message
mathes.s
Apprentice
Apprentice


Joined: 18 Apr 2003
Posts: 279
Location: Brunswick, Germany

PostPosted: Mon Feb 07, 2005 10:25 pm    Post subject: Reply with quote

Hi,
ähm dumme frage von mir wie stelle ich fest das ich die neuste Version von dir habe. Ich probiere bei mir die version 0.0.20050122-r3 aus dem Protage herraus zuinstallieren. Ich habe einfach in das ebuild ~amd64 eingetragen und probiert es zuinstallieren. Ich habe keinen Schimmer wie ich an die Verion im CVS komme.

mfg Mathes
_________________
Erst wenn der letzte Programmierer eingesperrt, das letzte Programm verwirklicht und die letzte Idee patentiert ist, werdet Ihr merken, dass Anwälte nicht programmieren können.
Back to top
View user's profile Send private message
centic
n00b
n00b


Joined: 19 Nov 2003
Posts: 33

PostPosted: Mon Feb 07, 2005 11:02 pm    Post subject: Reply with quote

Es lässt sich leider durch die Mirrors schwer sagen, wann die Änderung wirklich für Dich aus dem Portage verfügbar ist. Du kannst aber die Änderung leicht bei Dir lokal nachziehn. Ich habe im ebuild einfach nur statt

Code:
    epatch ${FILESDIR}/${P}-compile.patch


die folgende Zeile gesetzt:

Code:
    has_version '>=net-wireless/bluez-libs-2.14' && epatch ${FILESDIR}/${P}-compile.patch


Das sollte den patch nur dann einspielen, wenn bluez-libs mit Version 2.14 oder höher installiert ist.

Dominik.
Back to top
View user's profile Send private message
mathes.s
Apprentice
Apprentice


Joined: 18 Apr 2003
Posts: 279
Location: Brunswick, Germany

PostPosted: Tue Feb 08, 2005 8:40 pm    Post subject: Reply with quote

Hi,
es hat geklappt. Ich musste zwar noch, nachdem ich die von dir geänderte Zeile eingefügt hatte, den folgenden Thread nutzten
https://forums.gentoo.org/viewtopic.php?t=226651&highlight=libopenobex+undefined+reference+btobexaccept

Aber dann hat es durch kompiliert. Wäre schön wenn du es schaffen würdest das auch noch in das Ebuild ein zu bauen. Dann könntest du vielleicht auch den Keywords ein "~amd64" hinzufügen.

Vielen Dank und mfg Mathes
_________________
Erst wenn der letzte Programmierer eingesperrt, das letzte Programm verwirklicht und die letzte Idee patentiert ist, werdet Ihr merken, dass Anwälte nicht programmieren können.
Back to top
View user's profile Send private message
centic
n00b
n00b


Joined: 19 Nov 2003
Posts: 33

PostPosted: Sat Feb 19, 2005 10:00 am    Post subject: Reply with quote

Der ebuild enthält aber schon

Code:

DEPEND=">=dev-libs/openobex-1


was sollte sonst noch rein?

Danke... Dominik.
Back to top
View user's profile Send private message
mathes.s
Apprentice
Apprentice


Joined: 18 Apr 2003
Posts: 279
Location: Brunswick, Germany

PostPosted: Sun Feb 20, 2005 4:21 pm    Post subject: Reply with quote

Hi,
die Sache ist die, dass es nur mit der version 1.0.0 kompiliert aber zumindest bei mir nicht mit der 1.0.1.

mfg Mathes
_________________
Erst wenn der letzte Programmierer eingesperrt, das letzte Programm verwirklicht und die letzte Idee patentiert ist, werdet Ihr merken, dass Anwälte nicht programmieren können.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
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