Running these three commands will compile the files necessary: rintintin> gcc -DHAVE_CONFIG_H -I. -DDEBUG -I../bfd -I../include -I../bfd -I../intl -I. -DLOCALEDIR=/tmp/talbert/share/locale -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -MT flat_bl.o -MD -MP -MF .deps/flat_bl.Po -c -o flat_bl.o flat_bl.c rintintin> gcc -DHAVE_CONFIG_H -I. -DDEBUG -I../bfd -I../include -I../bfd -I../intl -I. -DLOCALEDIR=/tmp/talbert/share/locale -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -MT flat_bl.o -MD -MP -MF .deps/bsd_callg_bl.Po -c -o bsd_callg_bl.o bsd_callg_bl.c rintintin> gcc -DHAVE_CONFIG_H -I. -DDEBUG -I../bfd -I../include -I../bfd -I../intl -I. -DLOCALEDIR=/tmp/talbert/share/locale -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -MT flat_bl.o -MD -MP -MF .deps/fsf_callg_bl.Po -c -o fsf_callg_bl.o fsf_callg_bl.c
I am not adept enough at makefile spaghetti or the GNU build system to know what to change that would make make do this. - Craig From: Craig M Talbert Sent: Friday, June 04, 2010 12:06 PM To: 'bug-binutils@gnu.org' Subject: Error compiling gprof Solaris 9 (SunOS 5.9) sun4u sparc and binutils 2.20.1 I am trying to build binutils-2.20.1 on a Solaris 9 (SunOS 5.9) sun4u sparc machine and I am getting the following error when attempting to compile gprof. rintintin> make all make all-recursive Making all in po /bin/bash ./libtool --tag=CC --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -o gprof basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o cg_print.o corefile.o gmon_io.o gprof.o hertz.o hist.o source.o search_list.o symtab.o sym_ids.o utils.o i386.o alpha.o vax.o tahoe.o sparc.o mips.o flat_bl.o bsd_callg_bl.o fsf_callg_bl.o ../bfd/libbfd.la ../libiberty/libiberty.a ./../intl/libintl.a -lm libtool: link: gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -o gprof basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o cg_print.o corefile.o gmon_io.o gprof.o hertz.o hist.o source.o search_list.o symtab.o sym_ids.o utils.o i386.o alpha.o vax.o tahoe.o sparc.o mips.o flat_bl.o bsd_callg_bl.o fsf_callg_bl.o ../bfd/.libs/libbfd.a -lz ../libiberty/libiberty.a ./../intl/libintl.a -lm gcc: flat_bl.o: No such file or directory gcc: bsd_callg_bl.o: No such file or directory gcc: fsf_callg_bl.o: No such file or directory *** Error code 1 make: Fatal error: Command failed for target `gprof' Current working directory /tmp/talbert/binutils-2.20.1/gprof *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /tmp/talbert/binutils-2.20.1/gprof *** Error code 1 make: Fatal error: Command failed for target `all'
_______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils