LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-14-2010, 08:51 AM   #1
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Rep: Reputation: 30
gcc problem (chapter 6.4.1 of the Pure64 CLFS book)


Hello,

I try to build gcc on chapter 6.4.1

When I do this :

make AS_FOR_TARGET="${AS}" \
LD_FOR_TARGET="${LD}"

I get this message :

../../gcc-4.2.4/gcc/config/i386/i386.c -o i386.o
x86_64-unknown-linux-gnu-gcc -m64 -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.2.4/gcc -I../../gcc-4.2.4/gcc/. -I../../gcc-4.2.4/gcc/../include -I../../gcc-4.2.4/gcc/../libcpp/include -I../../gcc-4.2.4/gcc/../libdecnumber -I../libdecnumber -I. -I. -I../../gcc-4.2.4/gcc -I../../gcc-4.2.4/gcc/. -I../../gcc-4.2.4/gcc/../include -I../../gcc-4.2.4/gcc/../libcpp/include -I../../gcc-4.2.4/gcc/../libdecnumber -I../libdecnumber \
../../gcc-4.2.4/gcc/config/host-linux.c
../../gcc-4.2.4/gcc/config/host-linux.c: In function 'linux_gt_pch_use_address':
../../gcc-4.2.4/gcc/config/host-linux.c:207: error: 'SSIZE_MAX' undeclared (first use in this function)
../../gcc-4.2.4/gcc/config/host-linux.c:207: error: (Each undeclared identifier is reported only once
../../gcc-4.2.4/gcc/config/host-linux.c:207: error: for each function it appears in.)
make[2]: *** [host-linux.o] Error 1
make[2]: Leaving directory `/mnt/clfs/sources/gcc-build/gcc'

How to solve this one ?

Roelof
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS 6.3, messed up somewhere prior to chapter 6.12 (gcc), how to restart chapter 6? Funkster Linux From Scratch 2 12-24-2008 06:30 AM
GCC Error in chapter 5 ameya.malondkar Linux From Scratch 7 05-08-2008 01:19 AM
gcc problems in chapter 5 betatoy Linux From Scratch 1 01-30-2007 01:47 PM
gcc chapter 6 time_dot_h problem vmlinuz101 Linux From Scratch 3 03-23-2005 03:44 PM
Chapter 5.13 GCC and C++ RobbieB Linux From Scratch 1 02-07-2005 07:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 02:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration