You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by Inder Pall <in...@gmail.com> on 2011/11/02 16:32:54 UTC
Facing compilation issues.
i downloaded the source and did the following...facing a compliation issue.
Anything trivial i am missing here.
i have upgraded autoconf and automake to the right versions...
1. ./bootstrap.sh
while running ./configure i was facing
checking for zlib >= 1.2.3... yes
./configure: line 16266: syntax error near unexpected token `MONO,'
./configure: line 16266: ` PKG_CHECK_MODULES(MONO, mono >= 2.0.0,
net_3_5=yes, net_3_5=no)'
so i commented this line and was able to move forward...
make
compile:
[javac] Compiling 90 source files to
/Users/inder/thrift-fb/lib/java/build
[javac]
/Users/inder/thrift-fb/lib/java/src/org/apache/thrift/TBaseProcessor.java:20:
method does not override a method from its superclass
[javac] @Override
[javac] ^
[javac]
/Users/inder/thrift-fb/lib/java/src/org/apache/thrift/TUnion.java:139:
org.apache.thrift.scheme.IScheme cannot be dereferenced
[javac] schemes.get(iprot.getScheme()).getScheme().read(iprot,
this);
[javac] ^
[javac]
/Users/inder/thrift-fb/lib/java/src/org/apache/thrift/TUnion.java:153:
org.apache.thrift.scheme.IScheme cannot be dereferenced
[javac] schemes.get(oprot.getScheme()).getScheme().write(oprot,
this);
[javac] ^
[javac]
/Users/inder/thrift-fb/lib/java/src/org/apache/thrift/TUnion.java:216:
method does not override a method from its superclass
[javac] @Override
[javac] ^
[javac]
/Users/inder/thrift-fb/lib/java/src/org/apache/thrift/TUnion.java:238:
method does not override a method from its superclass
[javac] @Override
[javac] ^
[javac]
/Users/inder/thrift-fb/lib/java/src/org/apache/thrift/TUnion.java:260:
method does not override a method from its superclass
[javac] @Override
[javac] ^
[javac]
/Users/inder/thrift-fb/lib/java/src/org/apache/thrift/TUnion.java:271:
method does not override a method from its superclass
[javac] @Override
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 7 errors
Thanks.
-- Inder