From owner-freebsd-questions Sun Apr 2 23:11:57 2000 Delivered-To: freebsd-questions@freebsd.org Received: from theory1.physics.iisc.ernet.in (theory1.physics.iisc.ernet.in [144.16.71.20]) by hub.freebsd.org (Postfix) with SMTP id 3F85437B67C for ; Sun, 2 Apr 2000 23:10:42 -0700 (PDT) (envelope-from rsidd@theory1.physics.iisc.ernet.in) Received: (qmail 21419 invoked by uid 211); 3 Apr 2000 06:01:11 -0000 Date: Mon, 3 Apr 2000 11:31:11 +0530 From: Rahul Siddharthan To: Derrick Baumer Cc: bkwalters@lucent.com, freebsd-questions@FreeBSD.ORG Subject: Re: w3m make craps out was Re: Lynx forbidden Message-ID: <20000403113111.A21411@theory1.physics.iisc.ernet.in> References: <20000403030401.A17364@theory1.physics.iisc.ernet.in> <200004030132.SAA01795@earthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200004030132.SAA01795@earthlink.net>; from bduk@earthlink.net on Sun, Apr 02, 2000 at 06:32:35PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > make -f XXMakefile > > > cc -pipe -I/usr/local/include -I. -c tagtable.c > > > tagtable.c:8: syntax error before character 0340 > > > tagtable.c:11: syntax error before character 0320 > > > > Funny, it works fine for me... > > I don't see anything unusual in tagtable.c at those lines either. > > Is your source file somehow corrupted? > > I had the same problems with w3m, eventually giving it up and just > installing w3 for emacs, since I'm sitting in emacs 90% of the time > anyway. I'm running 3.4-stable, with ports downloaded maybe three > weeks ago and the errors he described in his original message are very > similar to the errors I had. > > While I was searching for the error, I found that the source file from > which tagtable.c was generated appeared to be corrupted, with > gibberish characters in the lines that gave errors during the > compile. If the sources were corrupted, they're corrupted in the > distribution downloaded by the ports system. When I tried it the make command downloaded the source from the Japanese site directly. My ports collection was less than a day old -- I cvsup it daily. The generated tagtable.c looks fine. The first 12 lines are below, lines 8 and 11 look pretty much the same as the rest. I can mail you the whole thing if you like: please reply directly (off the list) if you want it. #include "hash.h" #include #include "html.h" static HashItem_si MyHashItem[] = { /* 0 */ {"/form_int",HTML_N_FORM_INT,&MyHashItem[1]}, /* 1 */ {"/kbd",HTML_NOP,&MyHashItem[2]}, /* 2 */ {"dd",HTML_DD,&MyHashItem[3]}, /* 3 */ {"/dir",HTML_N_UL,NULL}, /* 4 */ {"/body",HTML_N_BODY,NULL}, /* 5 */ {"base",HTML_BASE,NULL}, /* 6 */ {"/div",HTML_N_DIV,NULL}, /* 7 */ {"tbody",HTML_TBODY,&MyHashItem[8]}, /* 8 */ {"meta",HTML_META,&MyHashItem[9]}, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message