www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples

Archive Index This month's Index

Subject: Compile problem

Compile problem

From: Lyndon Hill <emptystate_at_yahoo.co.uk>
Date: Wed, 14 Apr 2010 23:04:44 +0000 (GMT)

Hi

I'm trying to cross compile libssh2-1.2.5 for ARMv4 on my Mac but there is an error during the build:

libtool: compile: arm-quantumstep-linux-gnu-gcc -DHAVE_CONFIG_H -I../include -I../src -I/Users/lyndon/Zaurus/openssl-1.0.0/include -I/Users/lyndon/Zaurus/zlib-1.2.3/include -g -O2 -c session.c -Wp,-MD,.deps/session.TPlo -fPIC -DPIC -o .libs/session.o
session.c: In function `_libssh2_wait_socket':
session.c:532: parse error before `struct'

My configure line was:
  $ ./configure --host arm-quantumstep-linux-gnu --with-libz-prefix=/Users/lyndon/Zaurus/zlib-1.2.3 --with-libssl-prefix=/Users/lyndon/Zaurus/openssl-1.0.0

I don't know anything about libssh2 or it's build system, I'm trying to build it so I can link curl to it. I previously compiled libssh2-1.2.2 with OpenSSL 0.9.8l.

Thanks!

      
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-04-15

the libssh2 team