cURL / Mailing Lists / curl-users / Single Mail

curl-users

still no luck cross-compiling for PPC, a bit more detail

From: Robert P. J. Day <rpjday_at_mindspring.com>
Date: Mon, 18 Jul 2005 15:51:10 -0400 (EDT)

  i apologize, but i'm having no luck cross-compiling for the PPC with
SSL support (if i leave out SSL, the cross-compile works fine.)
here's the relevant part of the directory structure under where the
toolchain is installed:

  /usr/local/eldk3.1.1/ppc_8xx/

    ./usr/lib/libssl.a
    ./usr/lib/libssl.so -> ../../lib/libssl.so.0.9.7a
    ./usr/lib/libssl.so.4 -> ../../lib/libssl.so.0.9.7a
    ./lib/libssl.so.0.9.7a
    ./lib/libssl.so -> libssl.so.0.9.7a

i've already created a configure script with the essential
cross-compile commands:

  CC=ppc-linux-gcc
  AS=ppc-linux-as

and so on. so all i think i need are the parts that get configure to
look for SSL in the right place, and i've tried several variations of
CPPFLAGS, LDFLAGS and --with-ssl values. no matter what i try, i get:

checking for SSL_connect in -lssl... no
checking for ssl with RSAglue/rsaref libs in use... checking for
SSL_connect in -lssl... (cached) no
no
configure: error: OpenSSL libs and/or directories were not found where
specified!

  help?

rday
Received on 2005-07-18