[ELDK] ELDK 4.2, fedora 10, libdw fails w/redefinition error

Jeff Hane jeff.hane at maxim-ic.com
Thu Jun 4 21:06:44 CEST 2009


Has anybody else see this problem?  This happens when using gcc 4.3 but
does not happen with gcc 4.2

thanks,
jeff

make[4]: Leaving directory
`/export/home/jhane/project/eldk/build/ppc-2009-06-04/cross_rpms/rpm/BUILD/rpm-4.4.2/elfutils/libdwfl'
Making all in libdw
.
.
.
gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DIS_LIBDW -I. -I.. -I. -I.
-I./../libelf -I.. -I./../lib   -fpic -Wall  -Wshadow -Wunused
-Wformat=2 -Wextra -std=gnu99 -O2 -g -march=i386 -mcpu=i686 -fexceptions
-MT dwarf_hasform.o -M
D -MP -MF .deps/dwarf_hasform.Tpo -c -o dwarf_hasform.o dwarf_hasform.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
mv -f .deps/dwarf_hasform.Tpo .deps/dwarf_hasform.Po
gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DIS_LIBDW -I. -I.. -I. -I.
-I./../libelf -I.. -I./../lib   -fpic -Wall  -Wshadow -Wunused
-Wformat=2 -Wextra -std=gnu99 -O2 -g -march=i386 -mcpu=i686 -fexceptions
-MT dwarf_whatform.o -
MD -MP -MF .deps/dwarf_whatform.Tpo -c -o dwarf_whatform.o
dwarf_whatform.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
dwarf_whatform.c:60: error: redefinition of 'dwarf_whatform'
./libdw.h:636: error: previous definition of 'dwarf_whatform' was here
make[4]: *** [dwarf_whatform.o] Error 1
make[4]: Leaving directory
`/export/home/jhane/project/eldk/build/ppc-2009-06-04/cross_rpms/rpm/BUILD/rpm-4.4.2/elfutils/libdw'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/export/home/jhane/project/eldk/build/ppc-2009-06-04/cross_rpms/rpm/BUILD/rpm-4.4.2/elfutils'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/export/home/jhane/project/eldk/build/ppc-2009-06-04/cross_rpms/rpm/BUILD/rpm-4.4.2/elfutils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/export/home/jhane/project/eldk/build/ppc-2009-06-04/cross_rpms/rpm/BUILD/rpm-4.4.2'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.IvIV8i (%build)





More information about the eldk mailing list