问题描述
- Ubuntu 12.04 Tse make 出错
-
flex 安装了。
错误信息为:
for n in uri hlink stack lib; do make -C $n || exit 1; done
make[1]: Entering directory `/home/jshan/Downloads/Tse/tse.code/tse/uri'
gcc -c -O2 -I/home/jshan/Downloads/Tse/tse.code/tse/include lex.uri.c
uri.l: In function ‘urilex’:
uri.l:494: error: invalid lvalue in increment
uri.l:494: error: invalid lvalue in increment
uri.l:494: error: invalid lvalue in increment
uri.l:500: error: invalid lvalue in increment
uri.l:500: error: invalid lvalue in increment
uri.l:500: error: invalid lvalue in increment
uri.l:506: error: invalid lvalue in increment
uri.l:506: error: invalid lvalue in increment
uri.l:506: error: invalid lvalue in increment
uri.l:511: error: invalid lvalue in increment
uri.l:511: error: invalid lvalue in increment
uri.l:511: error: invalid lvalue in increment
uri.l: In function ‘__path_merge’:
uri.l:842: error: invalid lvalue in decrement
uri.l:843: error: invalid lvalue in decrement
uri.l:849: error: invalid lvalue in increment
uri.l:850: error: invalid lvalue in increment
uri.l:873: error: invalid lvalue in decrement
uri.l:874: error: invalid lvalue in decrement
uri.l:880: error: invalid lvalue in increment
uri.l:881: error: invalid lvalue in increment
uri.l:938: error: invalid lvalue in decrement
uri.l:940: error: invalid lvalue in decrement
uri.l: In function ‘uri_combine’:
uri.l:1073: error: invalid lvalue in increment
uri.l:1073: error: invalid lvalue in increment
uri.l:1073: error: invalid lvalue in increment
uri.l:1097: error: invalid lvalue in increment
uri.l:1097: error: invalid lvalue in increment
uri.l:1097: error: invalid lvalue in increment
uri.l:1108: error: invalid lvalue in increment
uri.l:1108: error: invalid lvalue in increment
uri.l:1108: error: invalid lvalue in increment
uri.l:1119: error: invalid lvalue in increment
uri.l:1119: error: invalid lvalue in increment
uri.l:1119: error: invalid lvalue in increment
uri.l:1129: error: invalid lvalue in increment
uri.l:1129: error: invalid lvalue in increment
uri.l:1129: error: invalid lvalue in increment
uri.l:1139: error: invalid lvalue in increment
uri.l:1139: error: invalid lvalue in increment
uri.l:1139: error: invalid lvalue in increment
uri.l:1150: error: invalid lvalue in increment
uri.l:1150: error: invalid lvalue in increment
uri.l:1150: error: invalid lvalue in increment
uri.l:1162: error: invalid lvalue in increment
uri.l:1162: error: invalid lvalue in increment
uri.l:1162: error: invalid lvalue in increment
make[1]: *** [lex.uri.o] Error 1
解决方案
哪位大神知道是怎么回事啊。来救救小弟我啊
解决方案二:
我的 gcc 版本被我降到 4.1.3 了
gcc (GCC) 4.1.3 20080704 (prerelease) (Ubuntu 4.1.2-27ubuntu1)
解决方案三:
我看了这篇文章,不会改 stack.h
http://bbs.csdn.net/topics/340139778
解决方案四:
C币虽然不多,但是这是我全部的了。
解决方案五:
没人理我啊,我自己顶一下
解决方案六:
过了年还是木人理我啊。
时间: 2024-10-31 23:43:34