You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Oscar Bacho <os...@gmail.com> on 2008/12/22 07:35:40 UTC
Build error in trunk
Hi
I am trying to buil harmony svn trunk r728614 on Fedora 10.
But i get the following error
[exec] echo "HYGL_0.1 {" >libgl.exp
[exec] echo " global :" >>libgl.exp
[exec] sed -e's/^/ /;s/$/;/' <exports.txt >>libgl.exp
[exec] echo " local : *;" >>libgl.exp
[exec] echo "};" >>libgl.exp
[exec] cc -shared -Wl,-soname=libgl.so -Wl,--version-script,libgl.exp
-o ../libgl.so \
[exec] ../shared//blitter.o ../shared//gifdecoder.o
../shared//LUTTables.o ../shared//pngdecoder.o
../shared//SurfaceDataStructure.o gl.o XBlitter.o XGraphics2D.o
LockingKeys.o -Xlinker --start-group
-L/home/oscar/harmony/working_classlib/deploy/lib/
-L/home/oscar/harmony/working_classlib/deploy/jdk/jre/bin/
/home/oscar/harmony/working_classlib/deploy/lib/libhycommon.a -lhythr
/home/oscar/harmony/working_classlib/deploy/lib/libhyzip.a -lhyzlib
/home/oscar/harmony/working_classlib/deploy/lib/libhypool.a
/home/oscar/harmony/working_classlib/deploy/lib/libhyfdlibm.a -lvmi -Xlinker
--end-group -lc -lm -ldl -lpng -lstdc++ -L/usr/X11R6/lib64 -lX11 -lXft
-lXext -lXtst
[exec] /usr/bin/ld: cannot find -lXtst
[exec] collect2: ld devolvió el estado de salida 1
[exec] make: *** [../libgl.so] Error 1
BUILD FAILED
also Xerces-j in the master server have different md5, so I haved to
download xerces for a mirror.
Can someone please help me ?
Thanks
Oscar Bacho
Re: Build error in trunk
Posted by Tim Ellison <t....@gmail.com>.
Oscar Bacho wrote:
> Just one build(g++) error in:
>
> vm/jitrino/src/codegenerator/ia32/Ia32RegAlloc3.cpp
Thanks Oscar. Fixed at repo revision r731927.
Regards,
Tim
Re: Build error in trunk
Posted by Oscar Bacho <os...@gmail.com>.
2008/12/23 Oliver Deakin <ol...@googlemail.com>
> Glad it works for you now Oscar! Please let us know your progress, or ask
> more questions if you get stuck
Hi folks
BUILD SUCCESSFUL
System: Linux Fedora 10 x86_64(AMD64)
Compiler: gcc 4.3.2 20081105
This build should close HARMONY-[5925, 5914]
Just one build(g++) error in:
vm/jitrino/src/codegenerator/ia32/Ia32RegAlloc3.cpp
should be:
bool RegAlloc3::assignReg (Opndx& opndx)
{
RegMask alloc = 0;
assert(!opndx.ignore);
for (Indexes::iterator i = opndx.adjacents->begin(); i !=
opndx.adjacents->end(); ++i)
{
Opndx& opndz = graph.at(*i);
if (opndz.ridx == opndx.ridx)
+ {
if (opndz.opnd != NULL) //for operand nodes
alloc |= occupiedReg(opndx.opnd->getSize(),
opndz.opnd->getSize(), opndz.alloc);
else //for color nodes
alloc |= occupiedReg(opndx.opnd->getSize(), OpndSize_32,
opndz.alloc);
+}
}
....
For fix a else ambiguous
Thanks
Oscar Bacho
Re: Build error in trunk
Posted by Oliver Deakin <ol...@googlemail.com>.
Glad it works for you now Oscar! Please let us know your progress, or
ask more questions if you get stuck.
Regards,
Oliver
Oscar Bacho wrote:
> 2008/12/22 Aleksey Shipilev <al...@gmail.com>
>
>
>> Hi Oscar,
>>
>>
>>> 2008/12/22 Gregory Shimansky <gs...@apache.org>
>>>
>>>> I think that Fedora doesn't require hacking around with symlinks. Most
>>>> likely Oscar misses some X11 -devel package that is required for correct
>>>> compilation.
>>>>
>> Gregory is probably right. You need to consider installing *-devel
>> packages, like libxtst-devel. Please see [1] for complete list of
>> prerequisites.
>>
>> Thanks,
>> Aleksey.
>>
>> [1] http://harmony.apache.org/quickhelp_contributors.html#1. Prerequisites
>>
>>
>
> So sorry for the noise.
> Oliver is right.
> Gregory is right.
>
> Thanks Aleksey, Gregory, remove this thread please is all my fault.
>
> rpm -q -l libXtst-devel said:
> /usr/lib64/libXtst.so.6
> /usr/lib64/libXtst.so.6.1.0
> ...
> How you can see libXtst-devel install the symlink
> Oliver is right.
>
> libXtst-devel is missing for default. in my Fedora 10.
>
> Promise:
>
> Read carefully the build instructions.
>
> Thanks
>
> Oscar Bacho
>
>
--
Oliver Deakin
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
Re: Build error in trunk
Posted by Oscar Bacho <os...@gmail.com>.
2008/12/22 Aleksey Shipilev <al...@gmail.com>
> Hi Oscar,
>
> > 2008/12/22 Gregory Shimansky <gs...@apache.org>
> >> I think that Fedora doesn't require hacking around with symlinks. Most
> >> likely Oscar misses some X11 -devel package that is required for correct
> >> compilation.
>
> Gregory is probably right. You need to consider installing *-devel
> packages, like libxtst-devel. Please see [1] for complete list of
> prerequisites.
>
> Thanks,
> Aleksey.
>
> [1] http://harmony.apache.org/quickhelp_contributors.html#1. Prerequisites
>
So sorry for the noise.
Oliver is right.
Gregory is right.
Thanks Aleksey, Gregory, remove this thread please is all my fault.
rpm -q -l libXtst-devel said:
/usr/lib64/libXtst.so.6
/usr/lib64/libXtst.so.6.1.0
...
How you can see libXtst-devel install the symlink
Oliver is right.
libXtst-devel is missing for default. in my Fedora 10.
Promise:
Read carefully the build instructions.
Thanks
Oscar Bacho
Re: Build error in trunk
Posted by Aleksey Shipilev <al...@gmail.com>.
Hi Oscar,
> 2008/12/22 Gregory Shimansky <gs...@apache.org>
>> I think that Fedora doesn't require hacking around with symlinks. Most
>> likely Oscar misses some X11 -devel package that is required for correct
>> compilation.
Gregory is probably right. You need to consider installing *-devel
packages, like libxtst-devel. Please see [1] for complete list of
prerequisites.
Thanks,
Aleksey.
[1] http://harmony.apache.org/quickhelp_contributors.html#1. Prerequisites
Re: Build error in trunk
Posted by Oscar Bacho <os...@gmail.com>.
2008/12/22 Gregory Shimansky <gs...@apache.org>
> Oliver Deakin said the following on 22.12.2008 14:21:
>
>> Hi Oscar,
>>
>> It looks like you don't actually have a libXtst.so named library, but
>> rather the versioned one .so.6. I think the -lXtst will look directly for
>> libXtst.so, and so is failing to find your library because of the
>> additional version number at the end. Perhaps you could try creating
>> libXtst.so as a symlink to libXtst.so.6 and rerun the build?
>>
>
> I think that Fedora doesn't require hacking around with symlinks. Most
> likely Oscar misses some X11 -devel package that is required for correct
> compilation.
>
>
Hi Oliver
I do not
yum install libXtst said:
Package libXtst-1.0.3-3.fc9.x86_64 already installed and latest version
Is the same for Xext, Xft
Thanks
Oscar Bacho
Re: Build error in trunk
Posted by Gregory Shimansky <gs...@apache.org>.
Oliver Deakin said the following on 22.12.2008 14:21:
> Hi Oscar,
>
> It looks like you don't actually have a libXtst.so named library, but
> rather the versioned one .so.6. I think the -lXtst will look directly
> for libXtst.so, and so is failing to find your library because of the
> additional version number at the end. Perhaps you could try creating
> libXtst.so as a symlink to libXtst.so.6 and rerun the build?
I think that Fedora doesn't require hacking around with symlinks. Most
likely Oscar misses some X11 -devel package that is required for correct
compilation.
> Oscar Bacho wrote:
>> 2008/12/22 Aleksey Shipilev <al...@gmail.com>
>>
>>
>>> Hm... So the issue is, Xtst could not be found even at /usr/lib64?
>>> Maybe the permissions are faulty? Can you show the output of this
>>> command?
>>>
>>> $ ls -la /usr/lib64/libXtst*
>>>
>>> Thanks,
>>> Aleksey.
>>>
>>>
>>>
>> This is the output
>>
>> lrwxrwxrwx 1 root root 16 nov 26 16:46 /usr/lib64/libXtst.so.6 ->
>> libXtst.so.6.1.0
>> -rwxr-xr-x 1 root root 26136 feb 21 2008 /usr/lib64/libXtst.so.6.1.0
>>
>> Thanks
>>
>> Oscar Bacho
>>
>>
>
--
Gregory
Re: Build error in trunk
Posted by Oliver Deakin <ol...@googlemail.com>.
Hi Oscar,
It looks like you don't actually have a libXtst.so named library, but
rather the versioned one .so.6. I think the -lXtst will look directly
for libXtst.so, and so is failing to find your library because of the
additional version number at the end. Perhaps you could try creating
libXtst.so as a symlink to libXtst.so.6 and rerun the build?
Regards,
Oliver
Oscar Bacho wrote:
> 2008/12/22 Aleksey Shipilev <al...@gmail.com>
>
>
>> Hm... So the issue is, Xtst could not be found even at /usr/lib64?
>> Maybe the permissions are faulty? Can you show the output of this command?
>>
>> $ ls -la /usr/lib64/libXtst*
>>
>> Thanks,
>> Aleksey.
>>
>>
>>
> This is the output
>
> lrwxrwxrwx 1 root root 16 nov 26 16:46 /usr/lib64/libXtst.so.6 ->
> libXtst.so.6.1.0
> -rwxr-xr-x 1 root root 26136 feb 21 2008 /usr/lib64/libXtst.so.6.1.0
>
> Thanks
>
> Oscar Bacho
>
>
--
Oliver Deakin
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
Re: Build error in trunk
Posted by Oscar Bacho <os...@gmail.com>.
2008/12/22 Aleksey Shipilev <al...@gmail.com>
> Hm... So the issue is, Xtst could not be found even at /usr/lib64?
> Maybe the permissions are faulty? Can you show the output of this command?
>
> $ ls -la /usr/lib64/libXtst*
>
> Thanks,
> Aleksey.
>
>
This is the output
lrwxrwxrwx 1 root root 16 nov 26 16:46 /usr/lib64/libXtst.so.6 ->
libXtst.so.6.1.0
-rwxr-xr-x 1 root root 26136 feb 21 2008 /usr/lib64/libXtst.so.6.1.0
Thanks
Oscar Bacho
Re: Build error in trunk
Posted by Pavel Pervov <pm...@gmail.com>.
Oops. Wrong thread. :^)
Pavel.
On Mon, Dec 22, 2008 at 12:47 PM, Pavel Pervov <pm...@gmail.com> wrote:
> Hm... From my POV using implementation specific classes which can
> improve performance is preffered even in implementation of public
> interfaces. This is what gives advantage of one implementation over
> the other.
>
> WBR,
> Pavel.
>
> On Mon, Dec 22, 2008 at 12:37 PM, Aleksey Shipilev
> <al...@gmail.com> wrote:
>> Hm... So the issue is, Xtst could not be found even at /usr/lib64?
>> Maybe the permissions are faulty? Can you show the output of this command?
>>
>> $ ls -la /usr/lib64/libXtst*
>>
>> Thanks,
>> Aleksey.
>>
>> On Mon, Dec 22, 2008 at 12:06 PM, Oscar Bacho <os...@gmail.com> wrote:
>>> On Mon, Dec 22, 2008 at 4:21 PM, Aleksey Shipilev <
>>>
>>>> aleksey.shipilev@gmail.com> wrote:
>>>>
>>>> > Hi, Oscar.
>>>> >
>>>> > On Mon, Dec 22, 2008 at 11:06 AM, Oscar Bacho <os...@gmail.com>
>>>> > wrote:
>>>> > > In Fedora 10 the path /usr/X11R6/lib64 is not.
>>>> > > The lib's Xtst, Xext are installed in /usr/lib64 according to:
>>>> > > rpm -q -l libXtst
>>>> > > /usr/lib64/libXtst.so.6
>>>> > > /usr/lib64/libXtst.so.6.1.0
>>>> >
>>>> > Would it help to add /usr/lib64 to makefile? To do that:
>>>> >
>>>> > 1. Locate the makefile. The corresponding place in SVN is:
>>>> >
>>>> >
>>>> http://svn.apache.org/repos/asf/harmony/enhanced/classlib/trunk/depends/build/platform/
>>>> >
>>>> > 2. Fix the XLIBS line:
>>>> > XLIBS = -L/usr/lib64 -L/usr/X11R6/lib64 -lX11 -lXft -lXext -lXtst
>>>> >
>>>> > 3. Run the build again to be sure it works.
>>>> >
>>>> > Thanks,
>>>> > Aleksey.
>>>> >
>>>>
>>> It do not work
>>>
>>> See the nex error:
>>>
>>> [exec] echo "HYGL_0.1 {" >libgl.exp
>>> [exec] echo " global :" >>libgl.exp
>>> [exec] sed -e's/^/ /;s/$/;/' <exports.txt >>libgl.exp
>>> [exec] echo " local : *;" >>libgl.exp
>>> [exec] echo "};" >>libgl.exp
>>> [exec] cc -shared -Wl,-soname=libgl.so -Wl,--version-script,libgl.exp
>>> -o ../libgl.so \
>>> [exec] ../shared//blitter.o ../shared//gifdecoder.o
>>> ../shared//LUTTables.o ../shared//pngdecoder.o
>>> ../shared//SurfaceDataStructure.o gl.o XBlitter.o XGraphics2D.o
>>> LockingKeys.o -Xlinker --start-group
>>> -L/home/oscar/harmony/working_classlib/deploy/lib/
>>> -L/home/oscar/harmony/working_classlib/deploy/jdk/jre/bin/
>>> /home/oscar/harmony/working_classlib/deploy/lib/libhycommon.a -lhythr
>>> /home/oscar/harmony/working_classlib/deploy/lib/libhyzip.a -lhyzlib
>>> /home/oscar/harmony/working_classlib/deploy/lib/libhypool.a
>>> /home/oscar/harmony/working_classlib/deploy/lib/libhyfdlibm.a -lvmi -Xlinker
>>> --end-group -lc -lm -ldl -lpng -lstdc++ -L/usr/lib64 -L/usr/X11R6/lib64
>>> -lX11 -lXft -lXext -lXtst
>>> [exec] /usr/bin/ld: cannot find -lXtst
>>> [exec] collect2: ld devolvió el estado de salida 1
>>> [exec] make: *** [../libgl.so] Error 1
>>>
>>> BUILD FAILED
>>>
>>> Thanks
>>>
>>>
>>> Oscar Bacho
>>>
>>
>
Re: Build error in trunk
Posted by Pavel Pervov <pm...@gmail.com>.
Hm... From my POV using implementation specific classes which can
improve performance is preffered even in implementation of public
interfaces. This is what gives advantage of one implementation over
the other.
WBR,
Pavel.
On Mon, Dec 22, 2008 at 12:37 PM, Aleksey Shipilev
<al...@gmail.com> wrote:
> Hm... So the issue is, Xtst could not be found even at /usr/lib64?
> Maybe the permissions are faulty? Can you show the output of this command?
>
> $ ls -la /usr/lib64/libXtst*
>
> Thanks,
> Aleksey.
>
> On Mon, Dec 22, 2008 at 12:06 PM, Oscar Bacho <os...@gmail.com> wrote:
>> On Mon, Dec 22, 2008 at 4:21 PM, Aleksey Shipilev <
>>
>>> aleksey.shipilev@gmail.com> wrote:
>>>
>>> > Hi, Oscar.
>>> >
>>> > On Mon, Dec 22, 2008 at 11:06 AM, Oscar Bacho <os...@gmail.com>
>>> > wrote:
>>> > > In Fedora 10 the path /usr/X11R6/lib64 is not.
>>> > > The lib's Xtst, Xext are installed in /usr/lib64 according to:
>>> > > rpm -q -l libXtst
>>> > > /usr/lib64/libXtst.so.6
>>> > > /usr/lib64/libXtst.so.6.1.0
>>> >
>>> > Would it help to add /usr/lib64 to makefile? To do that:
>>> >
>>> > 1. Locate the makefile. The corresponding place in SVN is:
>>> >
>>> >
>>> http://svn.apache.org/repos/asf/harmony/enhanced/classlib/trunk/depends/build/platform/
>>> >
>>> > 2. Fix the XLIBS line:
>>> > XLIBS = -L/usr/lib64 -L/usr/X11R6/lib64 -lX11 -lXft -lXext -lXtst
>>> >
>>> > 3. Run the build again to be sure it works.
>>> >
>>> > Thanks,
>>> > Aleksey.
>>> >
>>>
>> It do not work
>>
>> See the nex error:
>>
>> [exec] echo "HYGL_0.1 {" >libgl.exp
>> [exec] echo " global :" >>libgl.exp
>> [exec] sed -e's/^/ /;s/$/;/' <exports.txt >>libgl.exp
>> [exec] echo " local : *;" >>libgl.exp
>> [exec] echo "};" >>libgl.exp
>> [exec] cc -shared -Wl,-soname=libgl.so -Wl,--version-script,libgl.exp
>> -o ../libgl.so \
>> [exec] ../shared//blitter.o ../shared//gifdecoder.o
>> ../shared//LUTTables.o ../shared//pngdecoder.o
>> ../shared//SurfaceDataStructure.o gl.o XBlitter.o XGraphics2D.o
>> LockingKeys.o -Xlinker --start-group
>> -L/home/oscar/harmony/working_classlib/deploy/lib/
>> -L/home/oscar/harmony/working_classlib/deploy/jdk/jre/bin/
>> /home/oscar/harmony/working_classlib/deploy/lib/libhycommon.a -lhythr
>> /home/oscar/harmony/working_classlib/deploy/lib/libhyzip.a -lhyzlib
>> /home/oscar/harmony/working_classlib/deploy/lib/libhypool.a
>> /home/oscar/harmony/working_classlib/deploy/lib/libhyfdlibm.a -lvmi -Xlinker
>> --end-group -lc -lm -ldl -lpng -lstdc++ -L/usr/lib64 -L/usr/X11R6/lib64
>> -lX11 -lXft -lXext -lXtst
>> [exec] /usr/bin/ld: cannot find -lXtst
>> [exec] collect2: ld devolvió el estado de salida 1
>> [exec] make: *** [../libgl.so] Error 1
>>
>> BUILD FAILED
>>
>> Thanks
>>
>>
>> Oscar Bacho
>>
>
Re: Build error in trunk
Posted by Aleksey Shipilev <al...@gmail.com>.
Hm... So the issue is, Xtst could not be found even at /usr/lib64?
Maybe the permissions are faulty? Can you show the output of this command?
$ ls -la /usr/lib64/libXtst*
Thanks,
Aleksey.
On Mon, Dec 22, 2008 at 12:06 PM, Oscar Bacho <os...@gmail.com> wrote:
> On Mon, Dec 22, 2008 at 4:21 PM, Aleksey Shipilev <
>
>> aleksey.shipilev@gmail.com> wrote:
>>
>> > Hi, Oscar.
>> >
>> > On Mon, Dec 22, 2008 at 11:06 AM, Oscar Bacho <os...@gmail.com>
>> > wrote:
>> > > In Fedora 10 the path /usr/X11R6/lib64 is not.
>> > > The lib's Xtst, Xext are installed in /usr/lib64 according to:
>> > > rpm -q -l libXtst
>> > > /usr/lib64/libXtst.so.6
>> > > /usr/lib64/libXtst.so.6.1.0
>> >
>> > Would it help to add /usr/lib64 to makefile? To do that:
>> >
>> > 1. Locate the makefile. The corresponding place in SVN is:
>> >
>> >
>> http://svn.apache.org/repos/asf/harmony/enhanced/classlib/trunk/depends/build/platform/
>> >
>> > 2. Fix the XLIBS line:
>> > XLIBS = -L/usr/lib64 -L/usr/X11R6/lib64 -lX11 -lXft -lXext -lXtst
>> >
>> > 3. Run the build again to be sure it works.
>> >
>> > Thanks,
>> > Aleksey.
>> >
>>
> It do not work
>
> See the nex error:
>
> [exec] echo "HYGL_0.1 {" >libgl.exp
> [exec] echo " global :" >>libgl.exp
> [exec] sed -e's/^/ /;s/$/;/' <exports.txt >>libgl.exp
> [exec] echo " local : *;" >>libgl.exp
> [exec] echo "};" >>libgl.exp
> [exec] cc -shared -Wl,-soname=libgl.so -Wl,--version-script,libgl.exp
> -o ../libgl.so \
> [exec] ../shared//blitter.o ../shared//gifdecoder.o
> ../shared//LUTTables.o ../shared//pngdecoder.o
> ../shared//SurfaceDataStructure.o gl.o XBlitter.o XGraphics2D.o
> LockingKeys.o -Xlinker --start-group
> -L/home/oscar/harmony/working_classlib/deploy/lib/
> -L/home/oscar/harmony/working_classlib/deploy/jdk/jre/bin/
> /home/oscar/harmony/working_classlib/deploy/lib/libhycommon.a -lhythr
> /home/oscar/harmony/working_classlib/deploy/lib/libhyzip.a -lhyzlib
> /home/oscar/harmony/working_classlib/deploy/lib/libhypool.a
> /home/oscar/harmony/working_classlib/deploy/lib/libhyfdlibm.a -lvmi -Xlinker
> --end-group -lc -lm -ldl -lpng -lstdc++ -L/usr/lib64 -L/usr/X11R6/lib64
> -lX11 -lXft -lXext -lXtst
> [exec] /usr/bin/ld: cannot find -lXtst
> [exec] collect2: ld devolvió el estado de salida 1
> [exec] make: *** [../libgl.so] Error 1
>
> BUILD FAILED
>
> Thanks
>
>
> Oscar Bacho
>
Re: Build error in trunk
Posted by Oscar Bacho <os...@gmail.com>.
On Mon, Dec 22, 2008 at 4:21 PM, Aleksey Shipilev <
> aleksey.shipilev@gmail.com> wrote:
>
> > Hi, Oscar.
> >
> > On Mon, Dec 22, 2008 at 11:06 AM, Oscar Bacho <os...@gmail.com>
> > wrote:
> > > In Fedora 10 the path /usr/X11R6/lib64 is not.
> > > The lib's Xtst, Xext are installed in /usr/lib64 according to:
> > > rpm -q -l libXtst
> > > /usr/lib64/libXtst.so.6
> > > /usr/lib64/libXtst.so.6.1.0
> >
> > Would it help to add /usr/lib64 to makefile? To do that:
> >
> > 1. Locate the makefile. The corresponding place in SVN is:
> >
> >
> http://svn.apache.org/repos/asf/harmony/enhanced/classlib/trunk/depends/build/platform/
> >
> > 2. Fix the XLIBS line:
> > XLIBS = -L/usr/lib64 -L/usr/X11R6/lib64 -lX11 -lXft -lXext -lXtst
> >
> > 3. Run the build again to be sure it works.
> >
> > Thanks,
> > Aleksey.
> >
>
It do not work
See the nex error:
[exec] echo "HYGL_0.1 {" >libgl.exp
[exec] echo " global :" >>libgl.exp
[exec] sed -e's/^/ /;s/$/;/' <exports.txt >>libgl.exp
[exec] echo " local : *;" >>libgl.exp
[exec] echo "};" >>libgl.exp
[exec] cc -shared -Wl,-soname=libgl.so -Wl,--version-script,libgl.exp
-o ../libgl.so \
[exec] ../shared//blitter.o ../shared//gifdecoder.o
../shared//LUTTables.o ../shared//pngdecoder.o
../shared//SurfaceDataStructure.o gl.o XBlitter.o XGraphics2D.o
LockingKeys.o -Xlinker --start-group
-L/home/oscar/harmony/working_classlib/deploy/lib/
-L/home/oscar/harmony/working_classlib/deploy/jdk/jre/bin/
/home/oscar/harmony/working_classlib/deploy/lib/libhycommon.a -lhythr
/home/oscar/harmony/working_classlib/deploy/lib/libhyzip.a -lhyzlib
/home/oscar/harmony/working_classlib/deploy/lib/libhypool.a
/home/oscar/harmony/working_classlib/deploy/lib/libhyfdlibm.a -lvmi -Xlinker
--end-group -lc -lm -ldl -lpng -lstdc++ -L/usr/lib64 -L/usr/X11R6/lib64
-lX11 -lXft -lXext -lXtst
[exec] /usr/bin/ld: cannot find -lXtst
[exec] collect2: ld devolvió el estado de salida 1
[exec] make: *** [../libgl.so] Error 1
BUILD FAILED
Thanks
Oscar Bacho
Re: Build error in trunk
Posted by chunrong lai <ch...@gmail.com>.
I can build HDK in my x86-64 system Fedora6.
I see the libXtst.so is also located in /usr/lib64 there.
On Mon, Dec 22, 2008 at 4:21 PM, Aleksey Shipilev <
aleksey.shipilev@gmail.com> wrote:
> Hi, Oscar.
>
> On Mon, Dec 22, 2008 at 11:06 AM, Oscar Bacho <os...@gmail.com>
> wrote:
> > In Fedora 10 the path /usr/X11R6/lib64 is not.
> > The lib's Xtst, Xext are installed in /usr/lib64 according to:
> > rpm -q -l libXtst
> > /usr/lib64/libXtst.so.6
> > /usr/lib64/libXtst.so.6.1.0
>
> Would it help to add /usr/lib64 to makefile? To do that:
>
> 1. Locate the makefile. The corresponding place in SVN is:
>
> http://svn.apache.org/repos/asf/harmony/enhanced/classlib/trunk/depends/build/platform/
>
> 2. Fix the XLIBS line:
> XLIBS = -L/usr/lib64 -L/usr/X11R6/lib64 -lX11 -lXft -lXext -lXtst
>
> 3. Run the build again to be sure it works.
>
> Thanks,
> Aleksey.
>
Re: Build error in trunk
Posted by Aleksey Shipilev <al...@gmail.com>.
Hi, Oscar.
On Mon, Dec 22, 2008 at 11:06 AM, Oscar Bacho <os...@gmail.com> wrote:
> In Fedora 10 the path /usr/X11R6/lib64 is not.
> The lib's Xtst, Xext are installed in /usr/lib64 according to:
> rpm -q -l libXtst
> /usr/lib64/libXtst.so.6
> /usr/lib64/libXtst.so.6.1.0
Would it help to add /usr/lib64 to makefile? To do that:
1. Locate the makefile. The corresponding place in SVN is:
http://svn.apache.org/repos/asf/harmony/enhanced/classlib/trunk/depends/build/platform/
2. Fix the XLIBS line:
XLIBS = -L/usr/lib64 -L/usr/X11R6/lib64 -lX11 -lXft -lXext -lXtst
3. Run the build again to be sure it works.
Thanks,
Aleksey.
Re: Build error in trunk
Posted by Oscar Bacho <os...@gmail.com>.
2008/12/22 Charles Lee <li...@gmail.com>
> Hi Oscar,
> It seems that harmony can not find the lib on the ld search path.
> Do you have libXtst on the path /usr/X11R6/lib64(this is specified by the
> -L)?
>
> Yours sincerely,
> Charles Lee
> China Software Development Lab, IBM
>
In Fedora 10 the path /usr/X11R6/lib64 is not.
The lib's Xtst, Xext are installed in /usr/lib64 according to:
rpm -q -l libXtst
/usr/lib64/libXtst.so.6
/usr/lib64/libXtst.so.6.1.0
...
Thanks
Oscar Bacho
Re: Build error in trunk
Posted by Charles Lee <li...@gmail.com>.
Hi Oscar,
It seems that harmony can not find the lib on the ld search path.
Do you have libXtst on the path /usr/X11R6/lib64(this is specified by the
-L)?
On Mon, Dec 22, 2008 at 3:24 PM, Oscar Bacho <os...@gmail.com> wrote:
> 2008/12/22 Charles Lee <li...@gmail.com>
>
> > Hi Oscar,Harmony need some lib from the local pc or server to build it.
> > From
> > the error message you gave, it seems the libxtst is missing in your local
> > machine. You can use yum to install the libxtst on the Fedora.
> >
> > Yours sincerely,
> > Charles Lee
> > China Software Development Lab, IBM
> >
> Hi Charles thanks for yuo reply
>
> yum install libXtst
>
> said:
> Package libXtst-1.0.3-3.fc9.x86_64 already installed and latest version
>
>
> Thanks
>
> Oscar Bacho
>
--
Yours sincerely,
Charles Lee
China Software Development Lab, IBM
Re: Build error in trunk
Posted by Oscar Bacho <os...@gmail.com>.
2008/12/22 Charles Lee <li...@gmail.com>
> Hi Oscar,Harmony need some lib from the local pc or server to build it.
> From
> the error message you gave, it seems the libxtst is missing in your local
> machine. You can use yum to install the libxtst on the Fedora.
>
> Yours sincerely,
> Charles Lee
> China Software Development Lab, IBM
>
Hi Charles thanks for yuo reply
yum install libXtst
said:
Package libXtst-1.0.3-3.fc9.x86_64 already installed and latest version
Thanks
Oscar Bacho
Re: Build error in trunk
Posted by Charles Lee <li...@gmail.com>.
Hi Oscar,Harmony need some lib from the local pc or server to build it. From
the error message you gave, it seems the libxtst is missing in your local
machine. You can use yum to install the libxtst on the Fedora.
About the md5 differences, it will occur if the internet is not so good. I
think download it from a mirror will be ok.
On Mon, Dec 22, 2008 at 2:35 PM, Oscar Bacho <os...@gmail.com> wrote:
> Hi
>
> I am trying to buil harmony svn trunk r728614 on Fedora 10.
> But i get the following error
>
> [exec] echo "HYGL_0.1 {" >libgl.exp
> [exec] echo " global :" >>libgl.exp
> [exec] sed -e's/^/ /;s/$/;/' <exports.txt >>libgl.exp
> [exec] echo " local : *;" >>libgl.exp
> [exec] echo "};" >>libgl.exp
> [exec] cc -shared -Wl,-soname=libgl.so -Wl,--version-script,libgl.exp
> -o ../libgl.so \
> [exec] ../shared//blitter.o ../shared//gifdecoder.o
> ../shared//LUTTables.o ../shared//pngdecoder.o
> ../shared//SurfaceDataStructure.o gl.o XBlitter.o XGraphics2D.o
> LockingKeys.o -Xlinker --start-group
> -L/home/oscar/harmony/working_classlib/deploy/lib/
> -L/home/oscar/harmony/working_classlib/deploy/jdk/jre/bin/
> /home/oscar/harmony/working_classlib/deploy/lib/libhycommon.a -lhythr
> /home/oscar/harmony/working_classlib/deploy/lib/libhyzip.a -lhyzlib
> /home/oscar/harmony/working_classlib/deploy/lib/libhypool.a
> /home/oscar/harmony/working_classlib/deploy/lib/libhyfdlibm.a -lvmi
> -Xlinker
> --end-group -lc -lm -ldl -lpng -lstdc++ -L/usr/X11R6/lib64 -lX11 -lXft
> -lXext -lXtst
> [exec] /usr/bin/ld: cannot find -lXtst
> [exec] collect2: ld devolvió el estado de salida 1
> [exec] make: *** [../libgl.so] Error 1
>
> BUILD FAILED
>
> also Xerces-j in the master server have different md5, so I haved to
> download xerces for a mirror.
>
> Can someone please help me ?
>
> Thanks
>
> Oscar Bacho
>
--
Yours sincerely,
Charles Lee
China Software Development Lab, IBM