From owner-cvs-all Fri May 5 11:17:13 2000 Delivered-To: cvs-all@freebsd.org Received: from front1m.grolier.fr (front1m.grolier.fr [195.36.216.51]) by hub.freebsd.org (Postfix) with ESMTP id A29C037BBC6; Fri, 5 May 2000 11:16:54 -0700 (PDT) (envelope-from groudier@club-internet.fr) Received: from ppp-159-139.villette.club-internet.fr (ppp-159-139.villette.club-internet.fr [195.36.159.139]) by front1m.grolier.fr (8.9.3/No_Relay+No_Spam_MGC990224) with ESMTP id UAA26161; Fri, 5 May 2000 20:16:30 +0200 (MET DST) Date: Fri, 5 May 2000 19:51:27 +0200 (CEST) From: =?ISO-8859-1?Q?G=E9rard_Roudier?= X-Sender: groudier@linux.local To: "Sergey A. Ivanov" Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: Re[2]: cvs commit: src/sys/dev/sym sym_fw.h sym_fw1.h sym_fw2.h sym_conf.h sym_defs.h sym_hipd.c In-Reply-To: <17397.000505@pd.chel.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 5 May 2000, Sergey A. Ivanov wrote: [ ... ] > >> I have machine with 53c810 non 'A' > >> and want to use them under freebsd. > >> Can i just copy files from -current? >=20 > GR> Yes, this should work just fine. Only a 'make depend' will be needed = if > GR> you want dependencies with new header files to be correct. But check > GR> sym_hipd.c is revision 1.12 and not 1.11, since a tiny fix followed t= his > GR> commit. >=20 > It won't compile: >=20 >=20 > cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -W= missing-prototypes > -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdin= c -I- -I. -I../.. > -I../../../include -D_KERNEL -include opt_global.h -elf -mpreferred-sta= ck-boundary=3D2=20 > ./../dev/sym/sym_hipd.c > In file included from ../../dev/sym/sym_hipd.c:129: > ./../dev/sym/sym_defs.h:725: syntax error before `0x68000000' > ./../dev/sym/sym_defs.h:763: stray '\' in program > ./../dev/sym/sym_defs.h:766: stray '\' in program > ./../dev/sym/sym_defs.h:769: stray '\' in program > ./../dev/sym/sym_defs.h:772: stray '\' in program > In file included from ../../dev/sym/sym_hipd.c:130: > ./../dev/sym/sym_fw.h:66: stray '\' in program > ./../dev/sym/sym_fw.h:67: stray '\' in program > ./../dev/sym/sym_fw.h:68: stray '\' in program > ./../dev/sym/sym_fw.h:69: stray '\' in program > ./../dev/sym/sym_fw.h:70: stray '\' in program > ./../dev/sym/sym_fw.h:71: stray '\' in program [ ... ] > ./../dev/sym/sym_fw.h:121: stray '\' in program > ./../dev/sym/sym_fw.h:156: syntax error before `{' > *** Error code 1 >=20 > Stop in /usr/src/sys/compile/SYM. >=20 > I think -current have modern gcc than -stable. It is safely just > remove '\' and merge splitted lines in one? (Sorry, i'm not a > programmer) Looks like gcc is seeing an additionnal character after the '\' that splits macro definitions into several lines. This may happen if you are using some DOS to UNIX silly text file transformation that converts \r\n into \n, possibly to preserve file size or character positions within the file. Regards, G=E9rard. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message