You are not logged in.

#1 2009-12-14 16:33:21

ukulele
Member
Registered: 2009-12-14
Posts: 2

xboxdrv

Im having some problems installing xboxdrv from aur...

==> Starting build()...
patching file src/xbox_controller.cpp
patching file src/xbox_controller.hpp
patching file src/xbox_generic_controller.hpp
scons: Reading SConscript files ...
Checking for C++ library X11... (cached) yes
Checking for C++ library usb... (cached) yes
Checking for C++ header file boost/thread/thread.hpp... (cached) yes
Checking for C++ library boost_thread-mt... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/usb_read_thread.o -c -g -O2 -Wall -ansi -pedantic src/usb_read_thread.cpp
src/usb_read_thread.cpp: In member function 'int USBReadThread::read(uint8_t*, int, int)':
src/usb_read_thread.cpp:70: error: 'memcpy' was not declared in this scope
scons: *** [src/usb_read_thread.o] Error 1
scons: building terminated because of errors.
==> ERROR: Build Failed.

I have also tried installing it manually but i still get errors.

scons: Building targets ...
g++ -o src/arg_parser.o -c -g -O2 -Wall -ansi -pedantic src/arg_parser.cpp
g++ -o src/command_line_options.o -c -g -O2 -Wall -ansi -pedantic src/command_line_options.cpp
g++ -o src/evdev_helper.o -c -g -O2 -Wall -ansi -pedantic src/evdev_helper.cpp
g++ -o src/firestorm_dual_controller.o -c -g -O2 -Wall -ansi -pedantic src/firestorm_dual_controller.cpp
g++ -o src/force_feedback_handler.o -c -g -O2 -Wall -ansi -pedantic src/force_feedback_handler.cpp
g++ -o src/helper.o -c -g -O2 -Wall -ansi -pedantic src/helper.cpp
g++ -o src/linux_uinput.o -c -g -O2 -Wall -ansi -pedantic src/linux_uinput.cpp
g++ -o src/modifier.o -c -g -O2 -Wall -ansi -pedantic src/modifier.cpp
g++ -o src/pretty_printer.o -c -g -O2 -Wall -ansi -pedantic src/pretty_printer.cpp
g++ -o src/saitek_p2500_controller.o -c -g -O2 -Wall -ansi -pedantic src/saitek_p2500_controller.cpp
g++ -o src/uinput.o -c -g -O2 -Wall -ansi -pedantic src/uinput.cpp
g++ -o src/usb_read_thread.o -c -g -O2 -Wall -ansi -pedantic src/usb_read_thread.cpp
src/usb_read_thread.cpp: In member function 'int USBReadThread::read(uint8_t*, int, int)':
src/usb_read_thread.cpp:70: error: 'memcpy' was not declared in this scope
scons: *** [src/usb_read_thread.o] Error 1
scons: building terminated because of errors.

Anybody got some ideas what to do?

Offline

#2 2010-01-08 21:20:26

vitriolage
Member
Registered: 2010-01-08
Posts: 1

Re: xboxdrv

Just add:

#include <string.h>

to src/usb_read_thread.cpp

Offline

#3 2010-01-10 11:49:59

RaptorRed
Member
Registered: 2009-03-26
Posts: 30

Re: xboxdrv

ok i had the same problem and adding #include <string.h> fixed the problem and it compiled, but when i run it it says

xboxdrv: error while loading shared libraries: libboost_thread-mt.so.1.39.0: cannot open shared object file: No such file or directory

my version of boost is 1.41.0-2 and was the same when i compiled xboxdrv, any idea why its looking for an older version?

Offline

Board footer

Powered by FluxBB