having a hard time compling moto_0.18 on freebsd
Jack <[email protected]> 04 Mar 2003 14:07:55 -0700
| Newsgroups | gmane.comp.lang.moto.user |
|---|---|
| Message-ID | <[email protected]> |
Every runs fine with this config: ./configure --with-apache --with-mysql=/usr/local make give this: moto.y:194.14-22: type redeclaration for ECONTINUE *** Error code 1 Okay, so i remove the extra type declaration, and run make again, and I get... touch timestamp; Making all in src/codex Making all in src/moto bison -d moto.y flex -I moto.l gcc -I. -I/opt/jax/moto_0_18_0 -DHAVE_RCONFIG_H -I/opt/jax/moto_0_18_0/include -DHAVE_CONFIG_H -g -O2 -Wall -c lex.yy.c -o lex.yy.o gcc -I. -I/opt/jax/moto_0_18_0 -DHAVE_RCONFIG_H -I/opt/jax/moto_0_18_0/include -DHAVE_CONFIG_H -g -O2 -Wall -c moto.tab.c -o moto.tab.o moto.tab.c: In function `yyparse': moto.tab.c:3129: warning: implicit declaration of function `yylex' moto.y:652: syntax error before `}' moto.y:653: syntax error before `}' moto.y:720: syntax error before `}' moto.y:722: syntax error before `}' moto.y:900: syntax error before `}' moto.y:901: syntax error before `}' moto.y:1223: syntax error before `}' moto.y:1225: syntax error before `}' moto.y:1227: syntax error before `}' moto.y:1233: syntax error before `}' moto.y:1257: syntax error before `static' moto.y:1279: `p' undeclared (first use in this function) moto.y:1279: (Each undeclared identifier is reported only once moto.y:1279: for each function it appears in.) moto.y:1279: `env' undeclared (first use in this function) moto.y:1281: `value' undeclared (first use in this function) moto.y:1285: `svs' undeclared (first use in this function) moto.y:1293: syntax error before `static' moto.y:1299: `n' undeclared (first use in this function) moto.y:1318: syntax error before `static' moto.y:1328: warning: unreachable code at beginning of switch statement moto.y:1385: warning: control reaches end of non-void function moto.y: At top level: moto.y:78: warning: `nullcell' used but never defined moto.y:79: warning: `b' used but never defined moto.y:80: warning: `c' used but never defined moto.y:91: warning: `IVSMetaInfo' used but never defined moto.y:92: warning: `SVSMetaInfo' used but never defined moto.y:93: warning: `UCMetaInfo' used but never defined *** Error code 1 Stop in /opt/jax/moto_0_18_0/src/moto. *** Error code 1 Stop in /opt/jax/moto_0_18_0. Okay, I don't know what to do here. I looked at line 652 where it was moaning about it, and that looks fine to me, so I don't know. I thought maybe when I removed that ECONTINUE type declaration, I screwed something up, so I removed the motodir, and untarred the moto distribution again, and ended up with the same results. Which way is out? Thanks, Jack