Date: Mon, 15 Nov 2004 19:19:31 -0600 From: "Conrad J. Sabatier" <conrads@cox.net> To: freebsd-ports@freebsd.org Subject: Re: graphics/netpbm failing to compile Message-ID: <20041115191931.3784fffe@dolphin.local.net> In-Reply-To: <20041115190550.168ed484@dolphin.local.net> References: <1100557647.26249.1.camel@server.mcneil.com> <20041115190550.168ed484@dolphin.local.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --Multipart=_Mon__15_Nov_2004_19_19_31_-0600_7pN8=odIvdyVxv_9 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 15 Nov 2004 19:05:50 -0600, "Conrad J. Sabatier" <conrads@cox.net> wrote: > On Mon, 15 Nov 2004 14:27:27 -0800, Sean McNeil <sean@mcneil.com> > wrote: > > > I get the following error: > > > > cc -c -I/usr/ports/graphics/netpbm/work/netpbm-10.25/lib -I. > > -DNDEBUG-g -O -pipe -fpic -DPIC \ > > -o libpbm3.lo libpbm3.c > > libpbm3.c: In function `packBitsWithMmxSse': > > libpbm3.c:83: error: `col' undeclared (first use in this function) > > libpbm3.c:83: error: (Each undeclared identifier is reported only > > once libpbm3.c:83: error: for each function it appears in.) > > gmake[1]: *** [libpbm3.lo] Error 1 > > gmake[1]: Leaving directory > > `/usr/ports/graphics/netpbm/work/netpbm-10.25/lib' > > It's just a simple omission of the declaration of "int col;". > > Apply the attached patch under > /usr/ports/graphics/netpbm/work/netpbm-10.25/lib Oops. Did the diff backwards. :-) Try this one instead. -- Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas" --Multipart=_Mon__15_Nov_2004_19_19_31_-0600_7pN8=odIvdyVxv_9 Content-Type: text/plain; name="patch" Content-Disposition: attachment; filename="patch" Content-Transfer-Encoding: 7bit --- libpbm3.c.orig Mon Nov 15 19:16:06 2004 +++ libpbm3.c Mon Nov 15 19:16:42 2004 @@ -68,6 +68,7 @@ Use the Pentium MMX and SSE facilities to pack the bits quickly. -----------------------------------------------------------------------------*/ + int col; #if HAVE_MMX_SSE /* Enhancement for intel processors with MMX and SSE */ --Multipart=_Mon__15_Nov_2004_19_19_31_-0600_7pN8=odIvdyVxv_9--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041115191931.3784fffe>