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: Robert Millan <>
To: Antti Kantee <>
Subject: Re: misc/50166
Date: Sun, 20 Sep 2015 14:20:14 +0200

 El 19/09/15 a les 15:27, Antti Kantee ha escrit:
 > 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/
 >> In function 'ArchSVR4Entry':
 >> /home/amnesia/rump/debian/rumpkernel/
 >> 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:
 > #include "nbtool_config.h"
 > #endif
 > to the appropriate place(s).
 I don't think this can work. Looking at the log, make is initially compiled before running, then uses make to build other stuff, and then nbtool_config.h is
 dynamically generated by src/tools/compat/configure.
 Can we make an exception for make and put the MAXPATHLEN ifdef in make.h too?
 Robert Millan

Home | Main Index | Thread Index | Old Index