Closed Bug 213826 Opened 22 years ago Closed 22 years ago

Build breakage in tools/leaky/bfd.cpp

Categories

(SeaMonkey :: Build Config, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: mcbridematt, Assigned: mozbugs-build)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030704 Mozilla Firebird/0.6 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/200307?? (guess) My gtk2 build fails at tools/leaky/bfd.cpp due to a missing header (bfd.h) Reproducible: Always Steps to Reproduce: 1. update from CVS 2. make -f client.mk build Actual Results: In file included from bfd.cpp:13: leaky.h:53: error: syntax error before `;' token bfd.cpp:18:17: bfd.h: No such file or directory bfd.cpp: In member function `void leaky::ReadSymbols(const char*, long unsigned int)': bfd.cpp:26: warning: ISO C++ forbids declaration of `bfd_boolean' with no type bfd.cpp:26: error: syntax error before `=' token bfd.cpp:31: error: `bfd_init' undeclared (first use this function) bfd.cpp:31: error: (Each undeclared identifier is reported only once for each function it appears in.) bfd.cpp:34: error: `bfd' undeclared (first use this function) bfd.cpp:34: error: `lib' undeclared (first use this function) bfd.cpp:34: error: `bfd_openr' undeclared (first use this function) bfd.cpp:39: error: `bfd_object' undeclared (first use this function) bfd.cpp:39: error: `bfd_check_format_matches' undeclared (first use this function) bfd.cpp:40: error: `bfd_close' undeclared (first use this function) bfd.cpp:44: error: `asymbol' undeclared (first use this function) bfd.cpp:44: error: `store' undeclared (first use this function) bfd.cpp:45: error: `bfd_make_empty_symbol' undeclared (first use this function) bfd.cpp:48: error: `PTR' undeclared (first use this function) bfd.cpp:48: error: syntax error before `;' token bfd.cpp:50: error: `kDynamic' undeclared (first use this function) bfd.cpp:50: error: `minisyms' undeclared (first use this function) bfd.cpp:50: error: `bfd_read_minisymbols' undeclared (first use this function) bfd.cpp:61: error: `bfd_byte' undeclared (first use this function) bfd.cpp:61: error: `from' undeclared (first use this function) bfd.cpp:61: error: syntax error before `)' token bfd.cpp:62: error: `fromend' undeclared (first use this function) bfd.cpp:64: error: `sym' undeclared (first use this function) bfd.cpp:65: error: syntax error before `)' token bfd.cpp:67: error: `symbol_info' undeclared (first use this function) bfd.cpp:68: error: `syminfo' undeclared (first use this function) bfd.cpp:68: error: `bfd_get_symbol_info' undeclared (first use this function) bfd.cpp:71: error: `bfd_asymbol_name' undeclared (first use this function) bfd.cpp:26: warning: unused variable `int bfd_boolean' make[2]: *** [bfd.o] Error 1 make[2]: Leaving directory `/usr/local/src/mozilla/tools/leaky' make[1]: *** [tier_50] Error 2 make[1]: Leaving directory `/usr/local/src/mozilla' make: *** [default] Error 2 Expected Results: Built itself. .mozconfig (has worked before) ac_add_options --enable-default-toolkit=gtk2 ac_add_options --enable-calendar ac_add_options --enable-xft ac_add_options --disable-installer ac_add_options --enable-leaky <--- I didn't intend to put this here, but it somehow sneaked its way in. Even though its not in default configs, we should fix this bug. ac_add_options --disable-tests ac_add_options --disable-debug ac_add_options --enable-optimize ac_add_options --enable-perf-metrics ac_add_options --enable-optimize
Why was this bug report filed? bfd.h is a system header that comes from binutils. If you want to build leaky, you'll need to install the proper system headers.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.