X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Sat, 26 Mar 2005 15:14:21 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-ID: <01c53205$Blat.v2.4$dec98060@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 X-Mailer: emacs 22.0.50 (via feedmail 8 I) and Blat ver 2.4 In-reply-to: <1111771715.793217.54080@f14g2000cwb.googlegroups.com> (ogi AT fmi DOT uni-sofia DOT bg) Subject: Re: Emacs 21.4a References: <1110992417 DOT 515321 DOT 24950 AT g14g2000cwa DOT googlegroups DOT com> <01c52a63$Blat.v2.4$8b3bad00 AT zahav DOT net DOT il> <1111067231 DOT 228244 DOT 154740 AT f14g2000cwb DOT googlegroups DOT com> <01c52bd2$Blat.v2.4$b2387c60 AT zahav DOT net DOT il> <01c52ca6$Blat.v2.4$78974520 AT zahav DOT net DOT il> <1111771715 DOT 793217 DOT 54080 AT f14g2000cwb DOT googlegroups DOT com> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Ognyan Kulev" > Date: 25 Mar 2005 09:28:35 -0800 > > gcc -c -Demacs -DHAVE_CONFIG_H -I. -I. -O2 -gcoff sysdep.c > sysdep.c: In function `sys_subshell': > sysdep.c:777: error: `PATH_MAX' undeclared (first use in this function) > sysdep.c:777: error: (Each undeclared identifier is reported only once > sysdep.c:777: error: for each function it appears in.) ??? How could this happen? PATH_MAX is defined in the header limits.h that is supplied with DJGPP. sysdep.c has this fragment near line 109: #ifdef MSDOS /* Demacs 1.1.2 91/10/20 Manabu Higashida, MW Aug 1993 */ #include #include "dosfns.h" #include "msdos.h" #include MSDOS is defined in the DJGPP build (by the compiler). Given that it is defined, the above fragment includes sys/param.h, also a standard DJGPP header, which in turn includes limits.h. So this should make PATH_MAX defined (to the value of 512). Please see which one of these doesn't work for you, and why.