Error while "make all": "make[2]: *** No rule to make target `/libreadline.a', needed by `gdb'. Stop."
David Fernandez <[email protected]> Thu, 24 May 2012 23:45:18 +0100
| Newsgroups | gmane.comp.debugging.insight |
|---|---|
| Message-ID | <CAA6dH30fNY32y1OzsFSC0kdwztPEKGwHe3vKPUOv7kmW2U4xfA@mail.gmail.com> |
Hi there, Could you tell what is the problem? uname -a: Linux localhost.localdomain 3.3.6-3.fc16.i686.PAE #1 SMP Wed May 16 22:18:40 UTC 2012 i686 i686 i386 GNU/Linux I get the sources by doing: yumdownloader --source insight rpm -i insight-7.4.50-1.20120403cvs.fc16.src.rpm cd ~/rpmbuild/SPECS; rpmbuild -bp insight.spec cd ~/rpmbuild/BUILDROOT/arm-eabi/insight-7.4.50 ~/rpmbuild/BUILD/insight-7.4.50/configure --target=arm-eabi -v 2>&1 | tee configure.out make -w all 2>&1 | tee make.out I've tried to attach the ".out" files (on their own or as a .zip) but seems that the message doe not make it to the list for some reason so here is a little fragment at the end of make output (let me know any good way for you to post those files): gcc -g -O2 -I. -I../../../../BUILD/insight-7.4.50/gdb -I../../../../BUILD/insight-7.4.50/gdb/common -I../../../../BUILD/insight-7.4.50/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I../../../../BUILD/insight-7.4.50/gdb/../include/opcode -I../../../../BUILD/insight-7.4.50/gdb/../opcodes/.. -I@READLINE_SRC@/.. -I../bfd -I../../../../BUILD/insight-7.4.50/gdb/../bfd -I../../../../BUILD/insight-7.4.50/gdb/../include -I../libdecnumber -I../../../../BUILD/insight-7.4.50/gdb/../libdecnumber -I../../../../BUILD/insight-7.4.50/gdb/gnulib -Ignulib -DTUI=1 -DGDBTK -I/usr/include/python2.7 -I/usr/include/python2.7 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Werror -c -o inflow.o -MT inflow.o -MMD -MP -MF .deps/inflow.Tpo ../../../../BUILD/insight-7.4.50/gdb/inflow.c Making init.c gcc -g -O2 -I. -I../../../../BUILD/insight-7.4.50/gdb -I../../../../BUILD/insight-7.4.50/gdb/common -I../../../../BUILD/insight-7.4.50/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I../../../../BUILD/insight-7.4.50/gdb/../include/opcode -I../../../../BUILD/insight-7.4.50/gdb/../opcodes/.. -I@READLINE_SRC@/.. -I../bfd -I../../../../BUILD/insight-7.4.50/gdb/../bfd -I../../../../BUILD/insight-7.4.50/gdb/../include -I../libdecnumber -I../../../../BUILD/insight-7.4.50/gdb/../libdecnumber -I../../../../BUILD/insight-7.4.50/gdb/gnulib -Ignulib -DTUI=1 -DGDBTK -I/usr/include/python2.7 -I/usr/include/python2.7 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Werror -c -o init.o -MT init.o -MMD -MP -MF .deps/init.Tpo init.c make[2]: *** No rule to make target `/libreadline.a', needed by `gdb'. Stop. make[2]: Leaving directory `/home/davidfc/rpmbuild/BUILDROOT/arm-eabi/insight-7.4.50/gdb' make[1]: *** [all-gdb] Error 2 make[1]: Leaving directory `/home/davidfc/rpmbuild/BUILDROOT/arm-eabi/insight-7.4.50' make: *** [all] Error 2 make: Leaving directory `/home/davidfc/rpmbuild/BUILDROOT/arm-eabi/insight-7.4.50' The same thing happens with insight-6.8-1 (after adding CFLAGS="-g -O2 -Wno-error=set-but-unused-variable" to avoid a few benign errors). Cheers