From owner-freebsd-questions Fri May 21 19:11:24 1999 Delivered-To: freebsd-questions@freebsd.org Received: from smtp2.vnet.net (smtp2.vnet.net [166.82.1.32]) by hub.freebsd.org (Postfix) with ESMTP id 57DB814C3C for ; Fri, 21 May 1999 19:11:18 -0700 (PDT) (envelope-from rivers@dignus.com) Received: from dignus.com (ponds.vnet.net [166.82.177.48]) by smtp2.vnet.net (8.9.1a/8.9.1) with ESMTP id WAA09942; Fri, 21 May 1999 22:12:10 -0400 (EDT) Received: from lakes.dignus.com (lakes.dignus.com [10.0.0.3]) by dignus.com (8.9.2/8.8.5) with ESMTP id WAA10499; Fri, 21 May 1999 22:11:07 -0400 (EDT) Received: (from rivers@localhost) by lakes.dignus.com (8.9.2/8.6.9) id WAA39334; Fri, 21 May 1999 22:11:06 -0400 (EDT) Date: Fri, 21 May 1999 22:11:06 -0400 (EDT) From: Thomas David Rivers Message-Id: <199905220211.WAA39334@lakes.dignus.com> To: freebsd-questions@FreeBSD.ORG, ulairi@jps.net Subject: Re: Having a hard time compiling something, getting an error in /usr/include/sys/signal.h on line 163 In-Reply-To: <001701bea3f7$fa8dd000$1bc4edd0@default> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Trying to compile LAM (Local Area Multicomputer), and I get this (in > "make install") You need to #include first. - Dave Rivers - > > > ________________________________________________________________________ > _________________ > gcc -g -O2 -I/home/root/lam/h -DMPI_GER=8 -DSHORTCIRCUIT -c > ../../../share/mpi/lamsig.c > In file included from ../../../share/mpi/lamsig.c:11: > /usr/include/sys/signal.h:163: parse error before `size_t' > /usr/include/sys/signal.h:163: warning: no semicolon at end of struct > or union > /usr/include/sys/signal.h:165: parse error before `}' > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > - ->root<-@beowulf1 in :Now What?[63]# > > ________________________________________________________________________ > ___________________ > > > Additional info: > - ->root<-@beowulf1 in :Now What?[63]# uname -a > FreeBSD beowulf1.ecs.csun.edu 3.1-RELEASE FreeBSD 3.1-RELEASE #0: Wed > May 19 12:29:07 PDT 1999 root@beowulf1.ecs.csun.edu:/usr/s > rc/sys/compile/BEOWULF i386 > - ->root<-@beowulf1 in :Now What?[64]# gcc -v > gcc version 2.7.2.1 > > Lines 160 to 173 of /usr/include/sys/signal.h: > /* > * Structure used in sigaltstack call. > */ > struct sigaltstack > > char *ss_sp; > size_t ss_size; > int ss_flags; > }; > #define SS_ONSTACK 0x0001 /* take signal on alternate stack */ > #define SS_DISABLE 0x0004 /* disable taking signals on alternate > stack */ > #define MINSIGSTKSZ 8192 /* minimum allowable > stack */ > #define SIGSTKSZ (MINSIGSTKSZ + 32768) /* recommended stack > size */ > > /* > > Not sure what else you'd want, so please ask :) > > Thanks for any info/hints, et cetera. > > > General Purpose Computer Geek > California State University, Northridge > College of Engineering and Computer Science > 18111 Nordhoff St, Post Stop 8295 > Northridge, CA 91330 > ulairi@jps.net > ulairi@ecs.csun.edu > ntadmin@ecs.csun.edu > secadmin@ecs.csun.edu > > > -----BEGIN PGP SIGNATURE----- > Version: PGPfreeware 6.0.2i > > iQA/AwUBN0YHNFR8Yh25VFLEEQJ9qgCgmO62G2NQ7rwkk8fROjR9W4NeoBIAnArK > KOKid3DQ2+IaN7YdvAbO28vF > =W5pW > -----END PGP SIGNATURE----- > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message