supers at oceanfree.net
Mon Mar 5 20:11:52 PST 2001
i built lfs2.4.4 successfully (using slackware 7) with sh-utils compiled without LDFLAGS=-static
because if i use LDFLAGS=-static i will got this error
../lib/libsu.a(mktime.o):/root/LFS/usr/src/sh-utils-2.0/lib/mktime.c:227: first defined here
collect2: ld returned 1 exit status
make: *** [date] Error 1
make: Leaving directory `/root/LFS/usr/src/sh-utils-2.0/src'
make: *** [all-recursive] Error 1
make: Leaving directory `/root/LFS/usr/src/sh-utils-2.0'
make: *** [all-recursive-am] Error 2
now, in LFS3.0-pre1 , i got the same error if using LDFLAGS=-static
but i can compile successful with LDFLAGS=-all-static
is it any different between -all-static and -static ?
or maybe i failed to enter chroot envi because of glibc is not installed in chapter 5 , but in chapter 6
**sorry if my english is bad**
Gerard Beekmans wrote:
> On March 5, 2001 07:14 am, Super wrote:
> > yeah, i'm sure that i ave set the variable
> > btw, is /usr/bin/env refer to the file inside the original linux or inside
> > the LFS ?
> no it refers to $LFS/usr/bin/env but $LFS becomes / when chroot $LFS so
> that's why you write /usr/bin/env
> this error can be caused by $LFS/usr/bin/env being dynamically linked rather
> than static (if so the error means it can't find the dynamic loader).
> Gerard Beekmans
> -*- If Linux doesn't have the solution, you have the wrong problem -*-
> Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
> and put unsubscribe in the subject header of the message
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message
More information about the lfs-dev