Re: SVN linker errors

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

 



"Rob Quill" <rob.quill@xxxxxxxxx> 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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux