Trouble Compiling Downloaded Source

Per Allansson per@appgate.com
Wed, 20 Nov 2002 21:32:35 +0100


Ah - ASN1InstanceOf.java and SSHSocketImpl.java should not be built -
they are left-overs that shouldn't be there... see the Makefile
for the list of files that should be compiled.


Bill Smith wrote:

> I downloaded mindterm_2.3.1-src.zip yesterday (11/19/2002).
>
> When I try and compile the source, I get the following errors:
>
> compile:
>     [javac] Compiling 264 source files to 
> D:\Projects\newbuild\mindterm\build
>     [javac] 
> D:\Projects\newbuild\mindterm\src\com\mindbright\asn1\ASN1InstanceOf.java:27: 
> cannot resolve symbol
>     [javac] symbol  : method setComponent 
> (int,com.mindbright.asn1.ASN1OID)
>     [javac] location: class com.mindbright.asn1.ASN1InstanceOf
>     [javac]     setComponent(0, identifier);
>     [javac]         ^
>     [javac] 
> D:\Projects\newbuild\mindterm\src\com\mindbright\asn1\ASN1InstanceOf.java:28: 
> cannot resolve symbol
>     [javac] symbol  : method setComponent 
> (int,com.mindbright.asn1.ASN1Any)
>     [javac] location: class com.mindbright.asn1.ASN1InstanceOf
>     [javac]     setComponent(1, value);
>     [javac]         ^
>     [javac] 
> D:\Projects\newbuild\mindterm\src\com\mindbright\ssh\SSHSocketImpl.java:23: 
> com.mindbright.ssh.SSHSocketImpl
>  should be declared abstract; it does not define sendUrgentData(int) 
> in java.net.SocketImpl
>     [javac] public class SSHSocketImpl extends SocketImpl {
>     [javac]        ^
>     [javac] 
> D:\Projects\newbuild\mindterm\src\com\mindbright\ssh\SSHSocketImpl.java:84: 
> cannot resolve symbol
>     [javac] symbol  : method setMaxDepth (int)
>     [javac] location: class com.mindbright.util.Queue
>     [javac]     cnQueue.setMaxDepth(backlog);
>     [javac]            ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -deprecation for details.
>     [javac] 4 errors
>
> BUILD FAILED
> file:D:/Projects/newbuild/mindterm/build.xml:31: Compile failed; see 
> the compiler error output for details.
>
> For the first error, I could not find a method called setComponent in 
> ASN1InstanceOf, ASN1Structure, or ASN1Object.
> I haven't looked at the others yet.
>
> Is there any fixes for this?
>
> Bill
>
> _______________________________________________
> Mindterm-users mailing list
> Mindterm-users@mindterm.appgate.com
> http://www.mindbright.se/mailman/listinfo/mindterm-users
>