I patched it to build with newest gcc and glibc :)
http://pastie.org/3938132
Search Criteria
Package Details: wiimotedev 1.4.4-1
Package Actions
| Package Base: | wiimotedev |
|---|---|
| Description: | Wiimotedev-daemon is a core project in wiimotedev family. It works on dbus system layer, provides a full set API to communicate with wiiremotes. |
| Upstream URL: | http://code.google.com/p/wiimotedev/ |
| Category: | daemons |
| Licenses: | |
| Submitter: | Zuf |
| Maintainer: | None |
| Last Packager: | None |
| Votes: | 1 |
| First Submitted: | 2011-06-10 19:15 |
| Last Updated: | 2013-03-02 13:13 |
Required by (0)
Sources
Latest Comments
Anonymous comment
Comment by Zuf
Now I have another issue:
[ 22%] Building CXX object src/CMakeFiles/wiimotedev-daemon.dir/network/servermanager.cpp.o
In file included from /usr/include/cwiid.h:63:0,
from /home/zuf/build/wiimotedev/src/wiimotedev-project-1.3.0/src/core/wiiremote.h:34,
from /home/zuf/build/wiimotedev/src/wiimotedev-project-1.3.0/src/core/connection.h:26,
from /home/zuf/build/wiimotedev/src/wiimotedev-project-1.3.0/src/core/manager.h:29,
from /home/zuf/build/wiimotedev/src/wiimotedev-project-1.3.0/src/network/servermanager.cpp:20:
/usr/include/bluetooth/bluetooth.h: In function 'uint64_t bt_get_le64(void*)':
/usr/include/bluetooth/bluetooth.h:131:9: error: invalid conversion from 'void*' to 'bt_get_le64(void*)::<anonymous struct>*' [-fpermissive]
/usr/include/bluetooth/bluetooth.h: In function 'uint64_t bt_get_be64(void*)':
/usr/include/bluetooth/bluetooth.h:136:9: error: invalid conversion from 'void*' to 'bt_get_be64(void*)::<anonymous struct>*' [-fpermissive]
/usr/include/bluetooth/bluetooth.h: In function 'uint32_t bt_get_le32(void*)':
/usr/include/bluetooth/bluetooth.h:141:9: error: invalid conversion from 'void*' to 'bt_get_le32(void*)::<anonymous struct>*' [-fpermissive]
/usr/include/bluetooth/bluetooth.h: In function 'uint32_t bt_get_be32(void*)':
/usr/include/bluetooth/bluetooth.h:146:9: error: invalid conversion from 'void*' to 'bt_get_be32(void*)::<anonymous struct>*' [-fpermissive]
/usr/include/bluetooth/bluetooth.h: In function 'uint16_t bt_get_le16(void*)':
/usr/include/bluetooth/bluetooth.h:151:9: error: invalid conversion from 'void*' to 'bt_get_le16(void*)::<anonymous struct>*' [-fpermissive]
/usr/include/bluetooth/bluetooth.h: In function 'uint16_t bt_get_be16(void*)':
/usr/include/bluetooth/bluetooth.h:156:9: error: invalid conversion from 'void*' to 'bt_get_be16(void*)::<anonymous struct>*' [-fpermissive]
make[2]: *** [src/CMakeFiles/wiimotedev-daemon.dir/network/servermanager.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/wiimotedev-daemon.dir/all] Error 2
make: *** [all] Error 2
All this problems related to new version of gcc.
I try to make patch for it. But i can not guarantee result.
Comment by capthilts
having the same issue on Arch 64bit KDE...no way to fix this?
Cheers
Comment by Zuf
Seems like an upstream issue with modern gcc or glib.
Comment by kuroneko
I'm having trouble building the package, makepkg -s fails with:
/usr/bin/ld: ../3rdparty/libcwiid/liblibcwiid.a(connect.c.o): undefined reference to symbol 'pthread_cancel@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_cancel@@GLIBC_2.2.5' is defined in DSO /lib/libpthread.so.0 so try adding it to the linker command line
/lib/libpthread.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [src/wiimotedev-daemon] Error 1
make[1]: *** [src/CMakeFiles/wiimotedev-daemon.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Comment by capthilts
thx for this! been trying it on other distros and never got it to work as it should...
smooth on Arch! cheers
Comment by Zuf
You can use wiimotedev-daemon from this package to control clementine audio player with wiiremote.