[uClinux-dev] HTTPS library in uCLinux
Tiberiu Motoc
tiberiu.motoc at gmail.com
Mon Nov 5 22:54:51 EST 2007
Hi Erwin,
Thanks for your answer. I did compile openssl and everything went well.
However, I'm having major problems compiling libcurl.
First of all, I'm using the arm toolchain (arm-elf-gcc, arm-elf...). I found
a version of libcurl on the Internet, apparently customized for cross
compilation at
http://dslinux.gits.kiev.ua/branches/vendor/uclinux/lib/libcurl/. This is
version 7.14.0 of libcurl and I think the only change it has from the
baseline is a makefile in which many of the libcurl options are disabled (
e.g. no ipv6, no multi-threaded, etc.). I removed this file because I wanted
to have control over the options.
I configured libcurl with the following command:
./configure --disable-ares --disable-cookies --disable-crypto-auth
--disable-ipv6 --disable-verbose --without-libidn --without-zlib
--disable-ldap --disable-thread --disable-shared
--with-ssl=/home/motoct/dev/uClinux-dist/lib/libssl/compiled/
--prefix=/home/motoct/dev/uClinux-dist/lib/libcurl/compiled
--host=arm-elf-gcc
The config script spit out the following error:
checking host system type... Invalid configuration `arm-elf-gcc': system
`gcc' not recognized
configure: error: /bin/bash ./config.sub arm-elf-gcc failed
I then re-configured libcurl, but I replaced "--host=arm-elf-gcc" with
"--host=arm". Unfortunately now I had to parse all the Makefiles (about 15
of them) and replace the line "CC=gcc" to "CC=arm-elf-gcc". I started make,
but then it failed with the following error message:
arm-elf-gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib
-I/home/motoct/dev/cmpe295/uClinux-dist/lib/libssl/compiled//include/openssl
-I/home/motoct/dev/cmpe295/uClinux-dist/lib/libssl/compiled//include -g -O2
-MT file.lo -MD -MP -MF .deps/file.Tpo -c file.c -o file.o
arm-elf-gcc: cannot specify -o with -c or -S and multiple compilations
Is there some document/post/easy way of configuring libcurl for the arm tool
chain, or do I just have to work through all the errors?
Thanks,
Tiberiu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20071105/57182df4/attachment.html
More information about the uClinux-dev
mailing list