eclipse 3.0 port

Panagiotis Astithas past at ebs.gr
Tue Jul 20 08:47:28 PDT 2004


Jan-Peter Koopmann wrote:
> Hi,
> 
> I just tried to build eclipse3 with the port located at 
> 
> http://noc.ntua.gr/~past/freebsd/eclipse3-port.tgz

Note that the last update is at:
http://netmode.ntua.gr/~past/freebsd/eclipse3-port.tgz

> But got the following error. Maybe someone can point me to the right
> direction:
> 
> 
> ===> Building libupdate.
> cd plugins/org.eclipse.update.core.freebsd/src &&  /usr/local/bin/ant
> -Djava.home=/usr/local/jdk1.4.2
> Buildfile: build.xml
> 
> init:
> 
> build:
>      [echo] Building libupdate.so
>      [echo] gcc -o  libupdate.so -shared
> -I/data/software/eclipse/work/plugins/org.eclipse.update.core.freebsd/sr
> c/../../org.eclipse.update.core.freebsd/src/
> -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/freebsd
> libupdate.so -static -lc
>     [apply]
> /data/software/eclipse/work/plugins/org.eclipse.update.core.freebsd/src/
> update.c: In function
> `Java_org_eclipse_update_configuration_LocalSystemInfo_nativeGetFreeSpac
> e':
>     [apply]
> /data/software/eclipse/work/plugins/org.eclipse.update.core.freebsd/src/
> update.c:52: syntax error before `int'
>     [apply]
> /data/software/eclipse/work/plugins/org.eclipse.update.core.freebsd/src/
> update.c:53: `err' undeclared (first use in this function)
>     [apply]
> /data/software/eclipse/work/plugins/org.eclipse.update.core.freebsd/src/
> update.c:53: (Each undeclared identifier is reported only once
>     [apply]
> /data/software/eclipse/work/plugins/org.eclipse.update.core.freebsd/src/
> update.c:53: for each function it appears in.)
>     [apply]
> /data/software/eclipse/work/plugins/org.eclipse.update.core.freebsd/src/
> update.c: In function
> `Java_org_eclipse_update_configuration_LocalSystemInfo_nativeGetLabel':
>     [apply]
> /data/software/eclipse/work/plugins/org.eclipse.update.core.freebsd/src/
> update.c:86: syntax error before `result'
>     [apply]
> /data/software/eclipse/work/plugins/org.eclipse.update.core.freebsd/src/
> update.c:90: `result' undeclared (first use in this function)
>     [apply]
> /data/software/eclipse/work/plugins/org.eclipse.update.core.freebsd/src/
> update.c: In function
> `Java_org_eclipse_update_configuration_LocalSystemInfo_nativeGetType':
>     [apply]
> /data/software/eclipse/work/plugins/org.eclipse.update.core.freebsd/src/
> update.c:117: syntax error before `int'
>     [apply]
> /data/software/eclipse/work/plugins/org.eclipse.update.core.freebsd/src/
> update.c:121: `result' undeclared (first use in this function)
>     [apply]
> /data/software/eclipse/work/plugins/org.eclipse.update.core.freebsd/src/
> update.c: In function
> `Java_org_eclipse_update_configuration_LocalSystemInfo_nativeListMountPo
> ints':
>     [apply]
> /data/software/eclipse/work/plugins/org.eclipse.update.core.freebsd/src/
> update.c:157: syntax error before `int'
>     [apply]
> /data/software/eclipse/work/plugins/org.eclipse.update.core.freebsd/src/
> update.c:158: `i' undeclared (first use in this function)
> 
> 
>     [apply] Result: 1
> 
> BUILD FAILED
> /data/software/eclipse/work/plugins/org.eclipse.update.core.freebsd/src/
> build.xml:66: Warning: Could not find file
> /data/software/eclipse/work/plugins/org.eclipse.update.core.freebsd/src/
> libupdate.so to copy.
> 
> Total time: 9 seconds
> *** Error code 1
> 
> Stop in /data/software/eclipse/work.
> *** Error code 1
> 
> Stop in /data/software/eclipse.

This is weird. Can you show me the output from the following commands?

uname -a
pkg_info -xc gcc
which gcc

Cheers,
-- 
Panagiotis Astithas, PhD
R&D Manager
EBS, Electronic Business Systems Ltd.
18 Evgenidou Street, 115 25, Athens GREECE
Phone: +30 210 674 7631
Fax: +30 210 674 7601
http://www.ebs.gr


More information about the freebsd-java mailing list