🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1091

problen, with, fileutils-3.4

#1091
From: korn
Date: Thu, 12 Nov 1992 10:23
50 lines
1234 bytes
Hi

I am working on a
	SINIX-F ukh840 V5.24 N14 MX550 
Machine (says uname -a).

I had a Problem in installing fileutils-3.4.

In file system.h (and also in backupfile.c, savedir.c) in directory lib
there is defined

	#ifdef direct
	#undef direct
	#endif
	#define direct dirent

in /usr/include/dirent.h on my machine is defined

	#define dirent direct
	...
	struct direct{ /* definition of struct direct */
	...
	}

a make resulted in

	backupfile.c:141 [error] infinite expansion of direct


So i changed 

	#ifdef direct
	#undef direct
	#endif
	#define direct dirent

to

	#ifndef sinix
	#	undef direct
	#	endif
	#	define direct dirent
	#endif

to outcomment the hack
and could build fileutils-3.4.

Bye
Heinfried Korn
korn@med-in.uni-sb.de
Technical Details
Message-ID: <9211120823.AA04604@ukh840.med-in.uni-sb.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!med-in.uni-sb.DE!korn

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!med-in.uni-sb.DE!korn
From: korn@med-in.uni-sb.DE (korn)
Subject: problen, with, fileutils-3.4
Message-ID: <9211120823.AA04604@ukh840.med-in.uni-sb.de>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Thu, 12 Nov 1992 10:23:34 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 52