Wr0ngName / linux-g13-driver

Automatically exported from code.google.com/p/linux-g13-driver
0 stars 0 forks source link

Driver will not compile when "make" is called(Kubuntu LTS 12) #18

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. run make in directory of G13-linuxdriver

What is the expected output? What do you see instead?
Linux-G13-Driver
see below in additional information

What version of the product are you using? On what operating system?
Linux-G13_1.0-r44  / Kubuntu LTS 12.04

Please provide any additional information below.

lino:~/Downloads/Linux-G13_1.0-r44$ make
g++ c-source/G13.o c-source/G13Action.o c-source/Macro.o c-source/MacroAction.o 
c-source/Main.o c-source/Output.o c-source/PassThroughAction.o -o 
Linux-G13-Driver  -lusb-1.0
/usr/bin/ld: i386:x86-64 architecture of input file `c-source/G13.o' is 
incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `c-source/G13Action.o' is 
incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `c-source/Macro.o' is 
incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `c-source/MacroAction.o' is 
incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `c-source/Main.o' is 
incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `c-source/Output.o' is 
incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file 
`c-source/PassThroughAction.o' is incompatible with i386 output
c-source/G13.o: In function `G13::G13(libusb_device*)':
G13.cpp:(.text+0x177): undefined reference to `operator new(unsigned long)'
c-source/G13.o: In function `G13::loadMacro(int)':
G13.cpp:(.text+0x480): undefined reference to `operator new(unsigned long)'
c-source/G13.o: In function `G13::loadBindings()':
G13.cpp:(.text+0xa2c): undefined reference to `operator new(unsigned long)'
G13.cpp:(.text+0xaf6): undefined reference to `operator new(unsigned long)'
c-source/G13.o: In function 
`__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<int const, 
std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > 
>::allocate(unsigned long, void const*)':
G13.cpp:(.text._ZN9__gnu_cxx13new_allocatorISt13_Rb_tree_nodeISt4pairIKiSsEEE8al
locateEmPKv[__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<int const, 
std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > 
>::allocate(unsigned long, void const*)]+0x45): undefined reference to 
`operator new(unsigned long)'
c-source/MacroAction.o:MacroAction.cpp:(.text+0x83): more undefined references 
to `operator new(unsigned long)' follow
collect2: ld gab 1 als Ende-Status zurück
make: *** [Linux-G13-Driver] Fehler 1

Original issue reported on code.google.com by galaga...@gmail.com on 21 May 2014 at 5:37