Date: Fri, 21 May 1999 22:11:06 -0400 (EDT) From: Thomas David Rivers <rivers@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 Message-ID: <199905220211.WAA39334@lakes.dignus.com> In-Reply-To: <001701bea3f7$fa8dd000$1bc4edd0@default>
next in thread | previous in thread | raw e-mail | index | archive | help
> > Trying to compile LAM (Local Area Multicomputer), and I get this (in > "make install") You need to #include <sys/types.h> 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 <lam/lam62b> :Now What?[63]# > > ________________________________________________________________________ > ___________________ > > > Additional info: > - ->root<-@beowulf1 in <lam/lam62b> :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 <lam/lam62b> :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 <mailto:ulairi@jps.net> > ulairi@ecs.csun.edu <mailto:ulairi@ecs.csun.edu> > ntadmin@ecs.csun.edu <mailto:ntadmin@ecs.csun.edu> > secadmin@ecs.csun.edu <mailto: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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905220211.WAA39334>