[Libssh] Comment inclure libssh en static ?
Norbert Kiesel
nkiesel at tbdnetworks.com
Tue Jul 15 21:57:34 CEST 2008
You might get more help by posting your questions in English (or in
English as well).
</nk>
On Tue, 2008-07-15 at 21:41 +0200, .:: Alfred Sawaya ::. wrote:
> Ca n'a pas l'air concluant :
>
> gcc -o sample libssh.a -lcrypto -lz
> /usr/lib/gcc/i486-linux-gnu/4.3.1/../../../../lib/crt1.o: In function
> `_start':
> (.text+0x18): undefined reference to `main'
> collect2: ld returned 1 exit status
>
> j'envoie le fichier que j'essaie de compiler en fichier joint, on sait
> jamais, surement une betise que j'ai fait... (c'est une version mini de
> sample.c)
>
> Aussi, le fichier est dans un dossier avec libssh.a et crypt.o mais bon
> ca ne marche pas non plus...
>
> Merci !
More information about the Libssh
mailing list