You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Mark Hindess <ma...@googlemail.com> on 2006/06/26 20:58:20 UTC

Re: svn commit: r417248 - in /incubator/harmony/enhanced/classlib/trunk: depends/build/ modules/luni/ modules/luni/src/main/native/launcher/ modules/luni/src/main/native/launcher/linux/ modules/luni/src/main/native/launcher/shared/ modules/luni/src/main/na...

Fixed in r417277.

-Mark.

On 26 June 2006 at 22:45, Gregory Shimansky <gs...@gmail.com> wrote:
> Hello Tim
> 
> I've got another classlib build problem on linux. In the file below I had to 
> add $(DLLPATH)libhysig.so to MDLLIBFILES list or I get this error from 
> linker:
> 
> 
> Execute:Java13CommandLauncher: Executing 'make' with
>      [exec] cc  \     
> [exec] ../shared/main.o ../shared/cmain.o ../shared/launcher_copyright.o ../s
> hared/strbuf.o ../shared/libhlp.o   
> \    
> [exec] -g -Xlinker --start-group /home/gregory/work/Harmony/harmony/enhanced/
> classlib/trunk/deploy/jdk/jre/bin/libhyprt.so /home/gregory/work/Harmony/harm
> ony/enhanced/classlib/trunk/deploy/jdk/jre/bin/libhythr.so -Xlinker --end-gro
> up 
> \
>      [exec] -o ../java -lm -lpthread -lc -ldl \
>      [exec] -Xlinker -z -Xlinker origin \
>      [exec] -Xlinker -rpath -Xlinker \$ORIGIN/ \
>      [exec] -Xlinker -rpath-link -Xlinker .. 
> [exec] /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin
> /ld: 
> warning: libhysig.so, needed 
> by /home/gregory/work/Harmony/harmony/enhanced/classlib/trunk/deploy/jdk/jre/
> bin/libhyprt.so, 
> not found (try using -rpath or -rpath-link)
>      
> [exec] /home/gregory/work/Harmony/harmony/enhanced/classlib/trunk/deploy/jdk/
> jre/bin/libhyprt.so: 
> undefined reference to `jsig_primary_signal@HYSIG_0.1'
>      
> [exec] /home/gregory/work/Harmony/harmony/enhanced/classlib/trunk/deploy/jdk/
> jre/bin/libhyprt.so: 
> undefined reference to `signal@HYSIG_0.1'
>      
> [exec] /home/gregory/work/Harmony/harmony/enhanced/classlib/trunk/deploy/jdk/
> jre/bin/libhyprt.so: 
> undefined reference to `jsig_primary_sigaction@HYSIG_0.1'
>      
> [exec] /home/gregory/work/Harmony/harmony/enhanced/classlib/trunk/deploy/jdk/
> jre/bin/libhyprt.so: 
> undefined reference to `jsig_handler@HYSIG_0.1'
>      [exec] collect2: ld returned 1 exit status
>      [exec] make: *** [../java] Ошибка 1
> 
> 
> On Monday 26 June 2006 21:36 tellison@apache.org wrote:
> > Author: tellison
> > Date: Mon Jun 26 10:35:59 2006
> > New Revision: 417248
> >
> > URL: http://svn.apache.org/viewvc?rev=417248&view=rev
> > Log:
> > Apply patch HARMONY-668 (Move vmls and launcher natives to luni module)
> 
> <snip/>
> 
> > ===========================================================================
> >=== ---
> > incubator/harmony/enhanced/classlib/trunk/native-src/linux.IA32/launcher/ma
> >kefile (original) +++
> > incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/laun
> >cher/linux/makefile Mon Jun 26 10:35:59 2006 @@ -18,10 +18,11 @@
> >
> >  include $(HY_HDK)/build/make/makefile.include
> >
> > +SHAREDSUB=../shared/
> >  BUILDFILES = $(SHAREDSUB)main.o $(SHAREDSUB)cmain.o \
> >  	$(SHAREDSUB)launcher_copyright.o $(SHAREDSUB)strbuf.o \
> >  	$(SHAREDSUB)libhlp.o
> > -MDLLIBFILES = ../libhyprt.so ../libhythr.so
> > +MDLLIBFILES = $(DLLPATH)libhyprt.so $(DLLPATH)libhythr.so
> >  EXENAME = $(EXEPATH)java
> >
> >  include $(HY_HDK)/build/make/rules.mk
> 
> <snip/>
> -- 
> Gregory Shimansky, Intel Middleware Products Division
> 
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org





---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: svn commit: r417248 - in /incubator/harmony/enhanced/classlib/trunk: depends/build/ modules/luni/ modules/luni/src/main/native/launcher/ modules/luni/src/main/native/launcher/linux/ modules/luni/src/main/native/launcher/shared/ modules/luni/src/main/na...

Posted by Gregory Shimansky <gs...@gmail.com>.
Cool. Thanks a lot Mark. You've fixed it better than I suggested.

On Monday 26 June 2006 22:58 Mark Hindess wrote:
> Fixed in r417277.
>
> -Mark.
>
> On 26 June 2006 at 22:45, Gregory Shimansky <gs...@gmail.com> wrote:
> > Hello Tim
> >
> > I've got another classlib build problem on linux. In the file below I had
> > to add $(DLLPATH)libhysig.so to MDLLIBFILES list or I get this error from
> > linker:
> >
> >
> > Execute:Java13CommandLauncher: Executing 'make' with
> >      [exec] cc  \
> > [exec] ../shared/main.o ../shared/cmain.o ../shared/launcher_copyright.o
> > ../s hared/strbuf.o ../shared/libhlp.o
> > \
> > [exec] -g -Xlinker --start-group
> > /home/gregory/work/Harmony/harmony/enhanced/
> > classlib/trunk/deploy/jdk/jre/bin/libhyprt.so
> > /home/gregory/work/Harmony/harm
> > ony/enhanced/classlib/trunk/deploy/jdk/jre/bin/libhythr.so -Xlinker
> > --end-gro up
> > \
> >      [exec] -o ../java -lm -lpthread -lc -ldl \
> >      [exec] -Xlinker -z -Xlinker origin \
> >      [exec] -Xlinker -rpath -Xlinker \$ORIGIN/ \
> >      [exec] -Xlinker -rpath-link -Xlinker ..
> > [exec]
> > /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin
> > /ld:
> > warning: libhysig.so, needed
> > by
> > /home/gregory/work/Harmony/harmony/enhanced/classlib/trunk/deploy/jdk/jre
> >/ bin/libhyprt.so,
> > not found (try using -rpath or -rpath-link)
> >
> > [exec]
> > /home/gregory/work/Harmony/harmony/enhanced/classlib/trunk/deploy/jdk/
> > jre/bin/libhyprt.so:
> > undefined reference to `jsig_primary_signal@HYSIG_0.1'
> >
> > [exec]
> > /home/gregory/work/Harmony/harmony/enhanced/classlib/trunk/deploy/jdk/
> > jre/bin/libhyprt.so:
> > undefined reference to `signal@HYSIG_0.1'
> >
> > [exec]
> > /home/gregory/work/Harmony/harmony/enhanced/classlib/trunk/deploy/jdk/
> > jre/bin/libhyprt.so:
> > undefined reference to `jsig_primary_sigaction@HYSIG_0.1'
> >
> > [exec]
> > /home/gregory/work/Harmony/harmony/enhanced/classlib/trunk/deploy/jdk/
> > jre/bin/libhyprt.so:
> > undefined reference to `jsig_handler@HYSIG_0.1'
> >      [exec] collect2: ld returned 1 exit status
> >      [exec] make: *** [../java] Ошибка 1
> >
> > On Monday 26 June 2006 21:36 tellison@apache.org wrote:
> > > Author: tellison
> > > Date: Mon Jun 26 10:35:59 2006
> > > New Revision: 417248
> > >
> > > URL: http://svn.apache.org/viewvc?rev=417248&view=rev
> > > Log:
> > > Apply patch HARMONY-668 (Move vmls and launcher natives to luni module)
> >
> > <snip/>
> >
> > > =======================================================================
> > >==== === ---
> > > incubator/harmony/enhanced/classlib/trunk/native-src/linux.IA32/launche
> > >r/ma kefile (original) +++
> > > incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/
> > >laun cher/linux/makefile Mon Jun 26 10:35:59 2006 @@ -18,10 +18,11 @@
> > >
> > >  include $(HY_HDK)/build/make/makefile.include
> > >
> > > +SHAREDSUB=../shared/
> > >  BUILDFILES = $(SHAREDSUB)main.o $(SHAREDSUB)cmain.o \
> > >  	$(SHAREDSUB)launcher_copyright.o $(SHAREDSUB)strbuf.o \
> > >  	$(SHAREDSUB)libhlp.o
> > > -MDLLIBFILES = ../libhyprt.so ../libhythr.so
> > > +MDLLIBFILES = $(DLLPATH)libhyprt.so $(DLLPATH)libhythr.so
> > >  EXENAME = $(EXEPATH)java
> > >
> > >  include $(HY_HDK)/build/make/rules.mk
> >
> > <snip/>

-- 
Gregory Shimansky, Intel Middleware Products Division

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org