Test and Measurement Forum

undefined reference

Post your Linux discussions here

undefined reference

Postby soje » Sun Jan 29, 2012 12:40 am

Hi.

I'm fairly skilled in using and administering linux, but I am however quite green in programming C.

Several things is moving me to try my hands on setting my 2203 scope up under linux, also the learning experience :-)
I managed to install the drivers, and the usbtest script is reporting ok, my system is Lubuntu 11.10


I'm trying to build the PS2000con application, with the described command, however, I get multiple lines the likes of this:

PS2000con.c:(.text+0x39c): undefined reference to `ps2000_set_ets'

Am I right in asuming gcc can't find the library?

Thanks
soje
Newbie
 
Posts: 0
Joined: Wed Jan 04, 2012 7:36 pm

Re: undefined reference

Postby Martyn » Mon Jan 30, 2012 9:08 am

It looks like this issue which we had with the 3000a drivers

http://ubuntuforums.org/showthread.php?t=1853881

You need to move the libs to the end of the gcc compile line for 11.10 onwards.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2352
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: undefined reference

Postby soje » Thu Feb 09, 2012 5:17 pm

Thanks :-)
soje
Newbie
 
Posts: 0
Joined: Wed Jan 04, 2012 7:36 pm


Return to Linux

Who is online

Users browsing this forum: No registered users and 0 guests