I also have the same problem.
Is there a better solution?
Gilbert
> -----Original Message-----
> From: Chris Gray [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 31, 2000 11:08 AM
> To: Pat Mahoney; debian-user@lists.debian.org
> Subject: Re: libc6 header problems
>
>
> On Mon, Oct 30, 2000 at 06:31:05PM -0600, Pat Mahoney wrote:
> > I keep getting these parse errors when trying to compile programs.
> >
> > compiling xmms (latest cvs):
> >
> > /usr/include/netinet/in.h:236: parse error before ('
> > /usr/include/netinet/in.h:237: parse error before ('
> > /usr/include/netinet/in.h:239: parse error before ('
> > /usr/include/netinet/in.h:241: parse error before ('
> >
> > and when compiling ocsalib:
> >
> > /usr/include/string.h:37: parse error before `?'
> > /usr/include/string.h:55: parse error before `?'
> >
> > I have latest (woody) deb's of libc6, libc6-dev, and gcc.
> Anyone else
> > have the same problem? Are these bugs or is something on
> my system out
> > of date? (I'm between woody and potato).
>
> I had something like this going on a while ago. It turned
> out that I had
> moved /usr/include/linux/stddef.h to /usr/include which
> royally screwed
> things up. Try looking around in /usr/include to find a header file
> that shouldn't be there. If you can't find anything, I found that
> getting rid of all instances of -I/usr/include in Makefiles (usually
> with sed) did the trick.
>
> Good luck,
> Chris
>
> --
> IF I HAD A MINE SHAFT, I don't think I would just abandon it. There's
> got to be a better way.
> -- Jack Handley, The New Mexican, 1988.
>
>
> --
> Unsubscribe? mail -s unsubscribe
> [EMAIL PROTECTED] < /dev/null
>