Kernel panic -not syncing

2005-08-18 Thread DNS, Prasad(GE Consumer Finance, Consultant)
Hi All,

   While doing customized installation, after the completion of installation, 
we are getting on error Kernel panic - not syncing...
   what may be the reason for this..
help me out in this regard.

Prasad.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, August 18, 2005 11:31 AM
To: lfs-support@linuxfromscratch.org
Subject: lfs-support Digest, Vol 728, Issue 1


Send lfs-support mailing list submissions to
lfs-support@linuxfromscratch.org

To subscribe or unsubscribe via the World Wide Web, visit
http://linuxfromscratch.org/mailman/listinfo/lfs-support
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than Re: Contents of lfs-support digest...


Today's Topics:

   1. Missing gmp.h for Binutils in Chapter 6 (Michael Kipper)
   2. Re: Missing gmp.h for Binutils in Chapter 6 (Ken Moffat)
   3. LFS-6.1: tst-clock2 problem while make check but not
  problem when  running manually ( [EMAIL PROTECTED] )
   4. Re: Problem with hotplug.functions (Joseph M Dupre (AVAB Inc.))
   5. kernel config (Joseph M Dupre (AVAB Inc.))
   6. Re: kernel config (Ken Moffat)
   7. ??-??? (Dowdy V. Flustering)
   8. Chapter 5.22 ncurses won't compile (Kevin Connor)
   9. sysklogd question (David Fix)
  10. Re: Chapter 5.22 ncurses won't compile (Ken Moffat)
  11. Re: sysklogd question (steve crosby)
  12. RE: sysklogd question (David Fix)


--

Message: 1
Date: Wed, 17 Aug 2005 09:11:20 -0400 (EDT)
From: Michael Kipper [EMAIL PROTECTED]
Subject: Missing gmp.h for Binutils in Chapter 6
To: LFS Support lfs-support@linuxfromscratch.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1

Hello,

I'm building LFS for my athlon64 natively, from FC4.
I first built a standalone gcc-3.4.4/glibc-2.3.5 toolchain to build with,
and then proceeded as normal, using --disable-multilib and
--build/host=x86_64-pc-linux-gnu where appropriate to get rid of the
x86_64-unknown-linux-gnu annoyance.

After glibc in chapter 6, on attempting to build binutils, after
configuring like so:
../binutils-2.16.1/configure \
--host=x86_64-pc-linux-gnu \
--prefix=/usr \
--libdir=/usr/lib64 \
--libexecdir=/usr/lib64/binutils \
--enable-shared \
--disable-nls \
--disable-multilib

I make:
make -C /usr/build/binutils-build  tooldir=/usr

And I get:
make[3]: Entering directory `/usr/build/binutils-build'
Configuring in libiberty
configure: loading cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... makeinfo
checking for perl... perl
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-ar... ar
checking for x86_64-pc-linux-gnu-ranlib... ranlib
checking for x86_64-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C
compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

So I check config.log, to see:
snip
configure:2260: checking for correct version of gmp.h
configure:2273: gcc -c -g -O2   conftest.c 15
configure:2263:17: gmp.h: No such file or directory
snip

So I check for it:
[EMAIL PROTECTED] makelfs]# find /mnt/lfs | grep gmp.h
/mnt/lfs/usr/tools/include/linux/igmp.h
/mnt/lfs/usr/tools/include/netinet/igmp.h
/mnt/lfs/usr/include/linux/igmp.h
/mnt/lfs/usr/include/netinet/igmp.h

And check to see where it should have come from:
[EMAIL PROTECTED] makelfs]# for archive in `find sources -name *.tar.bz2`; \
 do tar jtf $archive | grep gmp.h; \
 done
linux-libc-headers-2.6.11.2/include/linux/igmp.h
linux-2.6.11.2/include/linux/igmp.h
glibc-2.3.5/include/gmp.h
glibc-2.3.5/inet/netinet/igmp.h
glibc-2.3.5/stdlib/gmp.h

Lastly, making sure I didn't miss anything, I check the build log:
[EMAIL PROTECTED] makelfs]# grep gmp.h /mnt/lfs/install.log
checking for correct version of gmp.h... yes
/usr/bin/install -c -m 644 netinet/igmp.h /tools/include/netinet/igmp.h
checking for correct version of gmp.h... no
/tools/bin/install -c -m 644 netinet/igmp.h /usr/include/netinet/igmp.h
checking for correct version of gmp.h... no

The only time anything called *gmp.h was installed was in the two
iterations of glibc, where no installation of gmp.h was attempted, only
igmp.h

Why wasn't this installed?
For reference, glibc was configured as follows:
echo libc_cv_forced_unwind=yes  config.cache  \
echo libc_cv_c_cleanup=yes  config.cache  \
echo slibdir=/usr/lib64  configparms  \
../glibc-2.3.5/configure \
--config-cache \
--build=x86_64-pc-linux-gnu \
   

Re: Kernel panic -not syncing

2005-08-18 Thread Andrew Benton

DNS, Prasad(GE Consumer Finance, Consultant) wrote:

Hi All,

   While doing customized installation, after the completion of installation, 
we are getting on error Kernel panic - not syncing...
   what may be the reason for this..
help me out in this regard.


Perhaps you didn't enable support for an important feature when you compiled 
your kernel? Did you enable support for the filesystem that you are asking the 
kernel to mount? Does the kernel work properly if you use it to boot your host 
system?
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Problem on installing Xorg

2005-08-18 Thread Stephen Liu
Hi folks,

FC3 Host
BLFS 6.1

X11R6.8.2-src.tar.bz2
MD5 sum: 8131cd7ea1e4566e6e05c438a93fcfe1
# md5sum /mnt/lfs/sources/X11R6.8.2-src.tar.bz2
8131cd7ea1e4566e6e05c438a93fcfe1 
/mnt/lfs/sources/X11R6.8.2-src.tar.bz2
8131cd7ea1e4566e6e05c438a93fcfe1

MD5sum found matched.

On chroot environment installed dependencies first
Libpng-1.2.8
Fontconfig-2.3.2
FreeType-2.1.10
Expat-1.95.8

All went throught without problem

Fontconfig Dependencies
installing FreeType-2.1.10 and expat-1.95.8 also went
through without problem

Optional - Linux-PAM-0.80 Not installed
Expat Dependencies Optional Check  not installed.

Steps performed :-

root:/sources$ tar jxf X11R6.8.2-src.tar.bz2
root:/sources$ cd xc
root:/sources/xc$ sed -i '/^SUBDIRS =/s/ etc$//'
programs/Xserver/Xprint/Imakefile
root:/sources/xc$ pushd config/util 
 make -f Makefile.ini lndir
/sources/xc/config/util /sources/xc
ln -s ../../include X11
cc -o lndir  -O -I. lndir.c
make: cc: Command not found
root:/sources/xc/config/util$ cp -v lndir /usr/bin/
cp: cannot stat `lndir': No such file or directory
root:/sources/xc/config/util$

Please advise how to fix the problem.  TIA

B.R.
SL
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Gcc build failing in chapter 6.11

2005-08-18 Thread Martin Olsen
Hi.

Im using Version SVN-20050816 of the Linux From scratch. I'm using
LiveCD for LFS 6.1.

When i try to configure glibc i get this error:

   configure: error: cannot compute suffix of object files: cannot compile
   See `config.log' for more details.

Here is the command i use:

# ../glibc-2.3.5/configure --prefix=/usr --disable-profile \
  --enable-add-ons --enable-kernel=2.6.0 \
  --libexecdir=/usr/lib/glibc

I've included the configure output and config.log

...martin


configure.output
Description: Binary data


config.log
Description: Binary data
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: cross-compiling x86 64 i586 Howto?

2005-08-18 Thread Ken Moffat
On Thu, 18 Aug 2005, Jean Razack wrote:

 Hi,

 my host system is a x86_64 and I want to compile LFS 6.1 with Suse 9.3
 Professional.

 I have installed the required software (32-bit + 64-bit) over yast.

 Now I don’t know what for modification and/or prarameter I musst use, to get
 the 32 bit applications?

 thx



 Hi Jean,

 I'm not sure if I understand your question correctly, but I think you
are asking how to build a system with 32-bit libraries in lib and 64-bit
in lib64 ?  I'll point you to the multilib part of cross-lfs at

http://www.linuxfromscratch.org/lfs/view/cross-lfs/

 and also to Ryan's scripts at

http://www.linuxfromscratch.org/~ryan/scripts/cross-lfs/

 Basically, if you are doing a multilib build you have to build
the libraries twice (32-bit first, then 64-bit) using some of the
host/build/target modifiers.  You may also need e.g. the multilib
genscripts patch for binutils.

 Disclaimer - I haven't used a multilib host, I'm currently on pure64
(64-bit only, in lib) cross-compiled from i686.

Ken
-- 
 das eine Mal als Tragödie, das andere Mal als Farce

--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Gcc build failing in chapter 6.11

2005-08-18 Thread Ken Moffat
On Thu, 18 Aug 2005, Martin Olsen wrote:


 When i try to configure glibc i get this error:

configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

 Here is the command i use:

 # ../glibc-2.3.5/configure --prefix=/usr --disable-profile \
   --enable-add-ons --enable-kernel=2.6.0 \
   --libexecdir=/usr/lib/glibc

 I've included the configure output and config.log

 ...martin


Martin, your /tools/bin/gcc is broken.  This the first compile in
chroot, it's where packages that got linked against the host system
start to give problems.

From your config.log

|configure:2361: checking for gcc
|configure:2377: found /tools/bin/gcc
|configure:2387: result: gcc

|configure:2651: checking for suffix of object files
|configure:2672: gcc -c   conftest.c 5
|../glibc-2.3.5/configure: line 2673: /tools/bin/gcc: No such file or directory
|configure:2675: $? = 127

 I was going to point you to
http://www.linuxfromscratch.org/lfs/faq.html#any-no-such-file

 but I'm not sure it is specific enough - /tools/bin/gcc is using
something from the host.  First, confirm that
  readelf -l /tools/bin/gcc | grep interpreter
shows /tools/lib/ld-linux.so.2

Then, on the host run
  ldd /tools/bin/gcc
to see what it is linked against.

 I'm slightly surprised that you got into chroot - usually,
/tools/bin/env trips people up if they have things linked against the
host.

Ken
-- 
 das eine Mal als Tragödie, das andere Mal als Farce

--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Gcc build failing in chapter 6.11

2005-08-18 Thread Martin Olsen
2005/8/18, Ken Moffat [EMAIL PROTECTED]:
  but I'm not sure it is specific enough - /tools/bin/gcc is using
 something from the host.  First, confirm that
   readelf -l /tools/bin/gcc | grep interpreter
 shows /tools/lib/ld-linux.so.2

No it's linked against /lib/ld-config.so.2 ... Guess i'll have to do
it all over again!

Thanks for the answer.

...martin
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Rotating log files

2005-08-18 Thread David Fix
Hey folks, any quick hints on how to rotate my logfiles? :) I can't remember
how it was done in the past. :(

Dave

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


RE: Rotating log files

2005-08-18 Thread David Fix
 Hey folks, any quick hints on how to rotate my logfiles? :) I 
 can't remember
 how it was done in the past. :(

You know what?  I just remembered.  :P  Logrotate.  :)  I'll look around and
find something for it.  :)

Dave

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Rotating log files

2005-08-18 Thread Jason Gurtz
On 8/18/2005 08:52, David Fix wrote:
 Hey folks, any quick hints on how to rotate my logfiles? :) I can't remember
 how it was done in the past. :(

There's logrotate and also, I've used lumberjack which worked ok.

~Jason

-- 
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


RE: Rotating log files

2005-08-18 Thread David Fix
 Yea, pretty funny, eh?  :)
 
 ~Jason

Definitely.  :)  Man pages usually have something like that in there.  :)
Anyhow, I couldn't find lumberjack for download, so I opted for a simple
logrotate available at http://iain.cx/src/logrotate/.  That worked for me.
:)

Dave

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


spec file modification problem, cross-compiling

2005-08-18 Thread Jean Razack
Hi,

I try a cross-compiling (x86_64  i386).

My first question is, is it correct that “gcc –print-file specs” print
“/usr/lib64/…” ?
Then the other is that in “$LFS/tools/lib/” isn’t a “ld-linux-so.2” file.
But the file is in “/lib/”.

My dynamic Linker is “/lib64/ld-linux-x86-64.so.2”.

What I can do ?!?

thx

-- 
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: spec file modification problem, cross-compiling

2005-08-18 Thread Ken Moffat
On Thu, 18 Aug 2005, Jean Razack wrote:

 Hi,

 I try a cross-compiling (x86_64  i386).


 OK, if you want to build a wholly 32-bit LFS from a 64-bit Suse you can
*try* using the 32-bit options from Ryan's cross-lfs scripts that I
referred to in my previous reply.  That is, give it the host/target/build
options, but only build 32-bit wherever Ryan builds 32 and 64 stuff.
Clearly, at some point just passing -m32 to a multilib gcc will work,
but I've no experience of what you are trying to achieve.

  If what you want is a fast 32-bit-only machine running LFS-6.1, why
not build from a 32-bit host system (with a 32-bit kernel) and save
yourself a lot of aggravation ?


 My first question is, is it correct that “gcc –print-file specs” print
 “/usr/lib64/…” ?

 Sounds correct for the Suse multilib gcc (your host).

 Then the other is that in “$LFS/tools/lib/” isn’t a “ld-linux-so.2” file.
 But the file is in “/lib/”.


 The straight x86 book is not wholly appropriate to building x86 from a
multilib x86_64.  In theory, you don't need to build cross- tools
because your host's gcc can build them correctly with -m32.  But, you
need to be clear what you are trying to achieve.

 Is /lib/ld-linux.so.2 the file installed by Suse for 32-bit
applications ?

 Did you install ld-linux-x86-64.so.2 into either /tools/lib or
/tools/lib64 ?

Ken
-- 
 das eine Mal als Tragödie, das andere Mal als Farce

--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Gcc build failing in chapter 6.11

2005-08-18 Thread Martin Olsen
2005/8/18, Doug Ronne [EMAIL PROTECTED]:
 On 8/18/05, Martin Olsen [EMAIL PROTECTED] wrote:
  Hi.
 
  Im using Version SVN-20050816 of the Linux From scratch. I'm using
  LiveCD for LFS 6.1.
 
  When i try to configure glibc i get this error:
 
 configure: error: cannot compute suffix of object files: cannot compile
 See `config.log' for more details.
 
 Hey!  I got that same error last night.  Do you have optimization on?
 
 -Doug
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page
 

Stright from the book. I must have missed something somewhere, i just
through the pages quikcly and copy pasted the green fields... Did it
all from scratch and it works like a charm now! ... _for_ now!


...olsen

PS. Congrats on the LXF stuff!
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Chapter 5.22 ncurses won't compile

2005-08-18 Thread Kevin Connor
On Wed, 17 Aug 2005 22:07:28, Ken Moffat wrote:
  Somehow, your PATH hs got screwed up - /tools/bin/g++ is the version of
 g++ that should have been used.  I think you've come back to this and
 missed something when you set up your environment ?

  If you aren't sure exactly where you restarted, or if you don't agree
 that is why your PATH got changed, run ldd on example binaries to make
 sure they are linking against /tools/lib/whatever.


I think that my Kubuntu 5.04 host system was messing me up somehow. I started 
over using an LFS live disk as a host system and didn't mount the partitions 
that contain the Kubuntu system. I completed Chapter 5 without any problem. 
Once I had $LFS/tools set up I was able to return the the more comfortable 
and familiar Kubuntu system and complete Chapter 6. Tomorrow I hope to have a 
bootable LFS system.

Thanks for the help
-Kevin Connor

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Problem on installing Xorg

2005-08-18 Thread Stephen Liu
Hi Uli,

Tks for your advice.

 just do
 
   ln -s gcc /usr/bin/cc

In chroot environment
root:/$ ln -s gcc /usr/bin/cc  (no printout)
root:/$ ls -l /usr/bin/cc
lrwxrwxrwx  1 root root 3 2005-08-19 06:16 /usr/bin/cc
- gcc


Xorg-6.8.2
http://www.linuxfromscratch.org/blfs/view/stable/x/installing.html#xorg


went through without problem except the last step as
follow;

...

root:/sources/xc/config/util$ cp -v lndir /usr/bin/
`lndir' - `/usr/bin/lndir'
root:/sources/xc/config/util$ mkdir ../xcbuild 
 cd ../xcbuild 
 lndir ../xc
../xc: No such file or directory
root:/sources/xc/config/xcbuild$  

root:/sources/xc/config/xcbuild$ ls
BUILD  config  doc  LABEL  lib  nls  programs  README 
README.crypto  registry  xf86Date.h

../xc may not find it.  I think full path
/sources/xc may find it.  Please advise how to fix
this last step.

 Also, building X while in chroot is normally not
 recommended, you should 
 be booted into your new shiny LFS system for doing
 that.

I'm trying to build all essential packages such as
xorg, firefox, lynx, PPP-2.4.3, WvDial-1.54.0,
RP-PPPoE-3.5, GTK+-1.2.10, GTK+-2.6.7 first before
booting to LFS 6.1.  So I don't need to print the
whole BLFS 6.1 book and download all packages in
advance or burn them on CDs.

B.R.
SL
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: (no subject)

2005-08-18 Thread Richard Hamilton

Pubudu wrote:



Hi .

   This problem occurred when i was building LFS

when i entered the command in my chrooted environment

  expect -c spawn ls

it displayed the message

The system has no more ptys.
Ask your system administrator to create more

Then i tried the same command in my host system (fedora core 3) .It
executed correctly.

Can anyone help me to create ptys in my chrooted environment.

-
This mail sent is sent from ENTC WebMail system using IMP: http://horde.org/imp/
 


Did you see this? http://www.linuxfromscratch.org/lfs/faq.html#no-ptys

At one point I remember getting this message even after reviewing this 
FAQ. I was building the system in X. I didn't have the problem if I 
didn't run X. I guess X must have used the ptys in my instance.

--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


No rule to make target `install'

2005-08-18 Thread Stephen Liu
Hi folks,

Installing GLib-1.2.10 problem
http://www.linuxfromscratch.org/blfs/view/stable/general/glib.html

root:/sources/glib-1.2.10$ patch -Np1 -i
../glib-1.2.10-gcc34-1.patch 
 ./configure --prefix=/usr 
 make   
root:/sources/glib-1.2.10$ make install 
 chmod -v 755 /usr/lib/libgmodule-1.2.so.0.0.10
make: *** No rule to make target `install'.  Stop.

root:/sources/glib-1.2.10$ make check
make: *** No rule to make target `check'.  Stop.
root:/sources/glib-1.2.10$ make install 
 chmod -v 755 /usr/lib/libgmodule-1.2.so.0.0.10
make: *** No rule to make target `install'.  Stop.

Please advise how to fix it.  TIA

B.R.
SL
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: hi, every one , i have a problem when i compile gcc in chapter 6

2005-08-18 Thread guo tie
i have solved this problem.

rm -rf gcc-build ;
rm -fr gcc-3.4.4;

then i compile the gcc again, it successed.

thanks all

2005/8/16, Doug Ronne [EMAIL PROTECTED]:
 On 8/15/05, guo tie [EMAIL PROTECTED] wrote:
  ../../gcc-3.4.4/gcc/tsystem.h:79:19: stdio.h: No such file or directory
  ../../gcc-3.4.4/gcc/tsystem.h:82:23: sys/types.h: No such file or directory
  ../../gcc-3.4.4/gcc/tsystem.h:85:19: errno.h: No such file or directory
  ../../gcc-3.4.4/gcc/tsystem.h:92:20: string.h: No such file or directory
  ../../gcc-3.4.4/gcc/tsystem.h:93:20: stdlib.h: No such file or directory
  ../../gcc-3.4.4/gcc/tsystem.h:94:20: unistd.h: No such file or directory
 ...
 
 well those are all installed by glibc, so either something went wrong
 with the glibc installation in chapter 6, or the compiler can't find
 it.  Are the files there?  If not, the glibc installation failed.  If
 they are there, then I'd check all the toolchain adjustments.
 
 -Doug
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page

--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Problem on installing Xorg - solved

2005-08-18 Thread Stephen Liu
Hi Chris,

 /usr/bin you're supposed to run another command
 before mkdir ../xcbuild.

Oh sorry, I missed popd.  Problem now solved.

root:/sources/xc$ mkdir ../xcbuild 
 cd ../xcbuild 
 lndir ../xc   
..
../../xc/util/misc:
../../xc/util/memleak:
root:/sources/xcbuild$  

root:/sources/xc/config/xcbuild$ ls
BUILD  config  doc  LABEL  lib  nls  programs  README 
README.crypto  registry  xf86Date.h

Tks

B.R.
SL

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Problem with dummy.c

2005-08-18 Thread David Courtney
Hello - this is my first attempt at LFS.  (And my first post to this
mailing list.)

I'm wanting to build LFS for a very small system I'm putting together.
 I've always wanted to try LFS so I figured this would be the perfect
opportunity.  The system is an embedded computer and will only need a
very basic environment.

I've been reading the LFS Stable PDF for quite a while now, following
along with each step as carefully as I can.  Everything was going
smoothly until I got to the point of doing a test compile on dummy.c

This is what I'm getting:

/mnt/lfs/sources $ cc dummy.c
/mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld:
warning: ld-linux.so.2, needed by /tools/lib/libc.so.6, not found (try
using -rpath or -rpath-link)
/tools/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
/tools/lib/libc.so.6: undefined reference to
[EMAIL PROTECTED]'
/tools/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
/tools/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
/tools/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
/tools/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
/tools/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
/tools/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'
collect2: ld returned 1 exit status

I'm really not sure what the problem is.  I went back through the
specfile step very carefully, and tried to compile again - but I got
the same result.  I also tried gcc instead of cc, but I got the same
result.

I'm using my Desktop system to build my LFS system.  I have a 1.5GB
spare partition set aside for the LFS build.  My Desktop is running
Gentoo.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Problem with dummy.c

2005-08-18 Thread Jim Gifford

Verify that your /tools/lib/ld-linux.so.2 exists.

--
--
[EMAIL PROTECTED]
[EMAIL PROTECTED]

LFS User # 2577
Registered Linux User # 299986

--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Problem with dummy.c

2005-08-18 Thread David Courtney
 Verify that your /tools/lib/ld-linux.so.2 exists.

/mnt/lfs/sources $ ls -al /tools/lib/ld-*
-rwxr-xr-x  1 lfs lfs 352811 Aug 19 00:50 /tools/lib/ld-2.3.4.so
lrwxrwxrwx  1 lfs lfs 11 Aug 19 00:50 /tools/lib/ld-linux.so.2 -
ld-2.3.4.so
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


OT Re: X libraries or include files not found - gtk+-1.2.10

2005-08-18 Thread DJ Lucas
Randy McMurchy wrote:

 
 Please folks, trim the original stuff from the messages before you
 reply. It is a PIA to have to scroll down hundreds of lines to
 read one line of original message.
 

OT:  I know it doesn't fix the problem, but it does help a bit when you
are absolutely sick of telling people to trim their replies. :-)  Give
the extension QuoteCollapse a try.  http://quotecollapse.mozdev.org/

-- DJ Lucas

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: Problem with dummy.c

2005-08-18 Thread David Courtney
  Verify that your /tools/lib/ld-linux.so.2 exists.
 
 /mnt/lfs/sources $ ls -al /tools/lib/ld-*
 -rwxr-xr-x  1 lfs lfs 352811 Aug 19 00:50 /tools/lib/ld-2.3.4.so
 lrwxrwxrwx  1 lfs lfs 11 Aug 19 00:50 /tools/lib/ld-linux.so.2 -
 ld-2.3.4.so

I think I'll probably have to start over.

I was just looking at my BASH history.  I found a typo in one of my
commands.  It didn't report an error so I didn't notice it.

After compiling binutils, I accidentally typed make -C ld
LIB_PATH=/toosl/lib   (toosl instead of tools)

I went on to compile/install gcc, install the Linux headers,
patch/compile/install glibc ... then, per the directions, I removed
binutils-build.  I doubt I can just unarchive binutils, recompile, and
then retype that command I screwed up.  Or maybe I can?  But I'm
thinking since everything else needed binutils, the mistake is
probably deeply embedded in gcc and glibc.  So I might as well rm
-rf everything and start over.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page