From owner-freebsd-questions Sun Aug 15 23:24:54 1999 Delivered-To: freebsd-questions@freebsd.org Received: from front5.grolier.fr (front5.grolier.fr [194.158.96.55]) by hub.freebsd.org (Postfix) with ESMTP id DEC0F14D5B; Sun, 15 Aug 1999 23:24:45 -0700 (PDT) (envelope-from pushf@club-internet.fr) Received: from club-internet.fr (Chateauroux-2-50.club-internet.fr [195.36.140.50]) by front5.grolier.fr (8.9.3/No_Relay+No_Spam_MGC990224) with ESMTP id IAA17242; Mon, 16 Aug 1999 08:25:06 +0200 (MET DST) Message-ID: <37B7AEC1.44EEAE39@club-internet.fr> Date: Mon, 16 Aug 1999 08:25:05 +0200 From: Pierre-Francois LAURAND X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 3.1-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: "make buildworld" failure with -stable under 3.1 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I am running FreeBSD-3.1 and I've just ended to download FreeBSD-stable ( 3.0-stable ), and, while I'am trying to make it with "make buildworld", the file /usr/src/bin/ls/stat_flags.c seems to provoke the following mistake : ... cc -O2 -pipe -fno-strength-reduce -m486 -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:50: parse error before `if' /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:50: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:51: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:52: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:53: warning: initialization makes integer from pointer without a cast /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:53: warning: data definition has no type or storage class /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:53: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:54: parse er: parse error before `}' /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c: In function `flags_to_string': /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:72: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:74: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:77: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:80: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:82: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:84: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:86: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:88: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:91: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:97: `a' undeclared (first use this function) /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:97: (Each undeclared identifier is reported only once /usr/src/usr.binr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:97: for each function it appears in.) /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:97: `b' undeclared (first use this function) /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:97: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:98: `clear' undeclared (first use this function) /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:98: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:99: `clrp' undeclared (first use this function) /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:99: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:100: `f' undeclared (first use this function) /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:100: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:101: `setp' undeclared (first use this function) /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:101: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:102flags.c:102: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:103: break statement not within loop or switch /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:103: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:104: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:113: parse error before `int' /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:126: `stringp' undeclared (first use this function) /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:137: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:138: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:139: warning: return makes pointer from integer without a cast /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:142: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:143: warning: return makes pointer from integer without a cast /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:145: stray '\' in program /usr/sgram /usr/ssrc/usr.bin/xinstall/../../bin/ls/stat_flags.c:146: warning: return makes pointer from integer without a cast /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:148: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:149: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:150: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:151: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:152: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:154: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:155: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:157: warning: return makes pointer from integer without a cast /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:159: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:160: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:161: stray '\' in program /usr/srcam /usr/srcc/usr.bin/xinstall/../../bin/ls/stat_flags.c:162: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:163: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:165: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:166: stray '\' in program /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:170: warning: return makes pointer from integer without a cast /usr/src/usr.bin/xinstall/../../bin/ls/stat_flags.c:175: parse error at end of input *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. (radm@horus:/usr/src)# I'm not sure that the mistake comes from stat_flags.c because stat_flags.c from -stable is the same as stat_flags.c from release 3.1, and a "make buildworld" with the source of the 3.1 runs well. I think that the mistake comes from me, but I don't see where the problem is. I've just downloaded the sources, installed them under /usr/src; and run a "make buildworld". Thanks for your help ! -- Pierre-François LAURAND pushf@club-internet.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message