[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-dev] Problem building Eclipse 3.2.2 on Solaris x86

I attempted to build Eclipse 3.2.2 on my x86 Sun Ultra workstations running Solaris 10 (SunOS 5.10).  If followed these instructions for building Eclipse:  http://forum.java.sun.com/thread.jspa?threadID=5066516 .  I issued this command:

./build -os solaris -ws gtk -arch x86 -compilelibs -java5home /usr/jdk/jdk1.5.0_12

This is the error I get:

    [javac]     AssertionVMArg.setArgDefault(wc);
    [javac]     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] Discouraged access: The method setArgDefault(ILaunchConfigurationWorkingCopy) from the type AssertionVMArg is not accessible due to restriction on classpath entry /export/home/scm005/farm/eclipse-src/plugins/org.eclipse.jdt.junit/junitsupport.jar
    [javac] ----------
    [javac] 60 problems (60 warnings)
     [exec] gcc: PIC: No such file or directory
     [exec] gcc: unrecognized option `-K'
     [exec] make: Fatal error: Command failed for target `libswt- gtk-3236.so'

BUILD FAILED
/export/home/scm005/farm/eclipse-src/build.xml:76: exec returned: 1

Total time: 15 minutes 3 seconds

I've seen some posts about that not being a valid option for a given compiler, but I unfamiliar with GCC.  Here is my GCC info:

bash-3.00$ pkginfo | grep gcc
system      SUNWgcc                          gcc - The GNU C compiler
system      SUNWgccruntime                   GCC Runtime libraries

Has anybody had this issue before? 

Thanks,

Steve Mitchell
http://www.byteworksinc.com