bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

diffutils/findutils under Tru64


From: Ling Shi
Subject: diffutils/findutils under Tru64
Date: Tue, 05 Jun 2001 12:09:25 +1000

Hi,

I'm building diffutils and findutils under Tru64 v5.1. They both
failed at same file, fnmatch.c. Should I report it to Compaq
as well? 

address@hidden diffutils-2.7 [2:240] uname -a
OSF1 murder.cs.mu.OZ.AU V5.1 732 alpha
address@hidden diffutils-2.7 [2:241] cc -V
Compaq C V6.3-025 on Compaq Tru64 UNIX V5.1 (Rev. 732)
Compiler Driver V6.3-026 (sys) cc Driver

==============
diffutils v2.7
==============

cc -c  -DHAVE_CONFIG_H -I. -I. -g fnmatch.c
cc: Error: fnmatch.c, line 67: In this statement, "FNM_CASEFOLD" is not
declared
. (undeclared)
      c = FOLD (c);
----------^
cc: Error: fnmatch.c, line 74: In this statement, "FNM_FILE_NAME" is not
declare
d. (undeclared)
          else if ((flags & FNM_FILE_NAME) && *n == '/')
----------------------------^
cc: Error: fnmatch.c, line 202: In this statement, "FNM_LEADING_DIR" is
not decl
ared. (undeclared)
  if ((flags & FNM_LEADING_DIR) && *n == '/')
---------------^
*** Exit 1
Stop.

==============
findutils v4.1
==============

cc -c -DHAVE_CONFIG_H -I.. -I.  -g fnmatch.c
cc: Error: fnmatch.c, line 58: In this statement, "FNM_CASEFOLD" is not
declared
. (undeclared)
      c = FOLD (c);
----------^
cc: Error: fnmatch.c, line 65: In this statement, "FNM_FILE_NAME" is not
declare
d. (undeclared)
          else if ((flags & FNM_FILE_NAME) && *n == '/')
----------------------------^
cc: Error: fnmatch.c, line 193: In this statement, "FNM_LEADING_DIR" is
not decl
ared. (undeclared)
  if ((flags & FNM_LEADING_DIR) && *n == '/')
---------------^
*** Exit 1
Stop.
*** Exit 1
Stop.

Using gcc returned similar 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

address@hidden diffutils-2.7 [2:258] gcc -v
Reading specs from
/usr/local/apps/gcc-20001002/lib/gcc-lib/alpha-dec-osf5.1/2.97/specs
gcc version 2.97 20001002 (experimental)

-- 
Cheers,
Ling Shi
Email: address@hidden / address@hidden         Ph: 8344 9108



reply via email to

[Prev in Thread] Current Thread [Next in Thread]