From: "Dave Korn" <dave.korn@artimi.com>
To: <neuwald@inf.ufsc.br>, <gdb@sources.redhat.com>
Subject: RE: Insight build error in the gdb for mips simulator
Date: Tue, 03 May 2005 12:19:00 -0000 [thread overview]
Message-ID: <SERRANO3MBhe3WYIgoF000001b8@SERRANO.CAM.ARTIMI.COM> (raw)
In-Reply-To: <2061.150.162.60.164.1115044077.squirrel@wmail.inf.ufsc.br>
----Original Message----
>From: neuwald@inf.ufsc.br
>Sent: 02 May 2005 15:28
>> Hi,
>>
>> I'm building tools for run application on mips simulator. I compiled
>> binutils and gcc in accordance with:
>> http://ecos.sourceware.org/tools/win-mips-tx39-elf.html. I compiled
>> insight 5.1a and when I used make utility, I got the following error:
>> make[3]: Entering directory `/tmp/build/gdb/sim/igen'
>> gcc -c -g -O2 -I. -I/src/gdb/insight-5.1a/sim/igen
>> -I/src/gdb/insight-5.1a/sim /igen/../../include -O0
>> /src/gdb/insight-5.1a/sim/igen/lf.c
>> /src/gdb/insight-5.1a/sim/igen/lf.c:261:27: missing terminating "
>> character /src/gdb/insight-5.1a/sim/igen/lf.c: In function
>> `lf_print__gnu_copyleft': /src/gdb/insight-5.1a/sim/igen/lf.c:264:
>> error: parse error before "Copyright"
>> /src/gdb/insight-5.1a/sim/igen/lf.c:264: error: syntax error at '@'
>> token /src/gdb/insight-5.1a/sim/igen/lf.c:266: error: `you' undeclared
>> Can anybody help me how to solve this error?
>> Regards,
>> Evandro
This was fixed some time ago: you're using very old versions of the
software.
Mon Jun 3 16:04:31 2002 UTC (2 years, 11 months ago) by rth
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/sim/igen/lf.c.diff?r1=1.1&r
2=1.2&cvsroot=src&f=h
It's because old compilers used to allow you to write a string in C that
extended across multiple lines without requiring you to escape the line-ends
to mark it as a continuation. That style of string has been depracated for
some time now; you need to either backslash-quote the line ends, or place
closing quotes at the end of each line and opening quotes at the start and
allow the ANSI-string-concatenation rule to take care of it. So you're
seeing this problem only because you're using a more modern version of the
compiler to try and build old code. Anyway, take a look at the patch as
shown above and you'll see how to fix it.
cheers,
DaveK
--
Can't think of a witty .sigline today....
prev parent reply other threads:[~2005-05-03 12:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-02 14:28 neuwald
2005-05-03 12:19 ` Dave Korn [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=SERRANO3MBhe3WYIgoF000001b8@SERRANO.CAM.ARTIMI.COM \
--to=dave.korn@artimi.com \
--cc=gdb@sources.redhat.com \
--cc=neuwald@inf.ufsc.br \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox