Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

make: Fatal error: Command failed for target `all' while installing

807557May 14 2006 — edited May 15 2006
Hi,

I'm having this problem while installing "gdb" on S10. Here are steps i have done from gdb configure location. I thought someone from this forum can help me on this

#./configure sun4

This configure runs fine and the i ran make which runs fine most of it but at the end it is failed. I'm pasting where it throws error during make.

-----------------------------------------------------------------------------------------------------------------------------------------------------------
.......................................
.......................................
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... relink
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... sunos4.1.1 ld.so
checking command to parse nm output... .././bfd/../ltconfig: nm: not found
.././bfd/../ltconfig: nm: not found
.././bfd/../ltconfig: nm: not found
failed
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool
.............................................
.............................................
./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./asprintf.o ./mempcpy.o ./mkstemps.o ./sigsetmask.o ./stpcpy.o ./stpncpy.o ./strndup.o ./strverscmp.o ./vasprintf.o
sh: ar: not found
*** Error code 1
make: Fatal error: Command failed for target `libiberty.a'
Current working directory /opt/gdb/gdb-6.4/libiberty
*** Error code 1
The following command caused the error:
test -f stage_last && exit 0; \
r=`${PWDCMD-pwd}`; export r; \
s=`cd .; ${PWDCMD-pwd}`; export s; \
..............................................
..............................................
..............................................
make: Fatal error: Command failed for target `all-libiberty'
Current working directory /opt/gdb/gdb-6.4
*** Error code 1
The following command caused the error:
r=`${PWDCMD-pwd}`; export r; \
s=`cd .; ${PWDCMD-pwd}`; export s; \
if [ -f stage_last ]; then \
............................................
............................................
...........................................
make: Fatal error: Command failed for target `all'
#
----------------------------------------------------------------------------------------------------------------------------------------------------

Thanks,
Torpedo
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 12 2006
Added on May 14 2006
2 comments
1,240 views