• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 54 55 56 57 58 ... 117 Next »

Linux Bluetooth compiling error
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Linux Bluetooth compiling error
03-06-2012, 05:28 AM
#1
SquidLord Offline
Junior Member
**
Posts: 10
Threads: 3
Joined: Dec 2011
I did notice the other thread concerning Bluetooth on Linux, but this differs slightly.

I get 68% of the way compiling [ends at Wiimote.cpp.o] with this long chain of error:

Code:
In file included from /home/squid/git/dolphin-emu/Source/Core/Core/Src/HW/WiimoteReal/WiimoteRealBase.h:26:0,
                 from /home/squid/git/dolphin-emu/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.h:24,
                 from /home/squid/git/dolphin-emu/Source/Core/Core/Src/HW/Wiimote.cpp:5:
/usr/include/bluetooth/bluetooth.h: In function ‘uint64_t bt_get_le64(void*)’:
/usr/include/bluetooth/bluetooth.h:131:9: error: expected identifier before ‘*’ token
/usr/include/bluetooth/bluetooth.h:131:9: error: expected ‘,’ or ‘...’ before ‘(’ token
/usr/include/bluetooth/bluetooth.h:131:9: error: expected ‘;’ at end of member declaration
/usr/include/bluetooth/bluetooth.h:131:9: error: ‘__v’ does not name a type
/usr/include/bluetooth/bluetooth.h:131:9: error: ‘typeof’ was not declared in this scope
/usr/include/bluetooth/bluetooth.h:131:9: error: ‘struct bt_get_le64(void*)::<anonymous>’ has no member named ‘__v’
/usr/include/bluetooth/bluetooth.h: In function ‘uint64_t bt_get_be64(void*)’:
/usr/include/bluetooth/bluetooth.h:136:9: error: expected identifier before ‘*’ token
/usr/include/bluetooth/bluetooth.h:136:9: error: expected ‘,’ or ‘...’ before ‘(’ token
/usr/include/bluetooth/bluetooth.h:136:9: error: expected ‘;’ at end of member declaration
/usr/include/bluetooth/bluetooth.h:136:9: error: ‘__v’ does not name a type
/usr/include/bluetooth/bluetooth.h:136:9: error: ‘typeof’ was not declared in this scope
/usr/include/bluetooth/bluetooth.h:136:9: error: ‘struct bt_get_be64(void*)::<anonymous>’ has no member named ‘__v’
/usr/include/bluetooth/bluetooth.h: In function ‘uint32_t bt_get_le32(void*)’:
/usr/include/bluetooth/bluetooth.h:141:9: error: expected identifier before ‘*’ token
/usr/include/bluetooth/bluetooth.h:141:9: error: expected ‘,’ or ‘...’ before ‘(’ token
/usr/include/bluetooth/bluetooth.h:141:9: error: expected ‘;’ at end of member declaration
/usr/include/bluetooth/bluetooth.h:141:9: error: ‘__v’ does not name a type
/usr/include/bluetooth/bluetooth.h:141:9: error: ‘typeof’ was not declared in this scope
/usr/include/bluetooth/bluetooth.h:141:9: error: ‘struct bt_get_le32(void*)::<anonymous>’ has no member named ‘__v’
/usr/include/bluetooth/bluetooth.h: In function ‘uint32_t bt_get_be32(void*)’:
/usr/include/bluetooth/bluetooth.h:146:9: error: expected identifier before ‘*’ token
/usr/include/bluetooth/bluetooth.h:146:9: error: expected ‘,’ or ‘...’ before ‘(’ token
/usr/include/bluetooth/bluetooth.h:146:9: error: expected ‘;’ at end of member declaration
/usr/include/bluetooth/bluetooth.h:146:9: error: ‘__v’ does not name a type
/usr/include/bluetooth/bluetooth.h:146:9: error: ‘typeof’ was not declared in this scope
/usr/include/bluetooth/bluetooth.h:146:9: error: ‘struct bt_get_be32(void*)::<anonymous>’ has no member named ‘__v’
/usr/include/bluetooth/bluetooth.h: In function ‘uint16_t bt_get_le16(void*)’:
/usr/include/bluetooth/bluetooth.h:151:9: error: expected identifier before ‘*’ token
/usr/include/bluetooth/bluetooth.h:151:9: error: expected ‘,’ or ‘...’ before ‘(’ token
/usr/include/bluetooth/bluetooth.h:151:9: error: expected ‘;’ at end of member declaration
/usr/include/bluetooth/bluetooth.h:151:9: error: ‘__v’ does not name a type
/usr/include/bluetooth/bluetooth.h:151:9: error: ‘typeof’ was not declared in this scope
/usr/include/bluetooth/bluetooth.h:151:9: error: ‘struct bt_get_le16(void*)::<anonymous>’ has no member named ‘__v’
/usr/include/bluetooth/bluetooth.h: In function ‘uint16_t bt_get_be16(void*)’:
/usr/include/bluetooth/bluetooth.h:156:9: error: expected identifier before ‘*’ token
/usr/include/bluetooth/bluetooth.h:156:9: error: expected ‘,’ or ‘...’ before ‘(’ token
/usr/include/bluetooth/bluetooth.h:156:9: error: expected ‘;’ at end of member declaration
/usr/include/bluetooth/bluetooth.h:156:9: error: ‘__v’ does not name a type
/usr/include/bluetooth/bluetooth.h:156:9: error: ‘typeof’ was not declared in this scope
/usr/include/bluetooth/bluetooth.h:156:9: error: ‘struct bt_get_be16(void*)::<anonymous>’ has no member named ‘__v’
make[2]: *** [Source/Core/Core/CMakeFiles/core.dir/Src/HW/Wiimote.cpp.o] Error 1
make[1]: *** [Source/Core/Core/CMakeFiles/core.dir/all] Error 2
make: *** [all] Error 2

I'm using bluez 4.98-4 and have tried 4.98-3 and 4.98-2. Odd that 4.98-2 didn't work after I rolled back as it was the last one that did work. I'm also trying to compile the most recent version from the git. I've also tried appending "-DCMAKE_CXX_FLAGS=-fpermissive" to my usual "cmake .." command.

Any idea, or is this the same issue to as the other thread?
Computer
GPU: ATI 5870
CPU: Intel Core 2 Quad Q6600 @ 3.0GHz
RAM: 6GB DDR2 800
MOBO: XFX 750i
OS: Windows 7 x64, Arch Linux x86_64
Find
Reply
03-06-2012, 08:53 AM
#2
scummos Offline
Level 27 Forum Troll of Trog
****
Posts: 252
Threads: 2
Joined: Nov 2011
I think it's the same error. Try make VERBOSE=1 and check whether the -fpermissive flag is really applied.

Cheers
Find
Reply
03-09-2012, 08:36 AM
#3
SquidLord Offline
Junior Member
**
Posts: 10
Threads: 3
Joined: Dec 2011
(03-06-2012, 08:53 AM)scummos Wrote: I think it's the same error. Try make VERBOSE=1 and check whether the -fpermissive flag is really applied.

Cheers

It appears as though -fpermissive is applied. It's certainly in the output from VERBOSE=1
Computer
GPU: ATI 5870
CPU: Intel Core 2 Quad Q6600 @ 3.0GHz
RAM: 6GB DDR2 800
MOBO: XFX 750i
OS: Windows 7 x64, Arch Linux x86_64
Find
Reply
03-09-2012, 08:35 PM
#4
delroth Offline
Making the world a better place through reverse engineered DSP firmwares
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,354
Threads: 63
Joined: Aug 2011
This should be fixed in the latest git revision.
Pierre "delroth" Bourdon - @delroth_ - Blog

<@neobrain> that looks sophisticated enough to not be a totally dumb thing to do
Website Find
Reply
03-12-2012, 07:52 AM
#5
SquidLord Offline
Junior Member
**
Posts: 10
Threads: 3
Joined: Dec 2011
(03-09-2012, 08:35 PM)delroth Wrote: This should be fixed in the latest git revision.

Just checked and it is! Didn't even need -fpermissive. Successful compile and install. Glad to hear it's fixed.
Computer
GPU: ATI 5870
CPU: Intel Core 2 Quad Q6600 @ 3.0GHz
RAM: 6GB DDR2 800
MOBO: XFX 750i
OS: Windows 7 x64, Arch Linux x86_64
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 2 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode