Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!versatc!mips!prls!philabs!linus!nixbur!nixpbe!mboen From: mboen@nixpbe.UUCP (Martin Boening) Newsgroups: comp.mail.elm Subject: Re: Elm 2.2 PL8 Configure problem? Message-ID: <387@nixpbe.UUCP> Date: 8 Jun 89 06:28:46 GMT References: <491@iccdev.UUCP> Organization: Nixdorf Computer AG, Paderborn, Germany Lines: 36 bill@iccdev.UUCP (Bill Gaines) writes: >Is anyone having trouble making ELM after they install Patch #8? If >I don't run the Configure script, I don't have a problem. If I run the >Configure script, I get an undefined symbol "SV_INTERRUPT" in init.c. >I noticed this when I moved elm to another machine and tried to build >it. When I got the error, I ran Configure on my machine and I got >the same compiler error. >-- >Bill Gaines >Industrial Computer Corporation >(...!gatech!iccdev!bill) I get the same problem on UNIX V (R2). Problem is, that a symbol SIGVEC is defined because Configure finds the routine 'sigvec' in /lib/libc.a. Depen- ding on this (#IFDEF'ed) the signal handling in init.c is compiled. If SIGVEC is defined, a structure alarm_vec is defined as sigvec and then somewhere in the code (line 221, I think it was) alarm_vec.sv_flags is set to SV_INTERRUPT, probably assuming that this is defined in /usr/include/sys/signal.h. The said symbol (SIGVEC) was introduced with Patch8. You can work around this easily by running Configure and then changing '#define SIGVEC' in the resultant config.h to '#undef SIGVEC'. (BTW, I got two errors in line 221 because there's no sv_flags in structure sigvec on our system. Instead, it's called sv_mask. By undef'ing SIGVEC, all problems disappear) Maybe someone out there knows a better fix. Martin -- Email: in the USA -> ...!uunet!philabs!linus!nixbur!mboening.pad outside USA -> {...!mcvax}!unido!nixpbe!mboening.pad Paper Mail: Martin Boening, Nixdorf Computer AG, DS2, Pontanusstr. 55, 4790 Paderborn, W.-Germany