tobiaswaldvogel / openwrt-addpack

Additional packages for OpenWRT, mainly NAS devices
71 stars 61 forks source link

gsoap cross compilation issue #7

Open vrogeon opened 9 years ago

vrogeon commented 9 years ago

Hi,

I work on a project using OpenWrt distribution on Carambola2 device. I would like to use 'gsoap' library in my custom software. For that I use makefile from "https://github.com/tobiaswaldvogel/openwrt-addpack". I added this link to file "feeds.conf.default", and everythings seems to be ok when I get packages using feeds update and install commands. After 'make menuconfig", I can then select "libgsoap". I finally run a make, but an error occured during compilation. By activating verbose mode, I can see a first error :

install -d -m0755 /media/vincent/Hdrive/Vincent/G2MicroBox/carambola2/staging_dir/target-mips_34kc_uClibc-0.9.33.2/root-ar71xx/tmp-iw/usr/sbin /bin/bash: ../../gsoap/src/soapcpp2: cannot execute binary file: Exec format error make[8]: *\ [wsdlC.cpp] Error 126

I do not know why this error occured, and if it is the one which failed compilation.

I am new in Openwrt (and more general in Linux), so I do not know if I made the correct steps or not.

Is someone had the same issue with gsoap ? Do you have any idea of what happen in my case ?

If necessary, I can give additionnal logs displayed during compilation.

Thanks in advance,

Vincent