Bug 12087 - build fails on 'make'
Summary: build fails on 'make'
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: unspecified
: P2 critical
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-03 09:45 UTC by Bert Desmet
Modified: 2010-10-03 17:56 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bert Desmet 2010-10-03 09:45:22 UTC
first I cloned the git repo 
ran the configure script, which gave no errors 

the make command gives me following error:
gcc -DHAVE_CONFIG_H -I. -I../../binutils  -I. -I../../binutils -I../bfd
-I../../binutils/../bfd -I../../binutils/../include
-DLOCALEDIR="\"/usr/local/share/locale\""
-Dbin_dummy_emulation=bin_vanilla_emulation  -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -Werror -g -O2 -MT size.o -MD -MP -MF
.deps/size.Tpo -c -o size.o ../../binutils/size.c
cc1: warnings being treated as errors
In file included from ../../binutils/size.c:33:0:
../../binutils/sysdep.h:79:1: error: function declaration isn’t a prototype
make[4]: *** [size.o] Error 1


system:
Fedora 14 beta
GCC-C++ version: 4.5.1
autoconf: 2.66
Comment 1 James Michael DuPont 2010-10-03 09:51:31 UTC
please include the results of -save-temps when compiling. 

gcc --verbose -save-temps -DHAVE_CONFIG_H -I. -I../../binutils  -I.
-I../../binutils -I../bfd
-I../../binutils/../bfd -I../../binutils/../include
-DLOCALEDIR="\"/usr/local/share/locale\""
-Dbin_dummy_emulation=bin_vanilla_emulation  -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -Werror -g -O2 -MT size.o -MD -MP -MF
.deps/size.Tpo -c -o size.o ../../binutils/size.c
Comment 2 Bert Desmet 2010-10-03 17:56:28 UTC
resolved