LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-27-2003, 07:50 PM   #1
Shak
Member
 
Registered: May 2002
Location: Huddersfield
Distribution: Redhat (7.2, 7.3, 8.0), Debian, Slackware, Gentoo, FreeBSD
Posts: 169

Rep: Reputation: 30
Problems with Glibc Compile


Hi,

My compile always exits with Error 2s when Im compiling glibc (I've tried both 2.3.1 and 2.3 without any success)

The failure is as shown below:


Code:
gcc ../sysdeps/unix/sysv/linux/sigsuspend.c -c -O -Wall -Winline -Wstrict-protot
ypes -Wwrite-strings -g      -I../include -I. -I/root/glibc-build/signal -I.. -I
../libio  -I/root/glibc-build -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/un
ix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/s
ysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../lin
uxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sys
deps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sy
sdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet
 -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../
sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i68
6 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wo
rdsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/
ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generi
c   -D_LIBC_REENTRANT -include ../include/libc-symbols.h      -o /root/glibc-bui
ld/signal/sigsuspend.o
/tmp/ccp0SUJ2.s: Assembler messages:
/tmp/ccp0SUJ2.s:126: Error: non-constant expression in ".if" statement
/tmp/ccp0SUJ2.s:127: Error: non-constant expression in ".if" statement
/tmp/ccp0SUJ2.s:130: Error: non-constant expression in ".if" statement
make[2]: *** [/root/glibc-build/signal/sigsuspend.o] Error 1
make[2]: Leaving directory `/root/glibc-2.3/signal'
make[1]: *** [signal/subdir_lib] Error 2
make[1]: Leaving directory `/root/glibc-2.3'
make: *** [all] Error 2
My compiler is:
Code:
I have no name!:~/glibc-build# gcc -v
Reading specs from /static/lib/gcc-lib/i686-pc-linux-gnu/3.3/specs
Configured with: ../gcc-3.3/configure --prefix=/static --disable-nls --disable-s
hared --with-as=/mnt/data/filesystems/mnt/lfs//static/bin/as --with-ld=/mnt/data
/filesystems/mnt/lfs/static/bin/ld
Thread model: posix
gcc version 3.3
I have no name!:~/glibc-build#

I think it might because Im running gcc 3.3

Shak
 
Old 07-01-2003, 11:33 PM   #2
mdh
Member
 
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122

Rep: Reputation: 16
http://archives.linuxfromscratch.org...3-sscanf.patch
 
Old 07-03-2003, 04:05 PM   #3
iraysyvalo
Member
 
Registered: Jul 2003
Distribution: Woody 3.0r1
Posts: 30

Rep: Reputation: 15
I wanted to compile glbc2.3.2 too :

1- Patched sscanf (really tough to find this one as at gnu.org nobody reported this problem, only LFScratch and gentoo talk about it). Compile time was about 17 mn on my XP2400+/512Mb DDR no overclock.

2- My pb is at the check and install stage. HELP !

Last edited by iraysyvalo; 07-07-2003 at 11:29 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
glibc compile error ponden Linux From Scratch 3 11-13-2008 05:43 PM
cannot compile glibc levicc00123 Slackware 15 04-20-2005 08:28 PM
glibc - compile errors serg2004 Linux From Scratch 1 11-18-2004 01:52 AM
Does anyone know how to re-compile glibc ? oskernel Programming 1 10-18-2003 03:29 AM
glibc compile problems... coderx Linux - Software 1 07-06-2003 07:14 AM

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

All times are GMT -5. The time now is 03:22 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