From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,2863b4c0f0c83c1b,start X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,2863b4c0f0c83c1b,start X-Google-Attributes: gidf678f,public From: fineman@grizzly.cs.washington.edu (Dan Fineman) Subject: gnu tar 1.11.8 on DUNIX 4.0 -- won't compile -- fnmatch() problem Date: 1996/09/09 Message-ID: #1/1 X-Deja-AN: 179382969 x-nntp-posting-host: grizzly.cs.washington.edu sender: news@beaver.cs.washington.edu (USENET News System) organization: Computer Science & Engineering, U of Washington, Seattle newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1 Hey all! I'm trying to compile gnu tar 1.11.8 on a Dec Alpha running DUNIX 4.0 (a.k.a. osf4.0). Unfortunately, it just ain't happening. After doing a configure, the compilation tells me this: ----------------- gcc -c -DHAVE_CONFIG_H -I.. -I../intl -I. -I../lib -g -O tar.c tar.c: In function `name_match': tar.c:477: `FNM_LEADING_DIR' undeclared (first use this function) tar.c:477: (Each undeclared identifier is reported only once tar.c:477: for each function it appears in.) tar.c: In function `name_scan': tar.c:608: `FNM_LEADING_DIR' undeclared (first use this function) tar.c: In function `check_exclude': tar.c:828: `FNM_LEADING_DIR' undeclared (first use this function) *** Exit 1 ----------------- Anyways, I noted that on a linux system of mine, /usr/include/fnmatch.h has this line: --------- #define FNM_LEADING_DIR (1 << 3) /* Ignore `/...' after a match. */ --------- However, /usr/include/fnmatch.h on the DUNIX system has no such line! There are several calls to the library function fnmatch() in tar.c that are sent the parameter FNM_LEADING_DIR, which makes no sense to the DUNIX libraries. Man pages on the Linux system do not mention what the FNM_LEADING_DIR should do / does... Thoughts? Thanks, and please mail me with any replies, Dan Fineman fineman@cs.washington.edu