OpenWrt Forum Archive

Topic: How to use curl ?

The content of this topic has been archived on 11 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi all,

well I'm trying to build a little app using parallel port to drive step motors.
In this app, I need to call a remote url.
I thought about using curl but I have an error trying to compile a curl example on my debian dev platform.
I built buildroot toolchain and compiling other stuff is ok.

my Q is: where to put the curl include headers on the dev linux and how to enable them ?
I put the headers found in the curl tarball under staging-mipsel-linux/include but this leads to error when trying to compile....

Any help ?

Thanks

cede wrote:

Hi all,

well I'm trying to build a little app using parallel port to drive step motors.
In this app, I need to call a remote url.
I thought about using curl but I have an error trying to compile a curl example on my debian dev platform.

Why not use wget which is in standard in busybox ?

Vincent Bernat wrote:

Why not use wget which is in standard in busybox ?

BusyBox wget doesn't support https. I think that's the reason.

@cede: You tried Google already?

I googled a lot and found not a lot I could use.
wget is nice but not for what I want.
Yes I want to use ssl layer and I need to get and put to a webserver.
I read curl doc and looks like that's what I need.

@t0ksik: yes I saw that but it's the part used on OpenWrt I think.
I'll looking forward curl headers to cross compile my own application on debian using toolchain.
I failed that part.....

The discussion might have continued from here.