* Insight build error @ 2004-12-08 12:10 Backhaus Willy 2004-12-08 12:23 ` Dave Korn 0 siblings, 1 reply; 8+ 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] 8+ messages in thread
* RE: Insight build error 2004-12-08 12:10 Insight build error Backhaus Willy @ 2004-12-08 12:23 ` Dave Korn 2004-12-08 15:14 ` Backhaus Willy 0 siblings, 1 reply; 8+ 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] 8+ 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; 8+ 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] 8+ messages in thread
* RE: Insight build error 2004-12-08 15:14 ` Backhaus Willy @ 2004-12-08 18:27 ` Keith Seitz 2004-12-14 17:54 ` Insight build error - success Backhaus Willy 0 siblings, 1 reply; 8+ 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] 8+ messages in thread
* RE: Insight build error - success 2004-12-08 18:27 ` Keith Seitz @ 2004-12-14 17:54 ` Backhaus Willy 2004-12-14 18:18 ` Keith Seitz 0 siblings, 1 reply; 8+ messages in thread From: Backhaus Willy @ 2004-12-14 17:54 UTC (permalink / raw) To: insight [-- Attachment #1: Type: text/plain, Size: 3246 bytes --] hello, after some days of trial and error, I got it... insight for arm-elf under cygwin. some things doesn't work yet but we can work with it. I will describe my configuration. 1. target arm-elf 2. win2000 sp4 3. cygwin packages: (actually the default installation and gcc, make, sharutils, tcltk, wget flex autoconf gettex bison) ash 10040127-1 autoconf 2.59-1 autoconf-devel 2.59-1 autoconf-stable 2.13-5 base-files 3.1-4 base-passwd 2.1-1 bash 2.05b-16 biutils 20040725-2 bison 20030307-1 bzip2 1.0.2-6 crypt 1.1-1 cygutils 1.2.5-1 cygwin 1.5.12-1 cygwin-doc 1.3-7 diffutils 2.8.7-1 editrights 1.01-1 expat 1.95.8-1 fileutils 4.1-2 findutils 4.2.10-5 flex 2.5.4a-3 gawk 3.1.4-3 gcc-core 3.3.3-3 gcc-g++ 3.3.3-3 gcc-ming-core 20040810-1 gcc-mingw-g++ 20040801-1 gdbm 1.8.3-7 gettext 0.14.1-1 gettext-devel 0.14.1-1 grep 2.5-1 groff 1.18.1-2 gzip 1.3.5-1 less 381-1 libbz2_1 1.0.2-6 libdb4.2 4.2.52-1 libgdbm 1.8.0-5 libgdbm-devel 1.8.3-7 libgdbm3 1.8.3-3 libgdbm4 1.8.3-7 libgettextpo0 0.14.1-1 libiconv 1.9.2-1 libiconv2 1.9.2-1 libintl1 0.10.40-1 libintl2 0.12.1-3 libintl3 0.14.1-1 libncurses5 5.2-1 libncurses6 5.2-8 libpcre 4.1-1 libpcre0 4.5-1 libpopt0 1.6.4-4 libreadline4 4.1-2 libreadline5 4.3-5 libreadline6 5.0-1 login 1.9-7 m4 1.4.2-1 make 3.80-1 man 1.5o-1 mingw-runtime 3.5-1 mktemp 1.5-3 ncurses 5.4-1 openssl 0.9.7d-2 patch 2.5.8-8 perl 5.8.5-3 readline 5.0-1 sed 4.1.2-1 sh-utils 2-0-15-4 sharutils 4.2.1-3 tar 1.13.25-5 tcltk 20030901-1 termcap 20021106-1 terminfo 5.4_20041009-1 texinfo 4.2-4 textutils 2.0.21-1 w32api 3.1-1 wget 1.9.1-1 which 1.5-2 zlib 1.2.2-1 _update-info-dir 00230-1 4. insight version: the cvs version from today (2004.12.14) 4. following changes: http://sources.redhat.com/ml/insight/2004-q2/msg00032.html http://www.cygwin.com/ml/cygwin/2004-10/msg00716.html (the quick and dirty variant :)) http://sources.redhat.com/ml/insight/2004-q4/msg00091.html 5. because of http://sources.redhat.com/ml/gdb/2004-12/msg00071.html apply patch 6. build: /ecos-c/gnutools/src/insight-6.1/configure --target=arm-elf \ --prefix=/ecos-c/gnutools/bin/ --enable-interwork --enable-multilib --disabl e-nls make -w all install 2>&1 | tee make.out 7. Problems: Can't open File->Target Settings Window Run->Download doesn't work. Workaround: use the gdb commands in condole window sorry for my bad english. thanks to all that helped. regards, Willy > -----Original Message----- > From: Keith Seitz [mailto:keiths@redhat.com] > Sent: Wednesday, December 08, 2004 7:27 PM > To: Backhaus Willy > Cc: insight@sources.redhat.com > Subject: RE: Insight build error > > > 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 > > [-- Attachment #2: default_err.patch --] [-- Type: application/octet-stream, Size: 1743 bytes --] Index: gdb/target.c =================================================================== RCS file: /cvs/src/src/gdb/target.c,v retrieving revision 1.90 diff -u -5 -p -r1.90 target.c --- gdb/target.c 8 Oct 2004 20:29:55 -0000 1.90 +++ gdb/target.c 30 Nov 2004 09:09:18 -0000 @@ -1230,20 +1230,22 @@ target_xfer_memory_partial (CORE_ADDR me } int target_read_memory_partial (CORE_ADDR memaddr, char *buf, int len, int *err) { + *err=0; if (target_xfer_partial_p ()) return target_xfer_partial (target_stack, TARGET_OBJECT_MEMORY, NULL, buf, NULL, memaddr, len); else return target_xfer_memory_partial (memaddr, buf, len, 0, err); } int target_write_memory_partial (CORE_ADDR memaddr, char *buf, int len, int *err) { + *err=0; if (target_xfer_partial_p ()) return target_xfer_partial (target_stack, TARGET_OBJECT_MEMORY, NULL, NULL, buf, memaddr, len); else return target_xfer_memory_partial (memaddr, buf, len, 1, err); Index: gdb/ChangeLog =================================================================== RCS file: /cvs/src/src/gdb/ChangeLog,v retrieving revision 1.6674 diff -u -5 -p -r1.6674 ChangeLog --- gdb/ChangeLog 29 Nov 2004 22:29:40 -0000 1.6674 +++ gdb/ChangeLog 30 Nov 2004 09:09:47 -0000 @@ -1,5 +1,9 @@ +2004-11-30 Andrea Michelotti <amichelotti@atmel.com> + * target.c (target_read_memory_partial): default error return code + * target.c (target_write_memory_partial): default error return code + 2004-11-29 Andrew Cagney <cagney@gnu.org> * MAINTAINERS: Add Randolph Chung (pa), Jeff Johnston (ia64), Kei Sakamoto (m32r), Joel Brobecker (mips), and Ulrich Weigand (s390) as can-commit architecture developers. ^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: Insight build error - success 2004-12-14 17:54 ` Insight build error - success Backhaus Willy @ 2004-12-14 18:18 ` Keith Seitz 0 siblings, 0 replies; 8+ messages in thread From: Keith Seitz @ 2004-12-14 18:18 UTC (permalink / raw) To: Backhaus Willy; +Cc: insight On Tue, 2004-12-14 at 09:54, Backhaus Willy wrote: > 4. following changes: > http://sources.redhat.com/ml/insight/2004-q2/msg00032.html I built a native cygwin version just the other day (Friday?), and I did *not* need this patch anymore. Anyone else verify that this problem is fixed? > 7. Problems: Can't open File->Target Settings Window > Run->Download doesn't work. > Workaround: use the gdb commands in condole window Hmm. I've built linux-x-arm-elf insight and all of these things work when I target the simulator. Any error messages printed to the debug window? (To open debug window, open a console window and enter "tk ManagedWin::open DebugWin".) Keith ^ permalink raw reply [flat|nested] 8+ messages in thread
* Insight build error @ 2005-05-02 13:16 neuwald 2005-05-02 13:51 ` Fernando Nasser 0 siblings, 1 reply; 8+ 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] 8+ 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; 8+ 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] 8+ messages in thread
end of thread, other threads:[~2005-05-02 13:51 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-12-08 12:10 Insight build error Backhaus Willy 2004-12-08 12:23 ` Dave Korn 2004-12-08 15:14 ` Backhaus Willy 2004-12-08 18:27 ` Keith Seitz 2004-12-14 17:54 ` Insight build error - success Backhaus Willy 2004-12-14 18:18 ` Keith Seitz 2005-05-02 13:16 Insight build error neuwald 2005-05-02 13:51 ` Fernando Nasser
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).