Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Sep 2005 22:30:05 -0400
From:      bsdlogical <kwlogical@bellsouth.net>
To:        xxjack12xx@gmail.com
Cc:        freebsd-ports@freebsd.org
Subject:   Re: dcraw does not compile
Message-ID:  <432A2E2D.2060000@bellsouth.net>
In-Reply-To: <ab581e31050915185220d31d03@mail.gmail.com>
References:  <ab581e31050915185220d31d03@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
That's odd. Could you post the output of `uname -a`? I'm using FreeBSD 
5.4-STABLE and it compiles fine:

===>  Building for dcraw-1.236
cc -o dcraw -O -pipe -march=pentium4 -march=pentium4 
-I/usr/local/include dcraw.c -L/usr/local/lib -lm -ljpeg
===>  Installing for dcraw-1.236
===>   Generating temporary packing list
===>  Checking if graphics/dcraw already installed
install  -s -o root -g wheel -m 555 
/usr/ports/graphics/dcraw/work/dcraw-1.236/dcraw /usr/local/bin
install  -o root -g wheel -m 444 
/usr/ports/graphics/dcraw/work/dcraw-1.236/dcraw.1 /usr/local/man/man1
===>   Compressing manual pages for dcraw-1.236
===>   Registering installation for dcraw-1.236
root@argon#

 * $FreeBSD: src/include/string.h,v 1.20 2004/07/23 02:20:05 tjr Exp $

bsdlogical

Jack L. wrote:

>I get this when I try to compile dcraw
>
>musirc# make install
>===> Building for dcraw-1.236
>cc -o dcraw -O2 -fno-strict-aliasing -pipe -march=prescott -march=prescott 
>-I/usr/local/include dcraw.c -L/usr/local/lib -lm -ljpeg
>dcraw.c:179: error: conflicting types for 'memmem'
>/usr/include/string.h:65: error: previous declaration of 'memmem' was here
>dcraw.c:179: error: conflicting types for 'memmem'
>/usr/include/string.h:65: error: previous declaration of 'memmem' was here
>*** Error code 1
>
>Stop in /usr/ports/graphics/dcraw/work/dcraw-1.236.
>*** Error code 1
>
>Stop in /usr/ports/graphics/dcraw.
>musirc#
>_______________________________________________
>freebsd-ports@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>
>  
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?432A2E2D.2060000>