arm poky linux,Re: Issue with cross compiling with arm-poky-linux...

Hi All,

Is there a resolution to this issue yet? I have been trying to cross compile and could not get it to work.

This is what I tried:

Poky Distro 1.7.1 and also the corresponding .sh file for sourcing the environment.

Using arm-poky-linux-gnueabi-gcc compiler for cross compiling is producing the following error consistently.

harsha@harsha:~/WVSNP_Dashboard_Final/wvsnp_dashboard_v1.0.3/Source Code$ arm-poky-linux-gnueabi-gcc buttonfunctions.c -lxbee -o buttonfunctions.cgi -L /home/harsha/Billy_Strub/mygits/my_libxbee/libxbee3/xbee.h -lm cgic.h cgic.c

buttonfunctions.c:23:19: fatal error: stdio.h: No such file or directory

#include

^

compilation terminated.

cgic.h:12:19: fatal error: stdio.h: No such file or directory

#include

^

compilation terminated.

cgic.c:25:19: fatal error: stdio.h: No such file or directory

#include

^

compilation terminated.

All the build-essential files are intact and up to date and this should have resolved the stdio.h dependency.

I tried using the CC cross compiler, by just replacing 'arm-poky-linux-gnueabi-gcc' by 'CC' in the above command.

The binary properties of the buttinfunctions.cgi is still in x86 format.

harsha@harsha:~/WVSNP_Dashboard_Final/wvsnp_dashboard_v1.0.3/www/CGI$ file buttonfunctions.cgi

buttonfunctions.cgi: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x15ca70ec8491594ff1290b06dd1f908129fd45ad, not stripped

I would really appreciate any help here.

-Sri

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值