Date: Tue, 3 Jun 1997 02:01:09 -0700 (PDT) From: asami@cs.berkeley.edu (Satoshi Asami) To: jmg@FreeBSD.ORG Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-ports@FreeBSD.ORG Subject: Re: cvs commit: ports/audio/nspmod - Imported sources Message-ID: <199706030901.CAA03353@silvia.HIP.Berkeley.EDU> In-Reply-To: <199706030833.BAA19032@freefall.freebsd.org> (message from John-Mark Gurney on Tue, 3 Jun 1997 01:33:07 -0700 (PDT))
next in thread | previous in thread | raw e-mail | index | archive | help
* this is the inital import of nspmod, a tracker that does it's own DSP... Thanks, but it doesn't compile for -current. === cc -Wall -g -c nspmod.c In file included from nspmod.c:2: /usr/include/sys/mman.h:111: parse error before `size_t' /usr/include/sys/mman.h:112: parse error before `size_t' /usr/include/sys/mman.h:113: parse error before `size_t' /usr/include/sys/mman.h:114: parse error before `size_t' /usr/include/sys/mman.h:115: parse error before `size_t' /usr/include/sys/mman.h:116: parse error before `size_t' /usr/include/sys/mman.h:117: parse error before `size_t' /usr/include/sys/mman.h:118: parse error before `size_t' *** Error code 1 === There are two problems here that I can see: (1) You probably need <sys/types.h>. I don't see any change in mman.h that can affect this, so it was probably a side effect of something else in 2.2 that made it compile. (2) Ports shouldn't compile with -g. ${INSTALL_PROGRAM} strips the binary anyway. You can usually make Makefiles use whatever flags users defined in /etc/make.conf by changing "CFLAGS=" to "CFLAGS+=". (GNU autoconf and/or GNU make makes this difficult but this port uses neither.) Satoshi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706030901.CAA03353>