Subject: example/simple/ssh2_exec.c

example/simple/ssh2_exec.c

From: Simon Josefsson <simon_at_josefsson.org>
Date: Thu, 07 May 2009 09:03:28 +0200

This examples doesn't cross-compile to mingw:

ssh2_exec.c:15:24: error: netinet/in.h: No such file or directory
ssh2_exec.c:16:24: error: sys/socket.h: No such file or directory
ssh2_exec.c:17:23: error: arpa/inet.h: No such file or directory
ssh2_exec.c: In function ‘waitsocket’:
ssh2_exec.c:34: error: ‘fd_set’ undeclared (first use in this function)
ssh2_exec.c:34: error: (Each undeclared identifier is reported only once
ssh2_exec.c:34: error: for each function it appears in.)
ssh2_exec.c:34: error: expected ‘;’ before ‘fd’
ssh2_exec.c:35: error: ‘writefd’ undeclared (first use in this function)
...

I see some WIN32 checks in the code, have anyone really built the
example on Windows?

Otherwise, I suggest we disable building that example on mingw. It
currently breaks building daily snapshots on mingw.

/Simon

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2009-05-07