Hello all!
I tried to build Unicon x86_32_linux under Cygwin64/Win8.1. But failed too. Before "make Configure" I disabled XLIBS in Makedefs as I have cygwin without Xs. In define.h I enabled concurrency with:
First problem was with rswitch.s. Assembler cried that instruction "push" has invalid suffix (pushl). Changing pushl to just push didn't solved. Other error occured. Well, I have just empted content of rswitch.s to single line
.file "rswitch.s"
Second problem was that gcc couldn't find nsl library. OK, I cut -lnsl from RLIBS in Makedefs file.
Third problem occurred on the step of linking iconx. Error was with "Undefined symbol gethostent".
I have tried to define HAVE_GETADDRINFO 1
Problem persisted.
I have tried to define HAVE_GETADDRINFO without value. The same.
Then I checked content of GNU glibc library and discovered there file netdb.h in which was definition of gethostent.
Then I tried to copy it to /usr/include but discovered that header with such name is already exists in my cygwin.
OK, I tried to include it into src/runtime/xfstra.r file as #include <netdb.h>
After some editing I put this file to /usr/include and continued. But again error occured. Now it was about "error Endianess not declared!" in the /usr/include/machine/ieefp.h as neither __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN was defined. Well, I tried to define one and second. In both cases I failed with message about invalid default_inttype.
So, I tried to go by second way. That is disable concurrency. But again failed with errors about gethostent:
gcc -Wl,-E -L../../bin -L/usr/lib64 -L/usr/lib -L/usr/lib -Lbin -L/usr/lib -o iconx xcnv.o xdata.o xdef.o xerrmsg.o xextcall.o xfconv.o xfload.o
xfmath.o xfmisc.o xfmonitr.o xfscan.o xfstr.o xfstranl.o xfstruct.o xfsys.o xfwindow.o ximain.o ximisc.o xinit.o xinterp.o xinvoke.o xfdb.o xkey
word.o xlmisc.o xoarith.o xoasgn.o xocat.o xocomp.o xomisc.o xoref.o xoset.o xovalue.o xralc.o xrcoexpr.o xrcomp.o xrdb.o xrdebug.o xrlocal.o xrl
rgint.o xrmemmgt.o xrmisc.o xrstruct.o xrsys.o xrwinrsc.o xrgfxsys.o xrwinsys.o xrwindow.o xfxtra.o xraudio.o xrposix.o xrmsg.o ../common/long.o
../common/time.o ../common/save.o ../common/rswitch.o ../common/redirerr.o ../common/xwindow.o ../common/alloc.o ../common/mlocal.o ../common/fil
epart.o -lpthread -lm -L ../../bin -lm -lgdbm -ltp -ldl
/usr/bin/ld: warning: --export-dynamic is not supported for PE+ targets, did you mean --export-all-symbols?
xrcoexpr.o:xrcoexpr.c:(.text+0x7fe): undefined reference to `coswitch'
xrcoexpr.o:xrcoexpr.c:(.text+0x7fe): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `coswitch'
xfxtra.o:xfxtra.c:(.text+0x6467): undefined reference to `gethostent'
xfxtra.o:xfxtra.c:(.text+0x6467): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `gethostent'
So, I finished untill somebody help me. By the way, libnsl is not included in cygwin setup. I found its implementation for cygwin on
https://github.com/berkus/flick/tree/master/support/cygwin32 but didn't try to build it. It is slightly complicated for me. Maybe this library could help to successfuly build Unicon under Cygwin. I don't know! Hell!
Best regards,
Sergey Logichev
Jafar
I did try
#define HAVE_GETADDRINFO
(without the 1)
That produces a lot of macro redefinition errors
and aborts before it gets to the load step.
Dick McCullough
Context Knowledge Systems
What is your view?
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group