Error: symbol `stat64' is already defined

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

 



When building gcc 4.4 on x86 Linux with default configure flags I get:

..
libtool: compile: /home/yang/.toast/pkg/gcc/v4.4.0/1/src/gcc-4.4.0/host-i686- pc-linux-gnu/gcc/xgcc -B/home/yang/.toast/pkg/gcc/v4.4.0/1/src/gcc-4.4.0/host-i6 86-pc-linux-gnu/gcc/ -B/home/yang/.toast/armed/i686-pc-linux-gnu/bin/ -B/home/yang/.toast/armed/i686-pc-linux-gnu/lib/ -isystem /home/yang/.toast/armed/i686-pc-linux-gnu/include -isystem /home/yang/.toast/armed/i686-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../.././libgfortran -I. -iquote../.././libgfortran/io -I../.././libgfortran/../gcc -I../.././libgfortran/../gcc/config -I../../host-i686-pc-linux-gnu/gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -fcx-fortran-rules -g -O2 -MT unix.lo -MD -MP -MF .deps/unix.Tpo -c ../.././libgfortran/io/unix.c -fPIC -DPIC -o .libs/unix.o
  /usr/include/bits/mathinline.h: Assembler messages:
/usr/include/bits/mathinline.h:5825: Error: symbol `fstat64' is already defined /usr/include/bits/mathinline.h:5860: Error: symbol `lstat64' is already defined /usr/include/bits/mathinline.h:5895: Error: symbol `stat64' is already defined
  make[3]: *** [unix.lo] Error 1
..

Any hints?  Here's some more info:

$ uname -a
Linux presentday.greatamerica.corp.yahoo.com 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686 i686 i386 GNU/Linux
--
Yang Zhang
http://www.mit.edu/~y_z/

[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