undefined reference

Post your Linux discussions here
Post Reply
soje
Newbie
Posts: 0
Joined: Wed Jan 04, 2012 7:36 pm

undefined reference

Post by soje »

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

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: undefined reference

Post by Martyn »

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 Support Manager

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

Re: undefined reference

Post by soje »

Thanks :-)

Post Reply