Re: Compilation problems 0.5.4
Brought to you by:
set
From: Salvador E. T. <sal...@in...> - 2004-12-06 13:06:24
|
J.B. Lethbridge wrote: >Hallo all: > >Another release is always exciting. > >But I am trying to compile the new 0.5.4, and having no luck. >The system is as follows (errors listed below): > >kernel 2.2.16 >gcc 2.95.2 >libc6 2.0 >libg++ 2.7.2.8 >ldd 2.1.2 >make 3.77 >gdb 5.3 (is this relevant?) > > Only if you plan to debug programs, but from what I see you don't. >tvision 2.0.3 (no problems compiling that) > >These are a bit old > Yes, but not too much. Is old enough to be "untested" under such a platform, but not old enough to be unsupported. >of course I suddenly realise, though I normally have >no compilation problems SET 5.2, emacs, dosemu, kernel -- all work fine. > >I have looked for a way to disable the libmigdb in the configure stage, >with no luck. (I should probably never use it, since I am not a >programmer, but use SET, not for love letters, but writing papers and >books. I love the interface, and want some of the new features. Used Set >happily and gratefully for years now. (Even so, that would be a terrible >hack, no?) > > The easiest way to "disable" libmigdb is to just remove it ;-) Just do "rm -r libmigdb" and reconfigure. The configuration script will print a warning about debug features disabled ;-) >Anyway, perhaps this is some sort of bug report which might be helpful to >others trying to build it. I hope so. > > Of course. >I get the following breakdown: > >make -C libmigdb >make[1]: Entering directory `/home/compile/sourceforge/setedit/libmigdb' >make -C src >make[2]: Entering directory `/home/compile/sourceforge/setedit/libmigdb/src' > >colorgcc -O2 -Wall -gstabs+3 -I. -c connect.c -o connect.o >connect.c: In function `mi_get_response_blk': >connect.c:278: storage size of `timeout' isn't known >connect.c:278: warning: unused variable `timeout' > > Looks like it needs: #include <sys/time.h> Add it in line 34 of connect.c, it should fix the problem. Lamentably newer versions of glibc silently pull a lot of headers, I found it when compiled the code for BSD systems. The funny thing is that it also compiled for BSD ;-) Gruesse, SET -- Salvador Eduardo Tropea (SET). (Electronics Engineer) Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Alternative e-mail: se...@co... se...@ie... Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013 |