[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compile problem diffutils 2.7 on Digital Unix 4.0D
From: |
Tim Mooney |
Subject: |
Re: Compile problem diffutils 2.7 on Digital Unix 4.0D |
Date: |
1 Oct 2001 03:46:12 GMT |
In article <address@hidden>,
Petter Reinholdtsen <address@hidden> wrote:
>
> Diffutils v2.7 fails to compile out of the box on our Digital Unix
> 4.0D machine. This is the compile error:
>
> gcc -c -DHAVE_CONFIG_H -I. -I. -g -O fnmatch.c
> fnmatch.c: In function `fnmatch':
> fnmatch.c:67: `FNM_CASEFOLD' undeclared (first use in this function)
> fnmatch.c:67: (Each undeclared identifier is reported only once
> fnmatch.c:67: for each function it appears in.)
> fnmatch.c:74: `FNM_FILE_NAME' undeclared (first use in this function)
> fnmatch.c:202: `FNM_LEADING_DIR' undeclared (first use in this function)
> make: *** [fnmatch.o] Error 1
>
> BTW: The README informs me that I should 'Report bugs to
> address@hidden'. Is this email address correct? Other
> GNU packages seem to prefer @gnu.org.
diffutils hasn't been updated in a quite a while. @gnu.org is "new",
so it didn't exist when diffutils was last released.
The problem you're running into is because fnmatch.c is using GNU extensions.
I've seen this exact same problem in a couple other programs, though I think
most of them have been updated so it's no longer an issue.
Try compiling _GNU_SOURCE with defined, I think that will fix it.
Tim
--
Tim Mooney address@hidden
Information Technology Services (701) 231-1076 (Voice)
Room 242-J6, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164