bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in building binutils-010311 on hppa2.0n-hp-hpux11.00


From: ross . alexander
Subject: Bug in building binutils-010311 on hppa2.0n-hp-hpux11.00
Date: Mon, 12 Mar 2001 15:56:14 +0000


In gprof/sym_ids.c I get the following error

make  all-recursive
make[1]: Entering directory `/tmp/binutils-010311/gprof'
Making all in po
make[2]: Entering directory `/tmp/binutils-010311/gprof/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/binutils-010311/gprof/po'
make[2]: Entering directory `/tmp/binutils-010311/gprof'
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -DDEBUG -I../bfd -I./../include -I./../bfd -I./../intl -I../intl -I. -DLOCALEDIR="\"/opt/dev32/share/locale\""   -W -Wall -g -O2 -c sym_ids.c
In file included from sym_ids.c:24:
../include/libiberty.h:145: warning: parameter names (without types) in function declaration
../include/libiberty.h:151: warning: parameter names (without types) in function declaration
../include/libiberty.h:157: parse error before `size_t'
../include/libiberty.h:162: warning: parameter names (without types) in function declaration
../include/libiberty.h:170: parse error before `size_t'
../include/libiberty.h:217: warning: parameter names (without types) in function declaration
make[2]: *** [sym_ids.o] Error 1

make[2]: Leaving directory `/tmp/binutils-010311/gprof'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/binutils-010311/gprof'
make: *** [all-recursive-am] Error 2


This is fixed by the following patch.

*** sym_ids.c.orig        Mon Mar 12 14:53:02 2001
--- sym_ids.c        Mon Mar 12 14:55:04 2001
***************
*** 19,26 ****
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    02111-1307, USA.  */
 
 #include <ctype.h>
-
 #include "libiberty.h"
 #include "cg_arcs.h"
 #include "sym_ids.h"
--- 19,26 ----
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    02111-1307, USA.  */
 
+ #include <stddef.h>
 #include <ctype.h>
 #include "libiberty.h"
 #include "cg_arcs.h"
 #include "sym_ids.h"




Attachment: sym_ids.c.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]