Orion Poplawski wrote:
> I'm getting the following trying to compile on Fedora Core 6 with the 
> GNU java compiler:
> 
> [ 15%] Generating plplot/core/plplotjavacJNI.class
> cd /builddir/build/BUILD/plplot-5.7.1/fedora/bindings/java && 
> /usr/bin/javac -classpath 
> /builddir/build/BUILD/plplot-5.7.1/fedora/bindings/java 
> /builddir/build/BUILD/plplot-5.7.1/fedora/bindings/java/plplotjavacJNI.java 
> -d /builddir/build/BUILD/plplot-5.7.1/fedora/bindings/java
> ----------
> 1. ERROR in 
> /builddir/build/BUILD/plplot-5.7.1/fedora/bindings/java/plplotjavacJNI.java 
> (at line 78)
>          public final static native void PLGraphicsIn_type_set(long 
> jarg1, PLGraphicsIn jarg1_, int jarg2);
>  
>     ^^^^^^^^^^^^
> PLGraphicsIn cannot be resolved to a type
> 
> [... lots more snipped ...]
> 
> Any ideas?  Maybe PLGraphicsIn.java needed to be compiled first?
> 
> 

Looks like a circular dependency - plplotjavacJNI depends on 
PLGraphicsIN and vice versa.  I'm no java person but it looks like you 
need an include file or forward class declaration in the source files.


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  [EMAIL PROTECTED]
Boulder, CO 80301              http://www.cora.nwra.com

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to