我的APPRO_DM368IPNC_IMX104已搭建好。
J交叉编译工具已经安装好,开发包用的是IPNC_DM368_IMX104_v2.60.05.tgz
将开发包解压出来并将内核,文件系统等等设置在Rules.make内容如下
MVTOOL_DIR := /opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le
BASE_HOME := /home/louliang
HOME := /home/louliang/IPNC_DM368
DVSDK_BASE_DIR :=/home/louliang/IPNC_DM368/dvsdk
TARGET_FS := $(HOME)/filesys
KERNELDIR := $(HOME)/ti-davinci
BASE_DIR := $(HOME)/av_capture/build
TFTP_HOME := /tftpboot
#SYSTEM := DVR
#SYSTEM := EVM
SYSTEM := IPNC
#HARDWARE :=DM365
HARDWARE :=DM368
SENSOR := IMX104
现在编译出现如下情况:
一、Sudo make sysall 错误如下:
Making all in subdirectory network…
make[6]: Entering directory `/home/louliang/IPNC_DM368/ipnc_app/network'
Making all in subdirectory boa-0.94.13…
make[7]: Entering directory `/home/louliang/IPNC_DM368/ipnc_app/network/boa-0.94.13'
Making all in subdirectory src…
make[8]: Entering directory `/home/louliang/IPNC_DM368/ipnc_app/network/boa-0.94.13/src'
bison -y -d boa_grammar.y
make[8]: bison: Command not found
make[8]: *** [y.tab.c] Error 127
make[8]: Leaving directory `/home/louliang/IPNC_DM368/ipnc_app/network/boa-0.94.13/src'
make[7]: *** [src] Error 2
make[7]: Leaving directory `/home/louliang/IPNC_DM368/ipnc_app/network/boa-0.94.13'
make[6]: *** [boa-0.94.13] Error 2
make[6]: Leaving directory `/home/louliang/IPNC_DM368/ipnc_app/network'
make[5]: *** [network] Error 2
make[5]: Leaving directory `/home/louliang/IPNC_DM368/ipnc_app'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/home/louliang/IPNC_DM368/av_capture/application/ipnc'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/home/louliang/IPNC_DM368'
make[2]: *** [exe] Error 2
make[2]: Leaving directory `/home/louliang/IPNC_DM368'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/louliang/IPNC_DM368'
make: *** [sysall] Error 2
二、Sudo make dvsdkall 通过
Sudo make sys 没有通过打印如下
y -d boa_grammar.y
make[7]: bison: Command not found
make[7]: *** [y.tab.c] Error 127
make[7]: Leaving directory `/home/louliang/IPNC_DM368/ipnc_app/network/boa-0.94.13/src'
make[6]: *** [src] Error 2
make[6]: Leaving directory `/home/louliang/IPNC_DM368/ipnc_app/network/boa-0.94.13'
make[5]: *** [boa-0.94.13] Error 2
make[5]: Leaving directory `/home/louliang/IPNC_DM368/ipnc_app/network'
make[4]: *** [network] Error 2
make[4]: Leaving directory `/home/louliang/IPNC_DM368/ipnc_app'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/home/louliang/IPNC_DM368/av_capture/application/ipnc'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/home/louliang/IPNC_DM368'
make[1]: *** [exe] Error 2
make[1]: Leaving directory `/home/louliang/IPNC_DM368'
make: *** [sys] Error 2
三、Sudo make lsp通过。并生成内核镜像文件
四、Sudo make 没有通过,打印如下:
Making all in subdirectory boa-0.94.13…
make[5]: Entering directory `/home/louliang/IPNC_DM368/ipnc_app/network/boa-0.94.13'
Making all in subdirectory src…
make[6]: Entering directory `/home/louliang/IPNC_DM368/ipnc_app/network/boa-0.94.13/src'
bison -y -d boa_grammar.y
make[6]: bison: Command not found
make[6]: *** [y.tab.c] Error 127
make[6]: Leaving directory `/home/louliang/IPNC_DM368/ipnc_app/network/boa-0.94.13/src'
make[5]: *** [src] Error 2
make[5]: Leaving directory `/home/louliang/IPNC_DM368/ipnc_app/network/boa-0.94.13'
make[4]: *** [boa-0.94.13] Error 2
make[4]: Leaving directory `/home/louliang/IPNC_DM368/ipnc_app/network'
make[3]: *** [network] Error 2
make[3]: Leaving directory `/home/louliang/IPNC_DM368/ipnc_app'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/home/louliang/IPNC_DM368/av_capture/application/ipnc'
make[1]: *** [libs] Error 2
make[1]: Leaving directory `/home/louliang/IPNC_DM368'
make: *** [exe] Error 2
请问这是为什么啊?
lou liangliang:
回复 Eason Wang:
感谢你的回复!
这个bison我没有安装!在问一下,除了这个还需要安装一些类似安装包不?