Compile errors under Linux
Kriang Lerdsuwanakij
lerdsuwa@scf-fs.usc.edu
Mon Sep 1 20:57:00 GMT 1997
Jason Burrell wrote:
>
> If I "fix" this by removing the "int" and including <sigset.h>, I get some
> syntax error on line 110 of stdio.h.
>
> Glibc 2.0.5 doesn't like to compile for similar reasons.
>
> Does anyone have _any_ clue what is going on? As far as libraries and
> compilers go this is a virgin "unstable" Debian installation. My self-built
> Slackware ran into the same problems with both egcs and glibc 2.0.5. The
> egcs snapshot for 970825 also has the same problems for me.
>
> >From the messages here it looks like I'm ust doing something stupid. Any
> ideas?
That's because the libio.h in egcs's libio directory is included by
stdio.h rather than the correct one (in /usr/include). It's libio
problem. It should use glibc's libio rather than building another one.
If you don't need the iostream stuff, just cd to gcc subdirectory and
run 'make' from there.
--
Signature not found
Abort, Retry, Fail?
More information about the Gcc
mailing list