Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Other (https://www.gnutellaforums.com/other/)
-   -   Compilation on Solaris 5.10 fails (https://www.gnutellaforums.com/other/59299-compilation-solaris-5-10-fails.html)

fr34k3r July 30th, 2006 07:41 AM

Compilation on Solaris 5.10 fails
 
Hi,

I'm trying to compile the latest limewire on solaris 5.10 on sparc with ant 1.6.5 and java 1.6... this fails with the following error :

core > ant
Buildfile: build.xml

init:

checkjars:

core:
[javac] Compiling 427 source files to /homedirs/ikke/Downloads/core
[javac] /homedirs/ikke/Downloads/core/com/limegroup/gnutella/SavedFileManager.java:132: reference to addAll is ambiguous, both method addAll(java.util.Collection<? extends E>) in java.util.Collection<capture#598 of ? super com.limegroup.gnutella.URN> and method addAll(java.util.Collection<? extends E>) in java.util.Set<capture#598 of ? super com.limegroup.gnutella.URN> match
[javac] tempUrns.addAll(urns);
[javac] ^
[javac] Note: /homedirs/ikke/Downloads/core/com/limegroup/gnutella/downloader/PingRanker.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error

BUILD FAILED
/homedirs/ikke/Downloads/core/build.xml:46: Compile failed; see the compiler error output for details.

Total time: 1 minute 32 seconds


Does anyone have any ideas ? i know it needs to have -Xlint but where do i need to put that ?

THanks


All times are GMT -7. The time now is 09:41 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.