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) <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> IBM Java Technology Centre, UK.
