On 29 Jul 2001, Brad Benedict wrote:

> Whenever I get the source for something, and after I ./configure it, and
> try to do "make" I get like a zillion parse errors.  This happens no
> matter what I do.  I've checked the lines that it says has problems, but
> there doesn't seem to be any problem.  This happens to EVERYTHING.  Can
> somebody help?  I tried upgrading GCC, but guess what?  It won't
> compile.
> 
> 
> If it helps, here is an example:

command line that generated these?

> cplus-dem.c:4593: parse error before character 0177
> cplus-dem.c:4593: parse error before `)'
> cplus-dem.c:4593: parse error before character 0177
> cplus-dem.c:4593: parse error before `)'
> cplus-dem.c:4599: parse error before character 0177
> cplus-dem.c:4599: parse error before `)'
> cplus-dem.c:4599: parse error before character 0177
> cplus-dem.c:4599: parse error before `)'

Almost 5k lines?  Is cplus-dem.c actually text source code? The error
makes me think it could be an object file...

Character 0177 is DEL, not normally found in text files.

If the file and all included files ("gcc -M cplus-dem.c") are clean text
files then the 0177 may be due to a compiler bug.

What is the gcc version?  Can it compile helloworld.c?

Is a "-x" gcc option used (improperly) in the makefile?

> make[1]: *** [cplus-dem.o] Error 1
> 
> Thanks in advance.

For asking questions? I aim to please.... :)

---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<[EMAIL PROTECTED]>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...2k
---------------------------------------------------------------------------

Reply via email to