Date: Mon, 3 Apr 2000 11:31:11 +0530 From: Rahul Siddharthan <rsidd@physics.iisc.ernet.in> To: Derrick Baumer <bduk@earthlink.net> 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> In-Reply-To: <200004030132.SAA01795@earthlink.net>; from bduk@earthlink.net on Sun, Apr 02, 2000 at 06:32:35PM -0700 References: <20000403030401.A17364@theory1.physics.iisc.ernet.in> <200004030132.SAA01795@earthlink.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > 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 <stdio.h>
#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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000403113111.A21411>
