You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by "Richard Liang (JIRA)" <ji...@apache.org> on 2006/02/28 03:43:39 UTC

[jira] Updated: (HARMONY-136) Cannot make libvmi.so and libhytext.so on linux

     [ http://issues.apache.org/jira/browse/HARMONY-136?page=all ]

Richard Liang updated HARMONY-136:
----------------------------------

    Attachment: readme_patch.txt

Add a new section of "Troubleshooting & Known Problems" in README.txt. 

Feel free to change my words. :-)

> 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
>  Attachments: readme_patch.txt
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira