[chord] error compile sfslite on ubuntu 12.10

Weide Zhang weoccc at gmail.com
Mon Apr 22 03:19:34 EDT 2013


Hi I tried to compile

sfslite as a prerequsite for chord. But got the following compile error .
I'm using ubuntu 12.1 64 bit.

any idea why the following type not found ?

thx,

Weide

g++ -DHAVE_CONFIG_H -I. -I..   -I../async -I../crypt  -I /include   -I..
-DSUPPORT_UTF8=1 -I../libsafeptr -I../arpc -I../sfsmisc -I../libtame
-I../libaapp -I../libaapp -I../libtame -I../async -I../svc -I../crypt
-I../svc -DEXECDIR=\"/usr/local/lib/sfslite-1.2\" -DETCDIR=\"/etc/sfs\"
-DDATADIR=\"/usr/local/share/sfslite\" -DPIDDIR=\"/var/run\"
-DSFSDIR=\"/var/sfs\"  -g -O2 -Wall -Werror -Wno-mismatched-tags
-Wno-overloaded-virtual -Wno-unused-private-field   --std=gnu++0x
-Wno-error -c ./scan.cc
./scan.ll: In function ‘int yylex()’:
./scan.ll:56:8: error: ‘T_CONST’ was not declared in this scope
./scan.ll:57:8: error: ‘T_STRUCT’ was not declared in this scope
./scan.ll:58:8: error: ‘T_UNION’ was not declared in this scope
./scan.ll:59:8: error: ‘T_ENUM’ was not declared in this scope
./scan.ll:60:8: error: ‘T_TYPEDEF’ was not declared in this scope
./scan.ll:61:8: error: ‘T_PROGRAM’ was not declared in this scope
./scan.ll:62:8: error: ‘T_NAMESPACE’ was not declared in this scope
./scan.ll:64:8: error: ‘T_UNSIGNED’ was not declared in this scope
./scan.ll:65:8: error: ‘T_INT’ was not declared in this scope
./scan.ll:66:8: error: ‘T_HYPER’ was not declared in this scope
./scan.ll:67:8: error: ‘T_DOUBLE’ was not declared in this scope
./scan.ll:68:8: error: ‘T_QUADRUPLE’ was not declared in this scope
./scan.ll:69:31: error: ‘T_VOID’ was not declared in this scope
./scan.ll:71:8: error: ‘T_VERSION’ was not declared in this scope
./scan.ll:72:8: error: ‘T_SWITCH’ was not declared in this scope
./scan.ll:73:8: error: ‘T_CASE’ was not declared in this scope
./scan.ll:74:8: error: ‘T_DEFAULT’ was not declared in this scope
./scan.ll:76:31: error: ‘T_OPAQUE’ was not declared in this scope
./scan.ll:77:31: error: ‘T_STRING’ was not declared in this scope
./scan.ll:93:31: error: ‘T_ID’ was not declared in this scope
./scan.ll:95:31: error: ‘T_NUM’ was not declared in this scope
lex.yy.c: At global scope:
lex.yy.c:1438:17: warning: ‘void yyunput(int, char*)’ defined but not used
[-Wunused-function]
cc1plus: warning: unrecognized command line option
"-Wno-unused-private-field" [enabled by default]
cc1plus: warning: unrecognized command line option "-Wno-mismatched-tags"
[enabled by default]
make[3]: *** [scan.o] Error 1
make[3]: Leaving directory
`/home/qiong/dev/project/course/os/chordgithub/sfslite/rpcc'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/qiong/dev/project/course/os/chordgithub/sfslite/rpcc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/qiong/dev/project/course/os/chordgithub/sfslite'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://amsterdam.lcs.mit.edu/pipermail/chord/attachments/20130422/2137ad39/attachment.htm 


More information about the chord mailing list