[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

undefined reference to `ssh_new`


Yes, I am new to this library and i guess on the intermediate level of programing, but when I was just trying to try out libssh by just declaring a session and using the ssh_new() I get this when I compile it

/tmp/ccK5xvPt.o: In function `main':
test.c:(.text+0xa): undefined reference to `ssh_new'
collect2: ld returned 1 exit status

I honestly I am stumped on this, and it is most likely a easy fix but I am stumped. Could anyone possible point me in the right direction??



      

Follow-Ups:
Re: undefined reference to `ssh_new`Aris Adamantiadis <aris@xxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org