* Insight build error
@ 2005-05-02 13:16 neuwald
2005-05-02 13:51 ` Fernando Nasser
0 siblings, 1 reply; 6+ messages in thread
From: neuwald @ 2005-05-02 13:16 UTC (permalink / raw)
To: insight
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 (first
use in t
his function)
/src/gdb/insight-5.1a/sim/igen/lf.c:266: error: (Each undeclared
identifier is r
eported only once
/src/gdb/insight-5.1a/sim/igen/lf.c:266: error: for each function it
appears in.
)
/src/gdb/insight-5.1a/sim/igen/lf.c:268: error: `either' undeclared (first
use i
n this function)
/src/gdb/insight-5.1a/sim/igen/lf.c:272: error: `without' undeclared
(first use
in this function)
/src/gdb/insight-5.1a/sim/igen/lf.c:283:1: missing terminating " character
make[3]: *** [lf.o] Error 1
make[3]: Leaving directory `/tmp/build/gdb/sim/igen'
make[2]: *** [../igen/igen] Error 2
make[2]: Leaving directory `/tmp/build/gdb/sim/mips'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/build/gdb/sim'
make: *** [all-sim] Error 2
make: Leaving directory `/tmp/build/gdb'
Can anybody help me how to solve this error?
Regards,
Evandro
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Insight build error
2005-05-02 13:16 Insight build error neuwald
@ 2005-05-02 13:51 ` Fernando Nasser
0 siblings, 0 replies; 6+ messages in thread
From: Fernando Nasser @ 2005-05-02 13:51 UTC (permalink / raw)
To: neuwald; +Cc: insight
Hi,
It is actually the compilation of the mips simulator that runs embedded
in GDB that is failing.
Please repost this to gdb@sources.redhat.com
Regards,
Fernando
neuwald@inf.ufsc.br wrote:
> 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 (first
> use in t
> his function)
> /src/gdb/insight-5.1a/sim/igen/lf.c:266: error: (Each undeclared
> identifier is r
> eported only once
> /src/gdb/insight-5.1a/sim/igen/lf.c:266: error: for each function it
> appears in.
> )
> /src/gdb/insight-5.1a/sim/igen/lf.c:268: error: `either' undeclared (first
> use i
> n this function)
> /src/gdb/insight-5.1a/sim/igen/lf.c:272: error: `without' undeclared
> (first use
> in this function)
> /src/gdb/insight-5.1a/sim/igen/lf.c:283:1: missing terminating " character
> make[3]: *** [lf.o] Error 1
> make[3]: Leaving directory `/tmp/build/gdb/sim/igen'
> make[2]: *** [../igen/igen] Error 2
> make[2]: Leaving directory `/tmp/build/gdb/sim/mips'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/tmp/build/gdb/sim'
> make: *** [all-sim] Error 2
> make: Leaving directory `/tmp/build/gdb'
>
> Can anybody help me how to solve this error?
> Regards,
> Evandro
>
>
>
>
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Insight build error
2004-12-08 15:14 ` Backhaus Willy
@ 2004-12-08 18:27 ` Keith Seitz
0 siblings, 0 replies; 6+ messages in thread
From: Keith Seitz @ 2004-12-08 18:27 UTC (permalink / raw)
To: Backhaus Willy; +Cc: insight
On Wed, 2004-12-08 at 07:14, Backhaus Willy wrote:
> ok.. I used --disable-nls, but now I got another error:
> undefined reference to `_f_parse'
> undefined reference to `_java_parse'
> undefined reference to `_java_error'
> undefined reference to `_c_error'
> undefined reference to `_pascal_parse'
[and a bunch more]
These are all language functions that come from yacc files. Did the C
files get generated on your machine? ["ls *-exp.c" in your gdb build
directory.]
If not, make sure that yacc is available and working.
If they did get generated, please ask on the gdb list for more help.
Keith
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Insight build error
2004-12-08 12:23 ` Dave Korn
@ 2004-12-08 15:14 ` Backhaus Willy
2004-12-08 18:27 ` Keith Seitz
0 siblings, 1 reply; 6+ messages in thread
From: Backhaus Willy @ 2004-12-08 15:14 UTC (permalink / raw)
To: insight
ok.. I used --disable-nls, but now I got another error:
rm -f gdb.exe
/bin/gcc -g -O2 -Wl,--subsystem,console \
-o gdb.exe gdb.o libgdb.a \
rdi-share/libangsd.a ../sim/arm/libsim.a ../bfd/libbfd.a
../readline/libreadline.a ../opcodes/libopcodes.a ../libiberty/libiberty.a
../libgui/src/libgui.a -L/home/backhaus/itcl/itcl -litcl32 -L/home/backhaus/
itcl/itk -litk32 -L/home/backhaus/tk/win -ltk84 -L/home/backhaus/tcl/win -lt
cl84 -lgdi32 -lcomdlg32 -limm32 -lcomctl32 -lshell32 -ltermcap -lm -licon
v ../libiberty/libiberty.a -luser32 -lshell32 -lgdi32 -lcomdlg32 -ladvapi32
libgdb.a(f-lang.o)(.rdata+0x460): In function `f_create_fundamental_type':
/ecos-c/gnutools/src/insight_cvs/src/gdb/f-lang.c:258: undefined reference
to `_f_parse'
libgdb.a(f-lang.o)(.rdata+0x464):/ecos-c/gnutools/src/insight_cvs/src/gdb/f-
lang.c:258: undefined reference to `_f_error'
libgdb.a(jv-lang.o)(.rdata+0x5a0): In function `type_from_class':
/ecos-c/gnutools/src/insight_cvs/src/gdb/jv-lang.c:297: undefined reference
to `_java_parse'
libgdb.a(jv-lang.o)(.rdata+0x5a4):/ecos-c/gnutools/src/insight_cvs/src/gdb/j
v-lang.c:297: undefined reference to `_java_error'
libgdb.a(scm-lang.o)(.rdata+0xe4): In function `scm_get_field':
/ecos-c/gnutools/src/insight_cvs/src/gdb/scm-lang.c:82: undefined reference
to `_c_error'
libgdb.a(p-lang.o)(.rdata+0x3e0): In function `pascal_printstr':
/ecos-c/gnutools/src/insight_cvs/src/gdb/p-lang.c:188: undefined reference
to `_pascal_parse'
libgdb.a(p-lang.o)(.rdata+0x3e4):/ecos-c/gnutools/src/insight_cvs/src/gdb/p-
lang.c:188: undefined reference to `_pascal_error'
libgdb.a(m2-lang.o)(.rdata+0x500): In function `m2_create_fundamental_type':
/ecos-c/gnutools/src/insight_cvs/src/gdb/m2-lang.c:251: undefined reference
to `_m2_parse'
libgdb.a(m2-lang.o)(.rdata+0x504):/ecos-c/gnutools/src/insight_cvs/src/gdb/m
2-lang.c:251: undefined reference to `_m2_error'
libgdb.a(objc-lang.o)(.rdata+0x640): In function `objc_printchar':
/ecos-c/gnutools/src/insight_cvs/src/gdb/objc-lang.c:324: undefined
reference to `_objc_parse'
libgdb.a(objc-lang.o)(.rdata+0x644):/ecos-c/gnutools/src/insight_cvs/src/gdb
/objc-lang.c:325: undefined reference to `_objc_error'
libgdb.a(c-lang.o)(.text+0xafc): In function `c_preprocess_and_parse':
/ecos-c/gnutools/src/insight_cvs/src/gdb/c-lang.c:471: undefined reference
to `_c_parse'
libgdb.a(c-lang.o)(.rdata+0x564): In function `c_create_fundamental_type':
/ecos-c/gnutools/src/insight_cvs/src/gdb/c-lang.c:255: undefined reference
to `_c_error'
libgdb.a(c-lang.o)(.rdata+0x644):/ecos-c/gnutools/src/insight_cvs/src/gdb/c-
lang.c:290: undefined reference to `_c_error'
libgdb.a(c-lang.o)(.rdata+0x6c4):/ecos-c/gnutools/src/insight_cvs/src/gdb/c-
lang.c:305: undefined reference to `_c_error'
libgdb.a(c-lang.o)(.rdata+0x744):/ecos-c/gnutools/src/insight_cvs/src/gdb/c-
lang.c:320: undefined reference to `_c_error'
libgdb.a(ada-lang.o)(.text+0xdc0c): In function `parse':
/ecos-c/gnutools/src/insight_cvs/src/gdb/ada-lang.c:8693: undefined
reference to `_ada_parse'
libgdb.a(ada-lang.o)(.rdata+0x2624): In function
`ada_value_primitive_packed_val':
/ecos-c/gnutools/src/insight_cvs/src/gdb/ada-lang.c:1828: undefined
reference to `_ada_error'
collect2: ld returned 1 exit status
make[1]: *** [gdb.exe] Error 1
make[1]: Leaving directory `/home/backhaus/gdb'
make: *** [all-gdb] Error 2
make: Leaving directory `/home/backhaus'
> -----Original Message-----
> From: Dave Korn [mailto:dk@artimi.com]
> Sent: Wednesday, December 08, 2004 1:22 PM
> To: 'Backhaus Willy'; insight@sources.redhat.com
> Subject: RE: Insight build error
>
>
> > -----Original Message-----
> > From: insight-owner On Behalf Of Backhaus Willy
> > Sent: 08 December 2004 12:10
>
> > hello,
> >
> > I'm trying to build Insight from cvs.
> > following error message comes:
>
> > make[2]: *** No rule to make target `../../intl/libintl.a',
> > needed by `run'.
> > Stop.
>
> ./configure --disable-nls usually fixes this kind of problem.
>
> > I use cygwin and Win2000.
>
> This is rapidly becoming a FAQ.
>
> cheers,
> DaveK
> --
> Can't think of a witty .sigline today....
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Insight build error
2004-12-08 12:10 Backhaus Willy
@ 2004-12-08 12:23 ` Dave Korn
2004-12-08 15:14 ` Backhaus Willy
0 siblings, 1 reply; 6+ messages in thread
From: Dave Korn @ 2004-12-08 12:23 UTC (permalink / raw)
To: 'Backhaus Willy', insight
> -----Original Message-----
> From: insight-owner On Behalf Of Backhaus Willy
> Sent: 08 December 2004 12:10
> hello,
>
> I'm trying to build Insight from cvs.
> following error message comes:
> make[2]: *** No rule to make target `../../intl/libintl.a',
> needed by `run'.
> Stop.
./configure --disable-nls usually fixes this kind of problem.
> I use cygwin and Win2000.
This is rapidly becoming a FAQ.
cheers,
DaveK
--
Can't think of a witty .sigline today....
^ permalink raw reply [flat|nested] 6+ messages in thread
* Insight build error
@ 2004-12-08 12:10 Backhaus Willy
2004-12-08 12:23 ` Dave Korn
0 siblings, 1 reply; 6+ messages in thread
From: Backhaus Willy @ 2004-12-08 12:10 UTC (permalink / raw)
To: insight
hello,
I'm trying to build Insight from cvs.
following error message comes:
/bin/gcc -c
/ecos-c/gnutools/src/insight_cvs/src/sim/arm/../common/run.c -DHAVE_CONFIG_H
-DPROFILE=1 -DWITH_PROFILE=-1 -DDEFAULT_INLINE=0 -DM
ODET -DNEED_UI_LOOP_HOOK -DSIM_TARGET_SWITCHES -I. -I/ecos-c/gnutools/src/
insight_cvs/src/sim/arm -I../common -I/ecos-c/gnutools/src/insight_cvs/src/s
im/arm/../common -I../../include -I/ecos-c/gnutools/src/insight_cvs/src/sim/
arm/../../include -I../../bfd -I/ecos-c/gnutools/src/insight_cvs/src/sim/arm
/../../bfd -I../../opcodes -I/ecos-c/gnutools/src/insight_cvs/src/sim/arm/..
/../opcodes -I../../intl -I/ecos-c/gnutools/src/insight_cvs/src/sim/arm/../.
./intl -g -O2
make[2]: *** No rule to make target `../../intl/libintl.a', needed by `run'.
Stop.
make[2]: Leaving directory `/ecos-c/gnutools/tmp/build/gdb/sim/arm'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/ecos-c/gnutools/tmp/build/gdb/sim'
make: *** [all-sim] Error 2
make: Leaving directory `/ecos-c/gnutools/tmp/build/gdb'
I use cygwin and Win2000.
any ideas?
thanks.
Willy
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-05-02 13:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-02 13:16 Insight build error neuwald
2005-05-02 13:51 ` Fernando Nasser
-- strict thread matches above, loose matches on Subject: below --
2004-12-08 12:10 Backhaus Willy
2004-12-08 12:23 ` Dave Korn
2004-12-08 15:14 ` Backhaus Willy
2004-12-08 18:27 ` Keith Seitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).