harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Liang <richard.lian...@gmail.com>
Subject Re: [jira] Created: (HARMONY-136) Cannot make libvmi.so and libhytext.so on linux
Date Mon, 27 Feb 2006 09:10:38 GMT
Hello Mark,

I'm also confused about this problem.

My make version is: GNU Make version 3.79.1
And gcc version is: gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-34).

Thanks a lot.

Richard Liang
China Software Development Lab, IBM



Mark Hindess wrote:
> What version of make?  I have no problem with either vmi (or text) at
> that revision this with "make --version" of "GNU Make 3.81beta4".
>
> I'd like to share more files between linux and windows and I suspect
> dos files are more likely to work correctly on both.  So I'd like to
> understand this problem a little better - though dos2unix
> linux.IA32/*/makefile is a reasonable quick fix for now.
>
> What is really confusing me  is why is it only the text and vmi
> makefiles?  The other makefiles are dos files too!
>
> -Mark.
>
> On 27/02/06, Richard Liang (JIRA) <jira@apache.org> wrote:
>   
>> Cannot make libvmi.so and libhytext.so on linux
>> -----------------------------------------------
>>
>>          Key: HARMONY-136
>>          URL: http://issues.apache.org/jira/browse/HARMONY-136
>>      Project: Harmony
>>         Type: Bug
>>   Components: Classlib
>>     Reporter: Richard Liang
>>
>>
>> Hello,
>>
>> When trying to build Harmony native code on my redhat linux (RHEL 3), I fail to make
the libvmi.so. But after I convert the "makefile"(revision=379478) to unix format using dos2unix,
the "make" is successful. The same problem occurs in module text.
>>
>> in /native-src/linux.IA32/vmi/
>>
>> ====issue command: make
>> ====output:
>>
>> cc -fpic  -DLINUX -D_REENTRANT -O1 -march=pentium3 -DIPv6_FUNCTION_SUPPORT  -DHYX86
-I../include    -c -o vmi_copyright.o vmi_copyright.c
>> cc -fpic  -DLINUX -D_REENTRANT -O1 -march=pentium3 -DIPv6_FUNCTION_SUPPORT  -DHYX86
-I../include    -c -o vmi.o vmi.c
>> cc  -shared  -Wl,-Map=vmi.map \
>> -Wl,--version-script,vmi.exp -Wl,-soname=libvmi.so \
>>  -L.  -L../lib -L.. -o ../libvmi.so \
>> vmi_copyright.o vmi.o -Xlinker --start-group \
>> : No such file or directory
>> make: *** [../libvmi.so] Error 1
>>
>> ====issue command: dos2unix makefile
>> ====issue command: make
>> ====output:
>> cc  -shared  -Wl,-Map=vmi.map \
>> -Wl,--version-script,vmi.exp -Wl,-soname=libvmi.so \
>>  -L.  -L../lib -L.. -o ../libvmi.so \
>> vmi_copyright.o vmi.o -Xlinker --start-group \
>> -lhyzip \
>> -lhypool -Xlinker --end-group  -lc -lm -ldl
>>     
>
>
> --
> Mark Hindess <mark.hindess@googlemail.com>
> IBM Java Technology Centre, UK.
>
>   

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message