LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-04-2012, 01:31 AM   #1
ankit0301
Member
 
Registered: Apr 2012
Posts: 34

Rep: Reputation: Disabled
problem in glibc


i'm using lfs 7.1 and while working with the glibc in chapter 5 i came up with the following error


In file included from ../sysdeps/unix/sysv/linux/syslog.c:10:0:
../misc/syslog.c: In function '__vsyslog_chk':
../misc/syslog.c:144:9: warning: variable 'prioff' set but not used [-Wunused-but-set-variable]
../misc/syslog.c:123:1: sorry, unimplemented: inlining failed in call to 'syslog': function body not available
../misc/syslog.c:155:9: sorry, unimplemented: called from here
make[2]: *** [/mnt/lfs/sources/glibc-build/misc/syslog.o] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1/misc'
make[1]: *** [misc/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.14.1'
make: *** [all] Error 2
lfs@ankit-Inspiron-1012:/mnt/lfs/sources/glibc-build$

please provide help regarding this
 
Old 04-04-2012, 01:41 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Have a look at this thread: error compiling glibc under Mint 12 (especially post #10 and onward).

In short: Ububtu isn't suitable as host due to the use of eglibc (check the output of version-check.sh).

I would advise to use a different host (Debian and Slackware are good candidates).

Hope this helps.
 
1 members found this post helpful.
Old 04-04-2012, 01:55 AM   #3
ankit0301
Member
 
Registered: Apr 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
thanks for your help can i work with debian live cd to build the lfs system or do i have to get it installed on my system
 
Old 04-04-2012, 02:04 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by ankit0301 View Post
thanks for your help can i work with debian live cd to build the lfs system or do i have to get it installed on my system
I've never used the Debian liveCD. But as long as you make sure the (minor) changes that are needed to make Debian compliant as host are done I don't see why not. It does have a possible downside: You need to implement these changes every time you stop and start (also true for a few parts of LFS).

If at all possible I would suggest not using a liveCD, makes life a lot easier (especially if this is your first LFS build).

Hope this helps.
 
1 members found this post helpful.
Old 04-04-2012, 02:08 AM   #5
ankit0301
Member
 
Registered: Apr 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
thank you this is my first lfs build i will try to get debian installed on my system and hence work in lfs build. i have a question can i triple boot my system i'm having windows xp and ubuntu 11.10 bt can i have debian also as the third operating system. Thank you
 
Old 04-04-2012, 02:19 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by ankit0301 View Post
i have a question can i triple boot my system i'm having windows xp and ubuntu 11.10 bt can i have debian also as the third operating system.
Yes, you can boot multiple OS's (assuming you have enough HD space).

There is one thing you need to be aware of: Only one of your OS's takes care of the multi-booting!! I assume that in your case this is done by Ubuntu using grub. If you install a third OS, make sure the bootloader of that new OS isn't installed/activated!! After installing, say, Debian you need to boot into Ubuntu and run sudo grub-update. If all went well you now have an extra entry (Debian) when (re)booting.

Quote:
Thank you
You're welcome
 
Old 04-04-2012, 03:01 AM   #7
ankit0301
Member
 
Registered: Apr 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
If you install a third OS, make sure the bootloader of that new OS isn't installed/activated!!
how do i make sure that the bootloader isn't installed or activated as sometimes back i was trying to triple boot may system with fedora being the third OS but it caused up an error and none of the OS was loaded.
Thank You
 
Old 04-04-2012, 03:41 AM   #8
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by ankit0301 View Post
how do i make sure that the bootloader isn't installed or activated as sometimes back i was trying to triple boot may system with fedora being the third OS but it caused up an error and none of the OS was loaded.
Most, if not all, Linux distro's ask you about this during the installation process. Debian does for sure. Carefully check all that mentions Grub, MBR or bootloader during the installation and make sure these options are unchecked (they are on by default).

After the installation is finished, the newly installed flavor will not yet be visible/accessible when booting. You need to boot into Ubuntu first, run the command given in my previous post (sudo grub-update), this will pick up the new bootable OS and create an entry for it. Now a third entry is present when you (re)boot.

Hope this helps.
 
1 members found this post helpful.
Old 04-04-2012, 06:11 AM   #9
ankit0301
Member
 
Registered: Apr 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
thank you for your help
 
  


Reply

Tags
glibc, lfs, ubuntu


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
Upcoming pain with glibc-2.14 and Linux-PAM: RPC build supt. is removed from glibc! JoelPB Linux From Scratch 6 12-13-2011 06:31 AM
problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 03:22 PM
glibc-compiling loves to make errors? ok, let me post mine here: glibc 2.9 me-$-on Linux From Scratch 7 04-11-2009 06:22 PM
Replacing glibc using linuxthreads for glibc using nptl (native positx thread library CestusGW Linux From Scratch 4 01-20-2005 07:26 AM
ncsd, glibc, and glibc-common conflicts during LAMP install beaker911 Linux - Software 0 12-30-2004 02:31 PM

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

All times are GMT -5. The time now is 02:32 PM.

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