Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 08-21-2005, 09:07 PM   #1
LQ Newbie
Registered: Oct 2003
Distribution: Debian Testing (Sarge)
Posts: 9

Rep: Reputation: 0
Can't make glibc-2.3.5

I've been wanting to do a LFS, and have been having problems with compiling glibc, no matter what I do.

I was doing LFS 6.1, and had the same problem as I am now, and now I'm doing the experimental version of LFS. This is what seems to be the error I keep getting:

../sysdeps/unix/sysv/linux/i386/setgroups.c: In function `setgroups':
../sysdeps/unix/sysv/linux/i386/setgroups.c:47: error: `__NR_setgroups32' undeclared (first use in this function)
../sysdeps/unix/sysv/linux/i386/setgroups.c:47: error: (Each undeclared identifier is reported only once
../sysdeps/unix/sysv/linux/i386/setgroups.c:47: error: for each function it appears in.)
make[2]: *** [/mnt/lfs/sources/glibc-build/grp/setgroups.o] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.3.5/grp'
make[1]: *** [grp/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.3.5'
make: *** [all] Error 2
Oh, BTW, I'm building it in a folder beside the actual source folder called glibc-build. The sources are held in a folder that is ../glibc-2.3.5 from that folder.I'm using the following configure arugments:

../glibc-2.3.5/configure --prefix=/tools \
    --disable-profile --enable-add-ons \
    --enable-kernel=2.6.0 --with-binutils=/tools/bin \
    --without-gd --with-headers=/tools/include \

I can't figure it out.... I'm using the x86_64 version of the linux-libc-headers-2.6.12 package. I run an Athlon 64 3200+, 512mb RAM. I've tried using the i386 headers.

I'm using the livecd of PCLinuxOS to do it, although I have tried it with the LFS livecd. Please help.. I'd really like to do this for some experience and satisfaction.

Last edited by thedeath2k4; 08-22-2005 at 02:38 AM.
Old 08-21-2005, 10:42 PM   #2
Senior Member
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
that's wierd
what kernel are you running there on the debian host ?
i think they are saying minimal kernel version for the build is 2.6.2
this might be the problem because those syscall parameters used by glibc are picked up from the running kernel i think
Old 08-22-2005, 02:34 AM   #3
LQ Newbie
Registered: Oct 2003
Distribution: Debian Testing (Sarge)
Posts: 9

Original Poster
Rep: Reputation: 0
According to uname -r, I'm running
on the PCL livecd. Not to mention I was trying to do it with the LFS pre-made livecd, which I would assume, since it's made for installing LFS, it would run a compatible kernel. It's odd that I'm getting the same error under 2 different hosts, and 2 different versions of glibc. I'm completely stumped by this one...
Old 08-22-2005, 07:02 AM   #4
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
Moved to the LFS forum.
Old 08-22-2005, 05:27 PM   #5
LQ Newbie
Registered: Oct 2003
Distribution: Debian Testing (Sarge)
Posts: 9

Original Poster
Rep: Reputation: 0
Ok, sorry, didn't relize that there was a LFS forum. No one has ever had this problem before?? No one knows how to fix it??? Please, anyone who can help, please throw a word in.. I'm really getting frustrated by this thing.

Last edited by thedeath2k4; 08-22-2005 at 07:06 PM.
Old 08-23-2005, 09:37 AM   #6
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,893

Rep: Reputation: 1357Reputation: 1357Reputation: 1357Reputation: 1357Reputation: 1357Reputation: 1357Reputation: 1357Reputation: 1357Reputation: 1357Reputation: 1357
Patience, padewan!

After doing a make clean, and before you try to configure and compile again, locate the source-file in question and check its #ifdefs.


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
Error:6.11 Glibc-2.3.4---make check ukyo Linux From Scratch 3 08-26-2005 05:33 PM
Glibc make error Edgington Linux From Scratch 7 12-23-2004 04:25 AM
Make glibc to m88k Drunkalot Linux From Scratch 0 08-22-2004 03:34 PM
$make check / glibc impulze Linux From Scratch 1 04-29-2004 04:35 PM
Glibc make error jarin scott Linux - Software 3 08-16-2003 10:36 AM

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

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