I am trying to cross-compile oprofile-0.9.5.  I have a PC host.  My target has an MPC8248 running Linux 2.6.26.

 

I use the following commands:

 

./configure --host=i686-pc-linux-gnu --target=powerpc-linux --with-kernel-support --with-extra-libs=/opt/eldk/powerpc-linux/lib  CC=powerpc-linux-gcc  CXX=powerpc-linux-g++

 

make

 

The build is below.  As you can see, /usr/lib is chosen for the library search path even though  I put --with-extra-libs=/opt/eldk/powerpc-linux/lib  in the configure command.

 

Any suggestions?

 

make  all-recursive

make[1]: Entering directory `/home/billr/oprofile/oprofile-0.9.5'

Making all in .

make[2]: Entering directory `/home/billr/oprofile/oprofile-0.9.5'

make[2]: Leaving directory `/home/billr/oprofile/oprofile-0.9.5'

Making all in m4

make[2]: Entering directory `/home/billr/oprofile/oprofile-0.9.5/m4'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/home/billr/oprofile/oprofile-0.9.5/m4'

Making all in libutil

make[2]: Entering directory `/home/billr/oprofile/oprofile-0.9.5/libutil'

Making all in .

make[3]: Entering directory `/home/billr/oprofile/oprofile-0.9.5/libutil'

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../libop  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT op_deviceio.o -MD -MP -MF ".deps/op_deviceio.Tpo" -c -o op_deviceio.o op_deviceio.c; \

                then mv -f ".deps/op_deviceio.Tpo" ".deps/op_deviceio.Po"; else rm -f ".deps/op_deviceio.Tpo"; exit 1; fi

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../libop  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT op_lockfile.o -MD -MP -MF ".deps/op_lockfile.Tpo" -c -o op_lockfile.o op_lockfile.c; \

                then mv -f ".deps/op_lockfile.Tpo" ".deps/op_lockfile.Po"; else rm -f ".deps/op_lockfile.Tpo"; exit 1; fi

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../libop  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT op_file.o -MD -MP -MF ".deps/op_file.Tpo" -c -o op_file.o op_file.c; \

                then mv -f ".deps/op_file.Tpo" ".deps/op_file.Po"; else rm -f ".deps/op_file.Tpo"; exit 1; fi

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../libop  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT op_fileio.o -MD -MP -MF ".deps/op_fileio.Tpo" -c -o op_fileio.o op_fileio.c; \

                then mv -f ".deps/op_fileio.Tpo" ".deps/op_fileio.Po"; else rm -f ".deps/op_fileio.Tpo"; exit 1; fi

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../libop  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT op_get_time.o -MD -MP -MF ".deps/op_get_time.Tpo" -c -o op_get_time.o op_get_time.c; \

                then mv -f ".deps/op_get_time.Tpo" ".deps/op_get_time.Po"; else rm -f ".deps/op_get_time.Tpo"; exit 1; fi

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../libop  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT op_libiberty.o -MD -MP -MF ".deps/op_libiberty.Tpo" -c -o op_libiberty.o op_libiberty.c; \

                then mv -f ".deps/op_libiberty.Tpo" ".deps/op_libiberty.Po"; else rm -f ".deps/op_libiberty.Tpo"; exit 1; fi

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../libop  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT op_popt.o -MD -MP -MF ".deps/op_popt.Tpo" -c -o op_popt.o op_popt.c; \

                then mv -f ".deps/op_popt.Tpo" ".deps/op_popt.Po"; else rm -f ".deps/op_popt.Tpo"; exit 1; fi

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../libop  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT op_string.o -MD -MP -MF ".deps/op_string.Tpo" -c -o op_string.o op_string.c; \

                then mv -f ".deps/op_string.Tpo" ".deps/op_string.Po"; else rm -f ".deps/op_string.Tpo"; exit 1; fi

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../libop  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT op_cpufreq.o -MD -MP -MF ".deps/op_cpufreq.Tpo" -c -o op_cpufreq.o op_cpufreq.c; \

                then mv -f ".deps/op_cpufreq.Tpo" ".deps/op_cpufreq.Po"; else rm -f ".deps/op_cpufreq.Tpo"; exit 1; fi

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../libop  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT op_version.o -MD -MP -MF ".deps/op_version.Tpo" -c -o op_version.o op_version.c; \

                then mv -f ".deps/op_version.Tpo" ".deps/op_version.Po"; else rm -f ".deps/op_version.Tpo"; exit 1; fi

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../libop  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT op_growable_buffer.o -MD -MP -MF ".deps/op_growable_buffer.Tpo" -c -o op_growable_buffer.o op_growable_buffer.c; \

                then mv -f ".deps/op_growable_buffer.Tpo" ".deps/op_growable_buffer.Po"; else rm -f ".deps/op_growable_buffer.Tpo"; exit 1; fi

rm -f libutil.a

ar cru libutil.a op_deviceio.o op_lockfile.o op_file.o op_fileio.o op_get_time.o op_libiberty.o op_popt.o op_string.o op_cpufreq.o op_version.o op_growable_buffer.o

ranlib libutil.a

make[3]: Leaving directory `/home/billr/oprofile/oprofile-0.9.5/libutil'

Making all in tests

make[3]: Entering directory `/home/billr/oprofile/oprofile-0.9.5/libutil/tests'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/home/billr/oprofile/oprofile-0.9.5/libutil/tests'

make[2]: Leaving directory `/home/billr/oprofile/oprofile-0.9.5/libutil'

Making all in libop

make[2]: Entering directory `/home/billr/oprofile/oprofile-0.9.5/libop'

Making all in .

make[3]: Entering directory `/home/billr/oprofile/oprofile-0.9.5/libop'

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../libutil  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT op_events.o -MD -MP -MF ".deps/op_events.Tpo" -c -o op_events.o op_events.c; \

                then mv -f ".deps/op_events.Tpo" ".deps/op_events.Po"; else rm -f ".deps/op_events.Tpo"; exit 1; fi

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../libutil  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT op_parse_event.o -MD -MP -MF ".deps/op_parse_event.Tpo" -c -o op_parse_event.o op_parse_event.c; \

                then mv -f ".deps/op_parse_event.Tpo" ".deps/op_parse_event.Po"; else rm -f ".deps/op_parse_event.Tpo"; exit 1; fi

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../libutil  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT op_cpu_type.o -MD -MP -MF ".deps/op_cpu_type.Tpo" -c -o op_cpu_type.o op_cpu_type.c; \

                then mv -f ".deps/op_cpu_type.Tpo" ".deps/op_cpu_type.Po"; else rm -f ".deps/op_cpu_type.Tpo"; exit 1; fi

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../libutil  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT op_mangle.o -MD -MP -MF ".deps/op_mangle.Tpo" -c -o op_mangle.o op_mangle.c; \

                then mv -f ".deps/op_mangle.Tpo" ".deps/op_mangle.Po"; else rm -f ".deps/op_mangle.Tpo"; exit 1; fi

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../libutil  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT op_get_interface.o -MD -MP -MF ".deps/op_get_interface.Tpo" -c -o op_get_interface.o op_get_interface.c; \

                then mv -f ".deps/op_get_interface.Tpo" ".deps/op_get_interface.Po"; else rm -f ".deps/op_get_interface.Tpo"; exit 1; fi

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../libutil  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT op_alloc_counter.o -MD -MP -MF ".deps/op_alloc_counter.Tpo" -c -o op_alloc_counter.o op_alloc_counter.c; \

                then mv -f ".deps/op_alloc_counter.Tpo" ".deps/op_alloc_counter.Po"; else rm -f ".deps/op_alloc_counter.Tpo"; exit 1; fi

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../libutil  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT op_config.o -MD -MP -MF ".deps/op_config.Tpo" -c -o op_config.o op_config.c; \

                then mv -f ".deps/op_config.Tpo" ".deps/op_config.Po"; else rm -f ".deps/op_config.Tpo"; exit 1; fi

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../libutil  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT op_xml_events.o -MD -MP -MF ".deps/op_xml_events.Tpo" -c -o op_xml_events.o op_xml_events.c; \

                then mv -f ".deps/op_xml_events.Tpo" ".deps/op_xml_events.Po"; else rm -f ".deps/op_xml_events.Tpo"; exit 1; fi

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../libutil  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT op_xml_out.o -MD -MP -MF ".deps/op_xml_out.Tpo" -c -o op_xml_out.o op_xml_out.c; \

                then mv -f ".deps/op_xml_out.Tpo" ".deps/op_xml_out.Po"; else rm -f ".deps/op_xml_out.Tpo"; exit 1; fi

rm -f libop.a

ar cru libop.a op_events.o op_parse_event.o op_cpu_type.o op_mangle.o op_get_interface.o op_alloc_counter.o op_config.o op_xml_events.o op_xml_out.o

ranlib libop.a

make[3]: Leaving directory `/home/billr/oprofile/oprofile-0.9.5/libop'

Making all in tests

make[3]: Entering directory `/home/billr/oprofile/oprofile-0.9.5/libop/tests'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/home/billr/oprofile/oprofile-0.9.5/libop/tests'

make[2]: Leaving directory `/home/billr/oprofile/oprofile-0.9.5/libop'

Making all in libopagent

make[2]: Entering directory `/home/billr/oprofile/oprofile-0.9.5/libopagent'

if /bin/sh ../libtool --tag=CC --mode=compile powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..    -fPIC -I ../libop -I ../libutil -g -O2 -MT libopagent_la-opagent.lo -MD -MP -MF ".deps/libopagent_la-opagent.Tpo" -c -o libopagent_la-opagent.lo `test -f 'opagent.c' || echo './'`opagent.c; \

                then mv -f ".deps/libopagent_la-opagent.Tpo" ".deps/libopagent_la-opagent.Plo"; else rm -f ".deps/libopagent_la-opagent.Tpo"; exit 1; fi

mkdir .libs

 powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -fPIC -I ../libop -I ../libutil -g -O2 -MT libopagent_la-opagent.lo -MD -MP -MF .deps/libopagent_la-opagent.Tpo -c opagent.c  -fPIC -DPIC -o .libs/libopagent_la-opagent.o

 powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -fPIC -I ../libop -I ../libutil -g -O2 -MT libopagent_la-opagent.lo -MD -MP -MF .deps/libopagent_la-opagent.Tpo -c opagent.c -o libopagent_la-opagent.o >/dev/null 2>&1

/bin/sh ../libtool --tag=CC --mode=link powerpc-linux-gcc  -g -O2  -L/opt/eldk/powerpc-linux/lib -o libopagent.la -rpath /usr/local/lib/oprofile -version-info  1:0:0 -Wl,--version-script=../libopagent/opagent_symbols.ver libopagent_la-opagent.lo -lbfd -liberty -ldl  

powerpc-linux-gcc -shared  .libs/libopagent_la-opagent.o  -L/opt/eldk/powerpc-linux/lib -lbfd -liberty -ldl  -Wl,--version-script=../libopagent/opagent_symbols.ver -Wl,-soname -Wl,libopagent.so.1 -o .libs/libopagent.so.1.0.0

(cd .libs && rm -f libopagent.so.1 && ln -s libopagent.so.1.0.0 libopagent.so.1)

(cd .libs && rm -f libopagent.so && ln -s libopagent.so.1.0.0 libopagent.so)

ar cru .libs/libopagent.a  libopagent_la-opagent.o

ranlib .libs/libopagent.a

creating libopagent.la

(cd .libs && rm -f libopagent.la && ln -s ../libopagent.la libopagent.la)

make[2]: Leaving directory `/home/billr/oprofile/oprofile-0.9.5/libopagent'

Making all in libdb

make[2]: Entering directory `/home/billr/oprofile/oprofile-0.9.5/libdb'

Making all in .

make[3]: Entering directory `/home/billr/oprofile/oprofile-0.9.5/libdb'

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../libop -I ../libutil  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT db_manage.o -MD -MP -MF ".deps/db_manage.Tpo" -c -o db_manage.o db_manage.c; \

                then mv -f ".deps/db_manage.Tpo" ".deps/db_manage.Po"; else rm -f ".deps/db_manage.Tpo"; exit 1; fi

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../libop -I ../libutil  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT db_insert.o -MD -MP -MF ".deps/db_insert.Tpo" -c -o db_insert.o db_insert.c; \

                then mv -f ".deps/db_insert.Tpo" ".deps/db_insert.Po"; else rm -f ".deps/db_insert.Tpo"; exit 1; fi

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../libop -I ../libutil  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT db_travel.o -MD -MP -MF ".deps/db_travel.Tpo" -c -o db_travel.o db_travel.c; \

                then mv -f ".deps/db_travel.Tpo" ".deps/db_travel.Po"; else rm -f ".deps/db_travel.Tpo"; exit 1; fi

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../libop -I ../libutil  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT db_debug.o -MD -MP -MF ".deps/db_debug.Tpo" -c -o db_debug.o db_debug.c; \

                then mv -f ".deps/db_debug.Tpo" ".deps/db_debug.Po"; else rm -f ".deps/db_debug.Tpo"; exit 1; fi

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../libop -I ../libutil  -W -Wall -fno-common -Wdeclaration-after-statement -g -O2 -MT db_stat.o -MD -MP -MF ".deps/db_stat.Tpo" -c -o db_stat.o db_stat.c; \

                then mv -f ".deps/db_stat.Tpo" ".deps/db_stat.Po"; else rm -f ".deps/db_stat.Tpo"; exit 1; fi

rm -f libodb.a

ar cru libodb.a db_manage.o db_insert.o db_travel.o db_debug.o db_stat.o

ranlib libodb.a

make[3]: Leaving directory `/home/billr/oprofile/oprofile-0.9.5/libdb'

Making all in tests

make[3]: Entering directory `/home/billr/oprofile/oprofile-0.9.5/libdb/tests'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/home/billr/oprofile/oprofile-0.9.5/libdb/tests'

make[2]: Leaving directory `/home/billr/oprofile/oprofile-0.9.5/libdb'

Making all in libutil++

make[2]: Entering directory `/home/billr/oprofile/oprofile-0.9.5/libutil++'

Making all in .

make[3]: Entering directory `/home/billr/oprofile/oprofile-0.9.5/libutil++'

if powerpc-linux-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I ../libutil -I ../libop -I ../libpp  -W -Wall -fno-common -ftemplate-depth-50 -g -O2 -MT op_bfd.o -MD -MP -MF ".deps/op_bfd.Tpo" -c -o op_bfd.o op_bfd.cpp; \

                then mv -f ".deps/op_bfd.Tpo" ".deps/op_bfd.Po"; else rm -f ".deps/op_bfd.Tpo"; exit 1; fi

if powerpc-linux-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I ../libutil -I ../libop -I ../libpp  -W -Wall -fno-common -ftemplate-depth-50 -g -O2 -MT bfd_support.o -MD -MP -MF ".deps/bfd_support.Tpo" -c -o bfd_support.o bfd_support.cpp; \

                then mv -f ".deps/bfd_support.Tpo" ".deps/bfd_support.Po"; else rm -f ".deps/bfd_support.Tpo"; exit 1; fi

if powerpc-linux-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I ../libutil -I ../libop -I ../libpp  -W -Wall -fno-common -ftemplate-depth-50 -g -O2 -MT string_filter.o -MD -MP -MF ".deps/string_filter.Tpo" -c -o string_filter.o string_filter.cpp; \

                then mv -f ".deps/string_filter.Tpo" ".deps/string_filter.Po"; else rm -f ".deps/string_filter.Tpo"; exit 1; fi

if powerpc-linux-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I ../libutil -I ../libop -I ../libpp  -W -Wall -fno-common -ftemplate-depth-50 -g -O2 -MT glob_filter.o -MD -MP -MF ".deps/glob_filter.Tpo" -c -o glob_filter.o glob_filter.cpp; \

                then mv -f ".deps/glob_filter.Tpo" ".deps/glob_filter.Po"; else rm -f ".deps/glob_filter.Tpo"; exit 1; fi

if powerpc-linux-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I ../libutil -I ../libop -I ../libpp  -W -Wall -fno-common -ftemplate-depth-50 -g -O2 -MT path_filter.o -MD -MP -MF ".deps/path_filter.Tpo" -c -o path_filter.o path_filter.cpp; \

                then mv -f ".deps/path_filter.Tpo" ".deps/path_filter.Po"; else rm -f ".deps/path_filter.Tpo"; exit 1; fi

if powerpc-linux-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I ../libutil -I ../libop -I ../libpp  -W -Wall -fno-common -ftemplate-depth-50 -g -O2 -MT file_manip.o -MD -MP -MF ".deps/file_manip.Tpo" -c -o file_manip.o file_manip.cpp; \

                then mv -f ".deps/file_manip.Tpo" ".deps/file_manip.Po"; else rm -f ".deps/file_manip.Tpo"; exit 1; fi

if powerpc-linux-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I ../libutil -I ../libop -I ../libpp  -W -Wall -fno-common -ftemplate-depth-50 -g -O2 -MT stream_util.o -MD -MP -MF ".deps/stream_util.Tpo" -c -o stream_util.o stream_util.cpp; \

                then mv -f ".deps/stream_util.Tpo" ".deps/stream_util.Po"; else rm -f ".deps/stream_util.Tpo"; exit 1; fi

if powerpc-linux-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I ../libutil -I ../libop -I ../libpp  -W -Wall -fno-common -ftemplate-depth-50 -g -O2 -MT string_manip.o -MD -MP -MF ".deps/string_manip.Tpo" -c -o string_manip.o string_manip.cpp; \

                then mv -f ".deps/string_manip.Tpo" ".deps/string_manip.Po"; else rm -f ".deps/string_manip.Tpo"; exit 1; fi

if powerpc-linux-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I ../libutil -I ../libop -I ../libpp  -W -Wall -fno-common -ftemplate-depth-50 -g -O2 -MT cverb.o -MD -MP -MF ".deps/cverb.Tpo" -c -o cverb.o cverb.cpp; \

                then mv -f ".deps/cverb.Tpo" ".deps/cverb.Po"; else rm -f ".deps/cverb.Tpo"; exit 1; fi

if powerpc-linux-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I ../libutil -I ../libop -I ../libpp  -W -Wall -fno-common -ftemplate-depth-50 -g -O2 -MT op_exception.o -MD -MP -MF ".deps/op_exception.Tpo" -c -o op_exception.o op_exception.cpp; \

                then mv -f ".deps/op_exception.Tpo" ".deps/op_exception.Po"; else rm -f ".deps/op_exception.Tpo"; exit 1; fi

if powerpc-linux-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I ../libutil -I ../libop -I ../libpp  -W -Wall -fno-common -ftemplate-depth-50 -g -O2 -MT child_reader.o -MD -MP -MF ".deps/child_reader.Tpo" -c -o child_reader.o child_reader.cpp; \

                then mv -f ".deps/child_reader.Tpo" ".deps/child_reader.Po"; else rm -f ".deps/child_reader.Tpo"; exit 1; fi

if powerpc-linux-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I ../libutil -I ../libop -I ../libpp  -W -Wall -fno-common -ftemplate-depth-50 -g -O2 -MT xml_output.o -MD -MP -MF ".deps/xml_output.Tpo" -c -o xml_output.o xml_output.cpp; \

                then mv -f ".deps/xml_output.Tpo" ".deps/xml_output.Po"; else rm -f ".deps/xml_output.Tpo"; exit 1; fi

if powerpc-linux-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I ../libutil -I ../libop -I ../libpp  -W -Wall -fno-common -ftemplate-depth-50 -g -O2 -MT bfd_spu_support.o -MD -MP -MF ".deps/bfd_spu_support.Tpo" -c -o bfd_spu_support.o bfd_spu_support.cpp; \

                then mv -f ".deps/bfd_spu_support.Tpo" ".deps/bfd_spu_support.Po"; else rm -f ".deps/bfd_spu_support.Tpo"; exit 1; fi

if powerpc-linux-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I ../libutil -I ../libop -I ../libpp  -W -Wall -fno-common -ftemplate-depth-50 -g -O2 -MT op_spu_bfd.o -MD -MP -MF ".deps/op_spu_bfd.Tpo" -c -o op_spu_bfd.o op_spu_bfd.cpp; \

                then mv -f ".deps/op_spu_bfd.Tpo" ".deps/op_spu_bfd.Po"; else rm -f ".deps/op_spu_bfd.Tpo"; exit 1; fi

rm -f libutil++.a

ar cru libutil++.a op_bfd.o bfd_support.o string_filter.o glob_filter.o path_filter.o file_manip.o stream_util.o string_manip.o cverb.o op_exception.o child_reader.o xml_output.o bfd_spu_support.o op_spu_bfd.o

ranlib libutil++.a

make[3]: Leaving directory `/home/billr/oprofile/oprofile-0.9.5/libutil++'

Making all in tests

make[3]: Entering directory `/home/billr/oprofile/oprofile-0.9.5/libutil++/tests'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/home/billr/oprofile/oprofile-0.9.5/libutil++/tests'

make[2]: Leaving directory `/home/billr/oprofile/oprofile-0.9.5/libutil++'

Making all in libopt++

make[2]: Entering directory `/home/billr/oprofile/oprofile-0.9.5/libopt++'

if powerpc-linux-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I ../libutil++ -I ../libutil  -W -Wall -fno-common -ftemplate-depth-50 -g -O2 -MT popt_options.o -MD -MP -MF ".deps/popt_options.Tpo" -c -o popt_options.o popt_options.cpp; \

                then mv -f ".deps/popt_options.Tpo" ".deps/popt_options.Po"; else rm -f ".deps/popt_options.Tpo"; exit 1; fi

rm -f libopt++.a

ar cru libopt++.a popt_options.o

ranlib libopt++.a

make[2]: Leaving directory `/home/billr/oprofile/oprofile-0.9.5/libopt++'

Making all in libabi

make[2]: Entering directory `/home/billr/oprofile/oprofile-0.9.5/libabi'

Making all in .

make[3]: Entering directory `/home/billr/oprofile/oprofile-0.9.5/libabi'

if powerpc-linux-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I ../libop -I ../libutil -I ../libdb -I ../libopt++  -W -Wall -fno-common -ftemplate-depth-50 -g -O2 -MT abi.o -MD -MP -MF ".deps/abi.Tpo" -c -o abi.o abi.cpp; \

                then mv -f ".deps/abi.Tpo" ".deps/abi.Po"; else rm -f ".deps/abi.Tpo"; exit 1; fi

if powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I ../libop -I ../libutil -I ../libdb -I ../libopt++   -g -O2 -MT op_abi.o -MD -MP -MF ".deps/op_abi.Tpo" -c -o op_abi.o op_abi.c; \

                then mv -f ".deps/op_abi.Tpo" ".deps/op_abi.Po"; else rm -f ".deps/op_abi.Tpo"; exit 1; fi

rm -f libabi.a

ar cru libabi.a abi.o op_abi.o

ranlib libabi.a

if powerpc-linux-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I ../libop -I ../libutil -I ../libdb -I ../libopt++  -W -Wall -fno-common -ftemplate-depth-50 -g -O2 -MT opimport.o -MD -MP -MF ".deps/opimport.Tpo" -c -o opimport.o opimport.cpp; \

                then mv -f ".deps/opimport.Tpo" ".deps/opimport.Po"; else rm -f ".deps/opimport.Tpo"; exit 1; fi

/bin/sh ../libtool --tag=CXX --mode=link powerpc-linux-g++ -W -Wall -fno-common -ftemplate-depth-50 -g -O2  -L/opt/eldk/powerpc-linux/lib -o opimport  opimport.o libabi.a ../libdb/libodb.a ../libopt++/libopt++.a ../libutil++/libutil++.a ../libutil/libutil.a -lpopt -liberty -ldl

mkdir .libs

powerpc-linux-g++ -W -Wall -fno-common -ftemplate-depth-50 -g -O2 -o opimport opimport.o  -L/opt/eldk/powerpc-linux/lib libabi.a ../libdb/libodb.a ../libopt++/libopt++.a ../libutil++/libutil++.a ../libutil/libutil.a /usr/lib/libpopt.so -liberty -ldl 

/usr/lib/libpopt.so: could not read symbols: File in wrong format

collect2: ld returned 1 exit status

make[3]: *** [opimport] Error 1

make[3]: Leaving directory `/home/billr/oprofile/oprofile-0.9.5/libabi'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/home/billr/oprofile/oprofile-0.9.5/libabi'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/billr/oprofile/oprofile-0.9.5'

make: *** [all] Error 2

 


=