[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: undefined reference to `ssh_new`
[Thread Prev] | [Thread Next]
- Subject: Re: undefined reference to `ssh_new`
- From: Aris Adamantiadis <aris@xxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 24 Jun 2010 09:09:20 +0200
- To: libssh@xxxxxxxxxx
Hi, You probably forgot to link with libssh. If you're compiling by hand, just add -lssh to the command line, or if you're using an IDE, configure it to link with the "ssh" library. Aris Shawn Braune a écrit : > 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?? > >
Re: undefined reference to `ssh_new` | Shawn Braune <n30h4x@xxxxxxxxx> |
undefined reference to `ssh_new` | Shawn Braune <n30h4x@xxxxxxxxx> |