|
有许多程序,要在4510上执行,需要用交叉编译工具, 但具体怎么应用了? 因有个程序,我在linux下用gcc编译通过,但改用arm-elf-gcc时, 就出现一下错误:
[root@localhost pid-pd]# make
arm-elf-gcc -O2 -Wall -Wstrict-prototypes -c -o pcommand.o pcommand.c
pcommand.c:11: stdio.h: ?????????
pcommand.c:12: stdlib.h: ?????????
pcommand.c:13: string.h: ?????????
pcommand.c:14: ctype.h: ?????????
pcommand.c:15: sys/stat.h: ?????????
pcommand.c:16: time.h: ?????????
pcommand.c:17: sys/time.h: ?????????
pcommand.c:18: sys/types.h: ?????????
pcommand.c:22: unistd.h: ?????????
pcommand.c:23: sys/socket.h: ?????????
pcommand.c:24: sys/param.h: ?????????
pcommand.c:25: netdb.h: ?????????
pcommand.c:26: netinet/in.h: ?????????
pcommand.c:27: arpa/inet.h: ?????????
pcommand.c:29: signal.h: ?????????
pcommand.c:30: errno.h: ?????????
In file included from pcommand.c:33:
pid-pd.h:13: sys/param.h: ?????????
In file included from pcommand.c:34:
pdconfig.h:14: sys/param.h: ?????????
make: *** [pcommand.o] Error 1
这是怎么回事,怎么一下子缺这么多库文件
|
|