Cannot build 4.5.1: problem with stubs.h

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

 



I'm trying to compile gcc 4.5.1 on Trisquel 4 on an amd64 machine. I
don't know what I'm doing wrong. I get the same results with 'make
profiledbootstrap', 'make -j3', and just 'make'. Here's the error:

/home/luther/src/gcc-build/./gcc/xgcc
-B/home/luther/src/gcc-build/./gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/
-isystem /usr/local/x86_64-unknown-linux-gnu/include
-isystem /usr/local/x86_64-unknown-linux-gnu/sys-include    -g -O2 -m32
-O2  -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED   -I. -I. -I../../.././gcc
-I../../../../gcc-4.5.1/libgcc -I../../../../gcc-4.5.1/libgcc/.
-I../../../../gcc-4.5.1/libgcc/../gcc
-I../../../../gcc-4.5.1/libgcc/../include
-I../../../../gcc-4.5.1/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT
-DHAVE_CC_TLS  -DUSE_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF
_muldi3.dep -DL_muldi3 -c ../../../../gcc-4.5.1/libgcc/../gcc/libgcc2.c
\
	  -fvisibility=hidden -DHIDE_EXPORTS
In file included from /usr/include/features.h:378:0,
                 from /usr/include/stdio.h:28,
                 from ../../../../gcc-4.5.1/libgcc/../gcc/tsystem.h:87,
                 from ../../../../gcc-4.5.1/libgcc/../gcc/libgcc2.c:29:
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file
or directory
compilation terminated.

I looked at stubs.h, but I can't figure out why __WORDSIZE would equal
32. Any help would be greatly appreciated. Let me know what other info
you need.

Luther

-- 
Please do not send me Microsoft Office/Apple iWork documents. Send
OpenDocument instead! http://fsf.org/campaigns/opendocument/



[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