Date: Fri, 5 May 2000 19:51:27 +0200 (CEST) From: =?ISO-8859-1?Q?G=E9rard_Roudier?= <groudier@club-internet.fr> To: "Sergey A. Ivanov" <lw@pd.chel.ru> 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 Message-ID: <Pine.LNX.4.10.10005051928020.1469-100000@linux.local> In-Reply-To: <17397.000505@pd.chel.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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?
>
> 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 this
> GR> commit.
>
> It won't compile:
>
>
> cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../..
> -I../../../include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2
> ./../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
>
> Stop in /usr/src/sys/compile/SYM.
>
> 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 <space>\n, possibly to preserve file size or character positions
within the file.
Regards,
Gérard.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.10005051928020.1469-100000>
