Problem compiling binutils





--
Stan
( Original thread: <egpre8014hc@xxxxxxxxxxxxxxxxx> )


When I try to compile binutils-2.17, it errors out with:


# CC=/usr/local/gcc4/bin/gcc ./configure --prefix=/usr/local/binutils
.
.
# make
.
.
/usr/local/gcc4/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I.././libiberty/../include -W -Wall -pedantic -Wwrite-strings
-Wstrict-prototypes -Wc++-compat .././libiberty/pex-unix.c
-o pex-unix.o
In file included from /usr/local/include/signal.h:358,
from .././libiberty/pex-unix.c:28:
/usr/local/include/bits/sigthread.h:36: error:
storage class specified for parameter 'type name'
.././libiberty/pex-unix.c: In function 'pex_wait':
.././libiberty/pex-unix.c:100: warning:
implicit declaration of function 'waitpid'
.././libiberty/pex-unix.c:103: warning:
implicit declaration of function 'wait4'
make[2]: *** [pex-unix.o] Error 1
make[2]: Leaving directory `/misc/src/glibc/binutils-2.17/libiberty'
make[1]: *** [all-libiberty] Error 2
make[1]: Leaving directory `/misc/src/glibc/binutils-2.17'
make: *** [all] Error 2


With the key part seems to be:

/usr/local/include/bits/sigthread.h:36: error:
storage class specified for parameter 'type name'


Spent some quality time with google but kept running into dead ends on
what appeared to be positive matches.

Thank you.

--
Stan


.



Relevant Pages

  • Problem compiling binutils
    ... (Original thread: ) ... When I try to compile binutils-2.17, ... implicit declaration of function 'waitpid' ... Spent some quality time with google but kept running into dead ends on ...
    (alt.os.linux.redhat)
  • Problem compiling binutils
    ... (Original thread: ) ... When I try to compile binutils-2.17, ... implicit declaration of function 'waitpid' ... Spent some quality time with google but kept running into dead ends on ...
    (comp.unix.admin)
  • Problem compiling binutils
    ... (Orginial thread: ) ... When I try to compile binutils-2.17, ... implicit declaration of function 'waitpid' ... Spent some quality time with google but kept running into dead ends on ...
    (comp.os.linux.misc)
  • Re: Im a C++ programmer, and Relfs X.CPP is good.
    ... >> and it doesn't compile either. ... home.cpp:93: implicit declaration of function `int fclose' ... You cannot change to your home directory through an external ...
    (comp.lang.lisp)
  • Re: Im a C++ programmer, and Relfs X.CPP is good.
    ... >> and it doesn't compile either. ... home.cpp:93: implicit declaration of function `int fclose' ... You cannot change to your home directory through an external ...
    (comp.unix.programmer)