This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SVN linker errors


"Rob Quill" <rob.quill@gmail.com> writes:

> I am currently trying to build the current SVN copy of GCC and have
> run into the following problems. Essentially, there is a large list of
> linker errors which ends as follows:
> 
> .libs/in_unpack_generic.o: In function `getchar':
> /usr/include/bits/stdio.h:43: multiple definition of `getchar'
> .libs/backtrace.o:/usr/include/bits/stdio.h:43: first defined here
> .libs/in_unpack_generic.o: In function `vprintf':
> /usr/include/bits/stdio.h:36: multiple definition of `vprintf'
> .libs/backtrace.o:/usr/include/bits/stdio.h:36: first defined here

This may have something to do with the change in extern inline
behaviour.  There is a fixincludes patch which should have cleaned up
the header files.  Search for glibc_c99_inline in
fixincludes/inclhack.def.

> The command I used was:
> 
>  ./configure --disable-multilib && make

Don't run ./configure.  Always run configure in an empty
directory--i.e., SRCDIR/configure.  This is documented in the
installation instructions.  You should first see if that fixes your
problem.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]