当前位置: 技术问答>linux和unix
代码没改过,前天还能在x86下编译通过,今天不管是x86还是arm都不行了
来源: 互联网 发布时间:2017-02-08
本文导语: ./new:107:426: warning: null character(s) ignored ./new:107:443: warning: null character(s) ignored ./new:107:462: warning: null character(s) ignored ./new:107:484: warning: null character(s) ignored ./new:107:498: warning: null character(s) ignored ./new:107:544:...
./new:107:426: warning: null character(s) ignored
./new:107:443: warning: null character(s) ignored
./new:107:462: warning: null character(s) ignored
./new:107:484: warning: null character(s) ignored
./new:107:498: warning: null character(s) ignored
./new:107:544: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:563: warning: null character(s) ignored
./new:107:613: warning: null character(s) ignored
./new:107:674: warning: null character(s) ignored
./new:107:705: warning: null character(s) ignored
./new:107:736: warning: null character(s) ignored
./new:107:779: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:797: warning: null character(s) ignored
./new:107:821: warning: null character(s) ignored
./new:107:862: warning: null character(s) ignored
./new:107:899: warning: null character(s) ignored
./new:107:938: warning: null character(s) ignored
./new:107:972: warning: null character(s) ignored
./new:107:979: warning: null character(s) ignored
./new:107:1015: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:1037: warning: null character(s) ignored
./new:107:1071: warning: null character(s) ignored
./new:107:1122: warning: null character(s) ignored
./new:107:1133: warning: null character(s) ignored
./new:107:1162: warning: null character(s) ignored
./new:107:1177: warning: null character(s) ignored
./new:107:1224: warning: null character(s) ignored
./new:107:1263: warning: null character(s) ignored
./new:107:1290: warning: null character(s) ignored
./new:107:1315: warning: null character(s) ignored
./new:107:1354: warning: null character(s) ignored
./new:107:1392: warning: null character(s) ignored
./new:107:1439: warning: null character(s) ignored
./new:107:1446: warning: null character(s) ignored
./new:107:1462: warning: null character(s) ignored
./new:107:1467: warning: null character(s) ignored
./new:107:1499: warning: null character(s) ignored
./new:107:1512: warning: null character(s) ignored
./new:107:1567: warning: null character(s) ignored
./new:107:1589: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:1606: warning: null character(s) ignored
./new:107:1619: warning: null character(s) ignored
./new:107:1660: warning: null character(s) ignored
./new:107:1690: warning: null character(s) ignored
./new:107:1723: warning: null character(s) ignored
./new:107:1758: warning: null character(s) ignored
./new:107:1792: warning: null character(s) ignored
./new:107:1826: warning: null character(s) ignored
./new:107:1867: warning: null character(s) ignored
./new:107:1873: warning: null character(s) ignored
./new:107:1909: warning: null character(s) ignored
./new:107:1929: warning: null character(s) ignored
./new:107:1968: warning: null character(s) ignored
./new:107:2001: warning: null character(s) ignored
./new:107:2050: warning: null character(s) ignored
./new:107:2091: warning: null character(s) ignored
./new:107:2124: warning: null character(s) ignored
./new:107:2137: warning: null character(s) ignored
./new:107:2163: warning: null character(s) ignored
./new:107:2191: warning: null character(s) ignored
./new:107:2224: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:2244: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:2273: warning: null character(s) ignored
./new:107:2280: warning: null character(s) ignored
./new:107:2322: warning: null character(s) ignored
./new:107:2363: warning: null character(s) ignored
./new:107:2386: warning: null character(s) ignored
./new:107:2436: warning: null character(s) ignored
./new:107:2470: warning: null character(s) ignored
./new:107:2493: warning: null character(s) ignored
./new:107:2513: warning: null character(s) ignored
./new:107:2544: warning: null character(s) ignored
./new:107:2583: warning: null character(s) ignored
./new:107:2608: warning: null character(s) ignored
./new:107:2635: warning: null character(s) ignored
./new:107:2665: warning: null character(s) ignored
./new:107:2710: warning: null character(s) ignored
./new:107:2716: warning: null character(s) ignored
./new:107:2730: warning: null character(s) ignored
./new:107:2750: warning: null character(s) ignored
./new:107:2772: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:2825: warning: null character(s) ignored
./new:107:2869: warning: null character(s) ignored
./new:107:2897: warning: null character(s) ignored
./new:107:2922: warning: null character(s) ignored
./new:107:2966: warning: null character(s) ignored
./new:107:2979: warning: null character(s) ignored
./new:107:2984: warning: null character(s) ignored
./new:107:3013: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:3031: warning: null character(s) ignored
./new:107:3059: warning: null character(s) ignored
./new:107:3093: warning: null character(s) ignored
./new:107:3105: warning: null character(s) ignored
./new:107:3132: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:3150: warning: null character(s) ignored
./new:107:3166: warning: null character(s) ignored
./new:107:3202: warning: null character(s) ignored
./new:107:3241: warning: null character(s) ignored
./new:107:3258: warning: null character(s) ignored
./new:107:3275: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:3308: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:3328: warning: null character(s) ignored
./new:107:3344: warning: null character(s) ignored
./new:107:3361: warning: null character(s) ignored
./new:107:3375: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:3399: warning: null character(s) ignored
./new:107:3438: warning: null character(s) ignored
./new:107:3454: warning: null character(s) ignored
./new:107:3490: warning: null character(s) ignored
./new:107:3512: warning: null character(s) ignored
./new:107:3528: warning: null character(s) ignored
./new:107:3558: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:3575: warning: null character(s) ignored
./new:107:3626: warning: null character(s) ignored
./new:107:3657: warning: null character(s) ignored
./new:107:3713: warning: null character(s) ignored
./new:107:3728: warning: null character(s) ignored
./new:107:3759: warning: null character(s) ignored
./new:107:3791: warning: null character(s) ignored
./new:107:3823: warning: null character(s) ignored
./new:107:3851: warning: null character(s) ignored
./new:107:3902: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:3918: warning: null character(s) ignored
./new:107:3919: warning: no newline at end of file
In file included from /opt/arm-2007q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.0/../../../../arm-none-linux-gnueabi/include/c++/4.2.0/ext/new_allocator.h:37,
from /opt/arm-2007q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.0/../../../../arm-none-linux-gnueabi/include/c++/4.2.0/arm-none-linux-gnueabi/bits/c++allocator.h:39,
from /opt/arm-2007q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.0/../../../../arm-none-linux-gnueabi/include/c++/4.2.0/bits/allocator.h:53,
from /opt/arm-2007q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.0/../../../../arm-none-linux-gnueabi/include/c++/4.2.0/memory:54,
from /opt/arm-2007q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.0/../../../../arm-none-linux-gnueabi/include/c++/4.2.0/string:48,
from /usr/local/Trolltech/QtEmbedded-4.7.3-arm/include/QtCore/qstring.h:60,
from /usr/local/Trolltech/QtEmbedded-4.7.3-arm/include/QtCore/qobject.h:48,
from /usr/local/Trolltech/QtEmbedded-4.7.3-arm/include/QtCore/qabstractanimation.h:45,
from /usr/local/Trolltech/QtEmbedded-4.7.3-arm/include/QtCore/QtCore:3,
from /usr/local/Trolltech/QtEmbedded-4.7.3-arm/include/QtGui/QtGui:3,
from analogclock.cpp:41:
./new:1: error: expected constructor, destructor, or type conversion before numeric constant
./new:5: error: expected unqualified-id before '-' token
./new:29: error: expected constructor, destructor, or type conversion before numeric constant
./new:29: error: expected declaration before '}' token
make: *** [analogclock.o] Error 1
前面还有很多像 ./new:error ./new:107:xxx: warning的,感觉是汇编出错。程序是从低版本的qt修改过来的,前天修改完后可以再x86下make,不能再arm上make,昨天不管怎么改都不行了。用file命令查看源文件,发现make后文件格式被改掉了,不知道有没有关系,求助………………
./new:107:443: warning: null character(s) ignored
./new:107:462: warning: null character(s) ignored
./new:107:484: warning: null character(s) ignored
./new:107:498: warning: null character(s) ignored
./new:107:544: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:563: warning: null character(s) ignored
./new:107:613: warning: null character(s) ignored
./new:107:674: warning: null character(s) ignored
./new:107:705: warning: null character(s) ignored
./new:107:736: warning: null character(s) ignored
./new:107:779: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:797: warning: null character(s) ignored
./new:107:821: warning: null character(s) ignored
./new:107:862: warning: null character(s) ignored
./new:107:899: warning: null character(s) ignored
./new:107:938: warning: null character(s) ignored
./new:107:972: warning: null character(s) ignored
./new:107:979: warning: null character(s) ignored
./new:107:1015: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:1037: warning: null character(s) ignored
./new:107:1071: warning: null character(s) ignored
./new:107:1122: warning: null character(s) ignored
./new:107:1133: warning: null character(s) ignored
./new:107:1162: warning: null character(s) ignored
./new:107:1177: warning: null character(s) ignored
./new:107:1224: warning: null character(s) ignored
./new:107:1263: warning: null character(s) ignored
./new:107:1290: warning: null character(s) ignored
./new:107:1315: warning: null character(s) ignored
./new:107:1354: warning: null character(s) ignored
./new:107:1392: warning: null character(s) ignored
./new:107:1439: warning: null character(s) ignored
./new:107:1446: warning: null character(s) ignored
./new:107:1462: warning: null character(s) ignored
./new:107:1467: warning: null character(s) ignored
./new:107:1499: warning: null character(s) ignored
./new:107:1512: warning: null character(s) ignored
./new:107:1567: warning: null character(s) ignored
./new:107:1589: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:1606: warning: null character(s) ignored
./new:107:1619: warning: null character(s) ignored
./new:107:1660: warning: null character(s) ignored
./new:107:1690: warning: null character(s) ignored
./new:107:1723: warning: null character(s) ignored
./new:107:1758: warning: null character(s) ignored
./new:107:1792: warning: null character(s) ignored
./new:107:1826: warning: null character(s) ignored
./new:107:1867: warning: null character(s) ignored
./new:107:1873: warning: null character(s) ignored
./new:107:1909: warning: null character(s) ignored
./new:107:1929: warning: null character(s) ignored
./new:107:1968: warning: null character(s) ignored
./new:107:2001: warning: null character(s) ignored
./new:107:2050: warning: null character(s) ignored
./new:107:2091: warning: null character(s) ignored
./new:107:2124: warning: null character(s) ignored
./new:107:2137: warning: null character(s) ignored
./new:107:2163: warning: null character(s) ignored
./new:107:2191: warning: null character(s) ignored
./new:107:2224: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:2244: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:2273: warning: null character(s) ignored
./new:107:2280: warning: null character(s) ignored
./new:107:2322: warning: null character(s) ignored
./new:107:2363: warning: null character(s) ignored
./new:107:2386: warning: null character(s) ignored
./new:107:2436: warning: null character(s) ignored
./new:107:2470: warning: null character(s) ignored
./new:107:2493: warning: null character(s) ignored
./new:107:2513: warning: null character(s) ignored
./new:107:2544: warning: null character(s) ignored
./new:107:2583: warning: null character(s) ignored
./new:107:2608: warning: null character(s) ignored
./new:107:2635: warning: null character(s) ignored
./new:107:2665: warning: null character(s) ignored
./new:107:2710: warning: null character(s) ignored
./new:107:2716: warning: null character(s) ignored
./new:107:2730: warning: null character(s) ignored
./new:107:2750: warning: null character(s) ignored
./new:107:2772: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:2825: warning: null character(s) ignored
./new:107:2869: warning: null character(s) ignored
./new:107:2897: warning: null character(s) ignored
./new:107:2922: warning: null character(s) ignored
./new:107:2966: warning: null character(s) ignored
./new:107:2979: warning: null character(s) ignored
./new:107:2984: warning: null character(s) ignored
./new:107:3013: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:3031: warning: null character(s) ignored
./new:107:3059: warning: null character(s) ignored
./new:107:3093: warning: null character(s) ignored
./new:107:3105: warning: null character(s) ignored
./new:107:3132: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:3150: warning: null character(s) ignored
./new:107:3166: warning: null character(s) ignored
./new:107:3202: warning: null character(s) ignored
./new:107:3241: warning: null character(s) ignored
./new:107:3258: warning: null character(s) ignored
./new:107:3275: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:3308: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:3328: warning: null character(s) ignored
./new:107:3344: warning: null character(s) ignored
./new:107:3361: warning: null character(s) ignored
./new:107:3375: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:3399: warning: null character(s) ignored
./new:107:3438: warning: null character(s) ignored
./new:107:3454: warning: null character(s) ignored
./new:107:3490: warning: null character(s) ignored
./new:107:3512: warning: null character(s) ignored
./new:107:3528: warning: null character(s) ignored
./new:107:3558: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:3575: warning: null character(s) ignored
./new:107:3626: warning: null character(s) ignored
./new:107:3657: warning: null character(s) ignored
./new:107:3713: warning: null character(s) ignored
./new:107:3728: warning: null character(s) ignored
./new:107:3759: warning: null character(s) ignored
./new:107:3791: warning: null character(s) ignored
./new:107:3823: warning: null character(s) ignored
./new:107:3851: warning: null character(s) ignored
./new:107:3902: warning: null character(s) ignored
./new:107: error: stray '@' in program
./new:107: error: stray '@' in program
./new:107:3918: warning: null character(s) ignored
./new:107:3919: warning: no newline at end of file
In file included from /opt/arm-2007q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.0/../../../../arm-none-linux-gnueabi/include/c++/4.2.0/ext/new_allocator.h:37,
from /opt/arm-2007q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.0/../../../../arm-none-linux-gnueabi/include/c++/4.2.0/arm-none-linux-gnueabi/bits/c++allocator.h:39,
from /opt/arm-2007q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.0/../../../../arm-none-linux-gnueabi/include/c++/4.2.0/bits/allocator.h:53,
from /opt/arm-2007q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.0/../../../../arm-none-linux-gnueabi/include/c++/4.2.0/memory:54,
from /opt/arm-2007q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.0/../../../../arm-none-linux-gnueabi/include/c++/4.2.0/string:48,
from /usr/local/Trolltech/QtEmbedded-4.7.3-arm/include/QtCore/qstring.h:60,
from /usr/local/Trolltech/QtEmbedded-4.7.3-arm/include/QtCore/qobject.h:48,
from /usr/local/Trolltech/QtEmbedded-4.7.3-arm/include/QtCore/qabstractanimation.h:45,
from /usr/local/Trolltech/QtEmbedded-4.7.3-arm/include/QtCore/QtCore:3,
from /usr/local/Trolltech/QtEmbedded-4.7.3-arm/include/QtGui/QtGui:3,
from analogclock.cpp:41:
./new:1: error: expected constructor, destructor, or type conversion before numeric constant
./new:5: error: expected unqualified-id before '-' token
./new:29: error: expected constructor, destructor, or type conversion before numeric constant
./new:29: error: expected declaration before '}' token
make: *** [analogclock.o] Error 1
前面还有很多像 ./new:error ./new:107:xxx: warning的,感觉是汇编出错。程序是从低版本的qt修改过来的,前天修改完后可以再x86下make,不能再arm上make,昨天不管怎么改都不行了。用file命令查看源文件,发现make后文件格式被改掉了,不知道有没有关系,求助………………
|
"用file命令查看源文件,发现make后文件格式被改掉了"
1.Makefile有问题
2.环境变量的问题
3.你的操作有问题
1.Makefile有问题
2.环境变量的问题
3.你的操作有问题