FS#40316 - [cwiid] build fails
Attached to Project:
Community Packages
Opened by Joel Teichroeb (klusark) - Sunday, 11 May 2014, 21:19 GMT
Last edited by David Runge (dvzrv) - Tuesday, 05 December 2017, 10:31 GMT
Opened by Joel Teichroeb (klusark) - Sunday, 11 May 2014, 21:19 GMT
Last edited by David Runge (dvzrv) - Tuesday, 05 December 2017, 10:31 GMT
|
Details
Description:
gcc -o wmgui main.o interface.o support.o -Wl,-O1,--sort-common,--as-needed,-z,relro-lbluetooth -lpthread -L../libcwiid -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgthread-2.0 -pthread -lglib-2.0 -lm -lcwiid /usr/bin/ld: warning: -z relro-lbluetooth ignored. main.o: In function `main': /build/cwiid/src/cwiid-svn_history/wmgui/main.c:240: undefined reference to `str2ba' /build/cwiid/src/cwiid-svn_history/wmgui/main.c:252: undefined reference to `str2ba' ../libcwiid/libcwiid.so: undefined reference to `hci_close_dev' ../libcwiid/libcwiid.so: undefined reference to `hci_get_route' ../libcwiid/libcwiid.so: undefined reference to `hci_read_remote_name' ../libcwiid/libcwiid.so: undefined reference to `hci_inquiry' ../libcwiid/libcwiid.so: undefined reference to `hci_open_dev' collect2: error: ld returned 1 exit status /build/cwiid/src/cwiid-svn_history/common/include/app.mak:13: recipe for target 'wmgui' failed make[1]: *** [wmgui] Error 1 make[1]: Leaving directory '/build/cwiid/src/cwiid-svn_history/wmgui' Makefile:33: recipe for target 'wmgui' failed make: *** [wmgui] Error 2 ==> ERROR: A failure occurred in build(). Aborting... Steps to reproduce: sudo extra-x86_64-build |
This task depends upon
Closed by David Runge (dvzrv)
Tuesday, 05 December 2017, 10:31 GMT
Reason for closing: Fixed
Additional comments about closing: (Hopefully) fixed with cwiid 0.6.00+svn201-2
Tuesday, 05 December 2017, 10:31 GMT
Reason for closing: Fixed
Additional comments about closing: (Hopefully) fixed with cwiid 0.6.00+svn201-2
I also added options=(!makeflags) to avoid errors about missing y.tab.h:
In file included from uinput.c:44:0:
conf.h:56:10: fatal error: y.tab.h: No such file or directory
#include "y.tab.h"
^~~~~~~~~
Also, it will be dropped in the not so distant future [2].
@jelly: There is XWiimote [3].
[1] https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/cwiid&id=95467221b84a020ee75460f634145f61b379bd93
[2] https://lists.archlinux.org/pipermail/arch-dev-public/2017-December/029047.html
[3] https://wiki.archlinux.org/index.php/XWiimote