Can't compile sources which link with libcurl

I have installed yun-gcc and libcurl but it is not possible to compile and link my sources because <curl/curl.h> (or just <curl.h>) is not present on the yun.

It seems that opkg does not install all required files which should come together with libcurl.

If for example I install the libcurl4-openssl-dev package on my Linux Mint PC, I get all required files, including a lot of documentation and example-sources (and it works !).

Does something similar exists for the Yun ?

Three way to compile:

  • Cross Compile
  • Native GCC
  • OpenWrt-SDK

One failed, two backup.

http://www.ibuyopenwrt.com/index.php/openwrt-sdk-and-yun

Thanks Karma, I will try.

Few more backup plans;-

sonnyyu:
Method of compile:

Plan A: openwrt buildroot
OpenWrt build system – Installation [Old OpenWrt Wiki]

Plan B: Embedded Linux Development Kit
The U-Boot Documentation — Das U-Boot unknown version documentation

Plan C: Sourcery CodeBench for MIPS GNU/Linux, Lite Edition is free.
http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/lite/?cmpid=7108&lite=MIPS&target_os=GNU%2FLinux&target_arch=MIPS

Plan D: Native GCC at High speed MIPS CPU.

Plan E: Native GCC at MIPS QEMU emulator

Plan F: Native GCC run at Yun

sonnyyu:
Plan G: yocto project

https://www.yoctoproject.org/

Plan H:emdebian

http://www.emdebian.org/

Plan I: openembedded

Openembedded.org

Plan J: uclibc Buildroot

http://buildroot.uclibc.org/