<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body bgcolor="#CCCCFF" text="#000000">
Hi,<br>
We are trying to have --enable-curl plugin be a part of the image
using <u><b>cross-compilation</b></u> for power-pc (not the native
linux host)<br>
We have downloaded the latest curl version from <a
class="moz-txt-link-freetext"
href="http://curl.haxx.se/download.html">http://curl.haxx.se/download.html</a><br>
We were able to compile and generate a libcurl.a in <br>
./INSTALL_STAGE/curl-7.25.0/usr/lib/libcurl.a<br>
<br>
We tried to compile for strongswan but in the 'configuration' stage,
we get the following error:<br>
<pre wrap="">configure:15423: checking for main in -lcurl
configure:15442: powerpc-wrs-linux-gnu-ppc_e500v2-glibc_cgl-gcc -o conftest -g -O2 -fomit-frame-pointer -D__USE_STRING_INLINES -pipe -DDEBUG_LEVEL=3 conftest.c -lcurl >&5
<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>vobs/ngp_windriver/windriver_pne2.0/gnu/4.1-wrlinux-2.0/x86-linux2/bin<span class="moz-txt-tag">/</span></i>../lib/gcc/powerpc-wrs-linux-gnu/4.1.2/../../../../powerpc-wrs-linux-gnu/bin/ld: cannot find -lcurl</pre>
How do we specify how to find the library for curl (libcurl.a)? I
dont think it is --lib<br>
(I tried to build the strongswan in the native linux host machine
and everything is fine.)<br>
<br>
Thanks in advance,<br>
-Yong Choo<br>
<br>
<br>
</body>
</html>