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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-10-2004, 06:56 PM
|
#1
|
LQ Newbie
Registered: Oct 2004
Location: Oregon
Distribution: Slackware ATM
Posts: 10
Rep:
|
glibc-2.3.3-lfs-5.1 error
Hi, first off I'm sorry if this is a stupid question but I couldn't find an answer anywhere else. ok, while running "make AUTOCONF=no" I encountered errors. When searching google and such I found someone that said running "make AUTOCONF=no install" had worked when the first hadn't. Either way I ended up with this error.
Quote:
gcc -B/tools/bin/ dl-runtime.c -c -std=gnu99 -O2 -Wall -Winline
-Wstrict-prototypes -Wwrite-strings -g -mpreferred-stack-boundary=2
-fexceptions -fasynchronous-unwind-tables -I../include -I.
-I/mnt/lfs/sources/glibc-2.3.3-lfs-5.1/glibc-build/elf -I.. -I../libio
-I/mnt/lfs/sources/glibc-2.3.3-lfs-5.1/glibc-build -I../sysdeps/i386/elf
-I../linuxthreads/sysdeps/unix/sysv/linux/i386
-I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread
-I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686
-I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386
-I../sysdeps/unix/sysv/linux -I../sysdeps/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/i686
-I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386
-I../sysdeps/wordsize-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/generic -nostdinc -isystem
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/include -isystem /tools/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h -o
/mnt/lfs/sources/glibc-2.3.3-lfs-5.1/glibc-build/elf/dl-runtime.o -MD -MP
-MF /mnt/lfs/sources/glibc-2.3.3-lfs-5.1/glibc-build/elf/dl-runtime.o.dt
dl-runtime.c:57: error: conflicting types for `fixup'
../sysdeps/i386/dl-machine.h:158: error: previous declaration of `fixup'
dl-runtime.c:137: error: conflicting types for `profile_fixup'
../sysdeps/i386/dl-machine.h:161: error: previous declaration of
`profile_fixup'
make[2]: ***
[/mnt/lfs/sources/glibc-2.3.3-lfs-5.1/glibc-build/elf/dl-runtime.o] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.3.3-lfs-5.1/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.3.3-lfs-5.1'
make: *** [install] Error 2
|
I'd be gratefull for any help. The distro I'm building out of is SUSE 9.1
|
|
|
11-12-2004, 01:39 AM
|
#2
|
Member
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122
Rep:
|
interesting...
...
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/include
...
looks like it pulled in the hosts fixed includes
Was your PATH set correctly so your newly created gcc in /tools was used as opposed to your hosts?
|
|
|
11-12-2004, 10:39 PM
|
#3
|
LQ Newbie
Registered: Oct 2004
Location: Oregon
Distribution: Slackware ATM
Posts: 10
Original Poster
Rep:
|
I thought it was. I've been very carefull about double checking stuff I type from the book. I totally bit myself in the ass mistyping commands once before.
Is there any way for me to check the PATH now?
|
|
|
11-14-2004, 06:30 PM
|
#4
|
Member
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122
Rep:
|
Easiest way to ensure your path is set correctly is to export it in the lfs users .bash_profile
(you are building as a non-root user aren't you?).
When you su - lfs you can check path simply via "echo $PATH" or to see your whole environment "env".
HTH
[R]
|
|
|
11-14-2004, 08:30 PM
|
#5
|
LQ Newbie
Registered: Oct 2004
Location: Oregon
Distribution: Slackware ATM
Posts: 10
Original Poster
Rep:
|
First off thank you for even answering my question. I'm a totall  so I don't know alot of basic stuff. I figured this might be a good way to learn.
Tomorrow when I am better rested I will go mess with it. Tonight I have almost been up 24 hours. Would probably only botch the thing up worse than I already have.
In case I didn't mention, thank you for the point in the right direction.
|
|
|
11-16-2004, 12:05 AM
|
#6
|
LQ Newbie
Registered: Oct 2004
Location: Oregon
Distribution: Slackware ATM
Posts: 10
Original Poster
Rep:
|
Update: I went back in the book and found "Setting up the environment" Turns out I'm a stupid@$$. I misstyped in the .bashrc script. I put 'PATH=/tools/bin:/bin:/usr/bin' as 'PSTH=/tools/bin:/bin:/usr/bin'
I'm assuming that affects the stuff I made before getting to the error so I'm gonna delete everything in $LFS/tools and all the extracted folders and start over at the beginning of chapter 5.
At least you saved me from starting over at "Install linux host system" 
|
|
|
11-16-2004, 01:01 AM
|
#7
|
Member
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122
Rep:
|
LOL ;-) Happens to the best of us :-)
Should go a bit smoother this time around methinks
Regards
[R]
|
|
|
12-03-2004, 04:08 PM
|
#8
|
Member
Registered: Apr 2004
Location: Ohio
Distribution: Ubuntu 6.06 LTS (Ubuntu, Edubuntu, Ubuntu Server)
Posts: 77
Rep:
|
Hey.
I have the exact same problem. I have tried building under Redhat 7.3, Fedora Core 2 and RedHat 9.0, on two different systems. I ran and it showed the correct path. (Is there an environment variable for compile libraries?). No clue why this doesn't work.
|
|
|
01-13-2005, 06:00 AM
|
#9
|
LQ Newbie
Registered: Nov 2001
Posts: 29
Rep:
|
glibc-2.3.3 error
Has anyone found out how to get by this ERROR?
lfs-museum/5.1/chapter05/glibc.html
Code:
dl-runtime.c:56: error: conflicting types for 'fixup'
../sysdeps/i386/dl-machine.h:158: error: previous declaration of 'fixup' was here
dl-runtime.c:56: error: conflicting types for 'fixup'
../sysdeps/i386/dl-machine.h:158: error: previous declaration of 'fixup' was here
dl-runtime.c:141: error: conflicting types for 'profile_fixup'
../sysdeps/i386/dl-machine.h:161: error: previous declaration of 'profile_fixup' was here
dl-runtime.c:141: error: conflicting types for 'profile_fixup'
../sysdeps/i386/dl-machine.h:161: error: previous declaration of 'profile_fixup' was here
../sysdeps/i386/dl-machine.h:158: warning: 'fixup' declared `static' but never defined
../sysdeps/i386/dl-machine.h:161: warning: 'profile_fixup' declared `static' but never defined
make[2]: *** [/mnt/lfs/build/glibc-build/elf/dl-runtime.o] Error 1
make[2]: Leaving directory `/mnt/lfs/build/glibc-build/glibc-2.3.3/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/build/glibc-build/glibc-2.3.3'
make: *** [all] Error 2
.bashrc
Code:
set +h
umask 022
LFS=/mnt/lfs
LC_ALL=POSIX
PATH=/tools/bin:/bin:/usr/bin
export LFS LC_ALL PATH
echo $PATH gives me
Code:
/tools/bin:/bin:/usr/bin
jobesd
|
|
|
All times are GMT -5. The time now is 02:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|