[Flora-users] Problems installing Flora-2 with Cygwin
Brought to you by:
kifer
From: Anjali B. S. <an...@um...> - 2003-11-06 04:58:24
|
Hi Everyone, I am trying to install flora-2 with cygwin. I use the latest xsb verison 2.6 and the latest flora-2 version. As per the instructions I do the following for xsb:- ./configure ./makexsb (For cygwin its advised to use ./configure --enable-no-cygwin, but when I do that ./makexsb does not work. Gives errors like system_xsb.o(.text+0x21d3):system_xsb.c: undefined reference to `__imp___ctype tables.o(.text+0x53e):tables.c: undefined reference to `___getreent' tables.o(.text+0x566):tables.c: undefined reference to `___getreent' tables.o(.text+0x582):tables.c: undefined reference to `___getreent' timer_xsb.o(.text+0x49):timer_xsb.c: undefined reference to `_sigprocmask' timer_xsb.o(.text+0x55):timer_xsb.c: undefined reference to `_setjmp' timer_xsb.o(.text+0x67):timer_xsb.c: undefined reference to `_alarm' timer_xsb.o(.text+0x7e):timer_xsb.c: undefined reference to `_alarm' timer_xsb.o(.text+0xaa):timer_xsb.c: undefined reference to `_alarm' timer_xsb.o(.text+0xf9):timer_xsb.c: undefined reference to `_sigprocmask' tst_retrv.o(.text+0x887):tst_retrv.c: undefined reference to `___getreent' tst_retrv.o(.text+0xac7):tst_retrv.c: undefined reference to `___getreent' tst_retrv.o(.text+0xcfb):tst_retrv.c: undefined reference to `___getreent' tst_retrv.o(.text+0xef7):tst_retrv.c: undefined reference to `___getreent' tst_retrv.o(.text+0x10e9):tst_retrv.c: undefined reference to `___getreent' tst_retrv.o(.text+0x12d7):tst_retrv.c: more undefined references to `___getree ' follow collect2: ld returned 1 exit status make[1]: *** [xsb] Error 1 make[1]: Leaving directory `/cygdrive/e/Profiles/ReiConfig/XSB/emu' make: *** [emu] Error 1) So, I use ./configure which installs xsb correctly. Now for Flora-2 i have a separate directory (other than ~/XSB...ie I have ~/Flora and thats where I put the flora2 is generated and put. Then I do the following for Flora-2: 1) make clean 2) ./makeflora all ~/XSB/bin/xsb and get the following errors: While compiling .../flora2/lib: ++Error[XSB]: [Compiler] Out of registers! ... aborting compilation ++Error[XSB]: [Compiler] Out of registers! ... aborting compilation ++Error[XSB]: [Compiler] Out of registers! ... aborting compilation ++Error[XSB]: [Compiler] Out of registers! ... aborting compilation ++Warning[XSB]: [Compiler] /cygdrive/e/Profiles/ReiConfig/Flora/flora2/lib/flrpr ettyprint: Unknown compiler option: ti_all ++Warning[XSB]: [Compiler] /cygdrive/e/Profiles/ReiConfig/Flora/flora2/lib/flrio : Unknown compiler option: ti_all ++Warning[XSB]: [Compiler] /cygdrive/e/Profiles/ReiConfig/Flora/flora2/lib/flrst orage: Unknown compiler option: ti_all -------------------- End -------------------------- -------------- Warnings/Errors -------------------- While compiling .../flora2/pkgs: -------------------- End -------------------------- -------------- Warnings/Errors -------------------- While compiling .../flora2/syslib: -------------------- End -------------------------- cc1: warning: -fPIC ignored for target (all code is position independent) /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld: cannot find -lxsb collect2: ld returned 1 exit status ++Error[XSB]: [Runtime/C] Loading a foreign file: /cygdrive/e/Profiles/ReiConfig /Flora/flora2/p2h/prolog2hilog.xwam -------------- Warnings/Errors -------------------- While compiling .../flora2: -------------------- End -------------------------- -------------- Warnings/Errors -------------------- While compiling .../flora2/trailer: ++Error[XSB]: [Compiler] Out of registers! ... aborting compilation -------------------- End -------------------------- Can someone please help me out with this. What should I do to be able to install Flora-2 correctly??? Thanking You Sincerely, Anjali. Anjali Bharat Shah Graduate Student Computer Science Department University of Maryland Baltimore County |