Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Nov 8, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 21 May 2014 at 5:37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant