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 
../shared/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/harmony/enhanced/classlib/trunk/deploy/jdk/jre/bin/libhythr.so
 -Xlinker --end-group 
\
     [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 [EMAIL PROTECTED]'
     
[exec] 
/home/gregory/work/Harmony/harmony/enhanced/classlib/trunk/deploy/jdk/jre/bin/libhyprt.so:
 
undefined reference to [EMAIL PROTECTED]'
     
[exec] 
/home/gregory/work/Harmony/harmony/enhanced/classlib/trunk/deploy/jdk/jre/bin/libhyprt.so:
 
undefined reference to [EMAIL PROTECTED]'
     
[exec] 
/home/gregory/work/Harmony/harmony/enhanced/classlib/trunk/deploy/jdk/jre/bin/libhyprt.so:
 
undefined reference to [EMAIL PROTECTED]'
     [exec] collect2: ld returned 1 exit status
     [exec] make: *** [../java] Ошибка 1


On Monday 26 June 2006 21:36 [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to