NetBSD-Bugs archive

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

Re: misc/50166



The following reply was made to PR misc/50166; it has been noted by GNATS.

From: Antti Kantee <pooka%NetBSD.org@localhost>
To: Robert Millan <rmh%gnu.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, misc-bug-people%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: misc/50166
Date: Sat, 19 Sep 2015 13:27:54 +0000

 On 18/09/15 20:25, Robert Millan wrote:
 > compat_defs.h doesn't seem to help as make.h does:
 >
 > /home/amnesia/rump/debian/rumpkernel/buildrump.sh/src/tools/make/../../usr.bin/make/arch.c:
 > In function 'ArchSVR4Entry':
 > /home/amnesia/rump/debian/rumpkernel/buildrump.sh/src/tools/make/../../usr.bin/make/arch.c:815:47:
 > error: 'MAXPATHLEN' undeclared (first use in this function)
 >       (void)strncpy(name, &ar->fnametab[entry], MAXPATHLEN);
 >
 > what is the expected include path for arch.c -> compat_defs.h?
 
 Try adding:
 
 #if HAVE_NBTOOL_CONFIG_H
 #include "nbtool_config.h"
 #endif
 
 to the appropriate place(s).
 


Home | Main Index | Thread Index | Old Index