Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2004 18:47:13 +0300
From:      Panagiotis Astithas <past@ebs.gr>
To:        Jan-Peter Koopmann <Jan-Peter.Koopmann@seceidos.de>
Cc:        java@freebsd.org
Subject:   Re: eclipse 3.0 port
Message-ID:  <40FD3E81.1050206@ebs.gr>
In-Reply-To: <AEF86EFA5497434190F6D57E2666EA7A033526@ERWIN.intern.seceidos.de>
References:  <AEF86EFA5497434190F6D57E2666EA7A033526@ERWIN.intern.seceidos.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40FD3E81.1050206>