当前位置: 技术问答>linux和unix
error in make
来源: 互联网 发布时间:2016-03-11
本文导语: I am a freshman in linux. I don't have chinese character software in my computer, does anyone help me? Thank you very much!! /usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c: In function ‘usbcan_get_chipstate’: /usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c:2407: e...
I am a freshman in linux.
I don't have chinese character software in my computer, does anyone help me?
Thank you very much!!
/usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c: In function ‘usbcan_get_chipstate’:
/usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c:2407: error: ‘VCanChanData’ has no member named ‘vCard’
/usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c: In function ‘usbcan_bus_on’:
/usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c:2439: error: ‘VCanChanData’ has no member named ‘vCard’
/usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c:2440: error: ‘VCanChanData’ has no member named ‘hwChanData’
/usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c:2448: error: too many arguments to function ‘memset’
/usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c:2449: error: ‘VCanChanData’ has no member named ‘transId’
/usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c: In function ‘usbcan_bus_off’:
/usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c:2481: error: ‘VCanChanData’ has no member named ‘vCard’
robot@robot-desktop:/usr/src/linuxcan_v4$ usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c: In function ‘usbcan_get_time’:
bash: usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c:: No such file or directory
robot@robot-desktop:/usr/src/linuxcan_v4$ /usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c:2770: error: too many arguments to function ‘memset’
bash: /usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c:2770:: No such file or directory
robot@robot-desktop:/usr/src/linuxcan_v4$ make[2]: *** [/usr/src/linuxcan_v4/usbcanII/usbcanHWIf.o] Error 1
bash: make[2]:: command not found
robot@robot-desktop:/usr/src/linuxcan_v4$ make[1]: *** [_module_/usr/src/linuxcan_v4/usbcanII] Error 2
bash: make[1]:: command not found
robot@robot-desktop:/usr/src/linuxcan_v4$ sudo gedit settings.mak
I don't have chinese character software in my computer, does anyone help me?
Thank you very much!!
/usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c: In function ‘usbcan_get_chipstate’:
/usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c:2407: error: ‘VCanChanData’ has no member named ‘vCard’
/usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c: In function ‘usbcan_bus_on’:
/usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c:2439: error: ‘VCanChanData’ has no member named ‘vCard’
/usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c:2440: error: ‘VCanChanData’ has no member named ‘hwChanData’
/usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c:2448: error: too many arguments to function ‘memset’
/usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c:2449: error: ‘VCanChanData’ has no member named ‘transId’
/usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c: In function ‘usbcan_bus_off’:
/usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c:2481: error: ‘VCanChanData’ has no member named ‘vCard’
robot@robot-desktop:/usr/src/linuxcan_v4$ usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c: In function ‘usbcan_get_time’:
bash: usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c:: No such file or directory
robot@robot-desktop:/usr/src/linuxcan_v4$ /usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c:2770: error: too many arguments to function ‘memset’
bash: /usr/src/linuxcan_v4/usbcanII/usbcanHWIf.c:2770:: No such file or directory
robot@robot-desktop:/usr/src/linuxcan_v4$ make[2]: *** [/usr/src/linuxcan_v4/usbcanII/usbcanHWIf.o] Error 1
bash: make[2]:: command not found
robot@robot-desktop:/usr/src/linuxcan_v4$ make[1]: *** [_module_/usr/src/linuxcan_v4/usbcanII] Error 2
bash: make[1]:: command not found
robot@robot-desktop:/usr/src/linuxcan_v4$ sudo gedit settings.mak
|
你的Makefile规则有问题,还有就是你的源程序里包括的文件或头文件路径有不对的..