Re: No disk devices from udev 166
On Thu, 2011-11-03 at 15:37 +, Ken Moffat wrote: On Wed, Nov 02, 2011 at 02:09:20AM +, Ken Moffat wrote: Thanks, that is working, both for 3.0.4 and for 2.6.32.43. Interestingly, udev claims to start on both kernels. I'll see if I agree after I've tried to use an external usb drive for backups! Surprisingly, on 2.6.32.43 udev *is* working enough to create nodes when I plug in an external disk, and remove them when I unplug it. I vaguely recall some discussions some time ago - early this year, maybe - where it looked like udev settle wasn't working correctly in some cases. Problems like /home and other such partitions not getting mounted correctly because the devices didn't exist when the bootscripts tried to mount them. Your problem could be something similar, although I think in that case, the devices had appeared in /dev by the time the user had logged in. Might be worth an experiment, though - stick a sleep 10 somewhere in the bootscripts, to see if that settles things properly... Simon. signature.asc Description: This is a digitally signed message part -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Gcc errors
On Fri, Oct 28, 2011 at 8:46 PM, spiky martynvid...@aol.com wrote: Hi I have been building lfs 7rc2, Host Ubuntu 11.04 complient. I have built up to 6.17 gcc. I restarted machine today so as to carry on the build of gcc, After completing chapters 2.4, check echo $LFS correct output, chapter 6.2.2 and finally 6.4 chroot, all commands up to 6.4 were copy/paste. I have rebooted the machine a few times and had no problems or errors with the build. The only change to the book I have made is linux3.1rc4. I dont think this will cause any problems at the moment. The error I get is with make of gcc is missing dir/files I have checked /tools/bin/msgfmt and the other dir which are missing they are there. I have rm -r gcc-build gcc-4.6.1 a couple of times and redone them again Thks in advance -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page Hi spiky, Just one question out of curiosity: ¿did you pass the gcc test in chapter 6.17.1?, ¿did '../gcc-4.6.1/contrib/test_summary' show any output?. Thats what happened to me, and i havent been able to progress since (I thought on rebuilding from scratch but had no time though). This was my original message to this list: Im on the 6.17.1. Installation of GCC chapter, I just did 'make -k check' (got an error, but as it reads do not stop at errors, I guess thats all right -see the error in the text below-). I have then run '../gcc-4.6.1/contrib/test_summary' as instructed, but it shows no output. I have search google and the mailing lists but didnt find anything related, any ideas? And just like you, I havent had any useful replies. Cheers!, Fred. UNIX is very simple, it just needs a genius to understand its simplicity. -- Dennis Ritchie, D.E.P. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Problems in LFS 7.0 chptr 5.9 Binutils 2.21.1a - Pass 2
I have work exclusively from this book and have been doing fine up to this point. I have searched the archives and not found an answer to this question. When I go to build the configure, I am using this command from the book: CC=$LFS_TGT-gcc -B/tools/lib/ \ AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib \ ../binutils-2.21.1/configure --prefix=/tools \ --disable-nls --with-lib-path=/tools/lib I am getting this error: configure: error: cannot run C compiled programs. If you mean to cross configure, use '--host'. Does any one have any insight into how I can fix this? I am working on a 64-bit system. Thank you, Danny Vukobratovich Systems Administrator Marian, Inc. www.marianinc.com -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Problems in LFS 7.0 chptr 5.9 Binutils 2.21.1a - Pass 2
Danny Vukobratovich wrote: I have work exclusively from this book and have been doing fine up to this point. I have searched the archives and not found an answer to this question. When I go to build the configure, I am using this command from the book: CC=$LFS_TGT-gcc -B/tools/lib/ \ AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib \ ../binutils-2.21.1/configure --prefix=/tools \ --disable-nls --with-lib-path=/tools/lib I am getting this error: configure: error: cannot run C compiled programs. If you mean to cross configure, use '--host'. Does any one have any insight into how I can fix this? I am working on a 64-bit system. 1. What is the output of: echo $LFS_TGT 2. What is the output of the script in Section vii? -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Problems in LFS 7.0 chptr 5.9 Binutils 2.21.1a - Pass 2
On Fri, 04 Nov 2011 13:44:19 -0400 (EDT) Danny Vukobratovich dvukobratov...@marianinc.com wrote: I am getting this error: configure: error: cannot run C compiled programs. If you mean to cross configure, use '--host'. Does any one have any insight into how I can fix this? I am working on a 64-bit system. Thank you, Your compiler is borked. Look through binutils-build/config.log. It contains a log of everything the build system did, including the detailed compiler error. You are looking for something like this (this is a sample from xpdf): [...] configure:4048: checking for DOS (with DJGPP) configure:4064: gcc -std=gnu99 -c -g -O2 conftest.c 5 conftest.c: In function 'main': conftest.c:14: error: '__DJGPP__' undeclared (first use in this function) conftest.c:14: error: (Each undeclared identifier is reported only once conftest.c:14: error: for each function it appears in.) configure:4064: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME | #define PACKAGE_TARNAME | #define PACKAGE_VERSION | #define PACKAGE_STRING | #define PACKAGE_BUGREPORT | #define PACKAGE_URL | #define SYSTEM_XPDFRC /usr/local/etc/xpdfrc | /* end confdefs.h. */ | | int | main () | { | __DJGPP__ | ; | return 0; | } configure:4071: result: no [...] -- Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Problems in LFS 7.0 chptr 5.9 Binutils 2.21.1a - Pass 2
On Fri, Nov 04, 2011 at 01:44:19PM -0400, Danny Vukobratovich wrote: I have work exclusively from this book and have been doing fine up to this point. I have searched the archives and not found an answer to this question. When I go to build the configure, I am using this command from the book: CC=$LFS_TGT-gcc -B/tools/lib/ \ AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib \ ../binutils-2.21.1/configure --prefix=/tools \ --disable-nls --with-lib-path=/tools/lib I am getting this error: configure: error: cannot run C compiled programs. If you mean to cross configure, use '--host'. Does any one have any insight into how I can fix this? I am working on a 64-bit system. Thank you, pedantic mode: on No, but I have insight into how you can get a more useful error message ;-) pedantic mode: off In binutils (and other large packages such as gcc, perhaps glibc) there are configure scripts in several subdirectories. Each one, when it is run, produces a file 'config.log' I think these are probably in the build tree (binutils-build), not the source tree. So, find the newest config.log and then look at it. Search for the error message 'cannot run C compiled programs'. Somewhere a little above that you should be able to see a program fragment, which configure has then attempted to compile. There will be an error message from gcc or ld. When you find that error text, google for it (much quicker than waiting for list replies!) - hopefully you may find a similar error in the archives of lfs-support. If not, please post the error message here. ĸen -- 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: Problems in LFS 7.0 chptr 5.9 Binutils 2.21.1a - Pass 2
Ok, sorry to bother everyone. I had to scratch my build. I founds that I was using the wrong source for patches. I was using http://www.linuxfromscratch.org/patches/lfs/development instead of http://www.linuxfromscratch.org/patches/lfs/7.0 I start this build again from the beginning. If I have further problems, I'll be back =D Danny Vukobratovich System Administrator - Original Message - From: Ken Moffat k...@linuxfromscratch.org To: LFS Support List lfs-support@linuxfromscratch.org Sent: Friday, November 4, 2011 2:36:50 PM Subject: Re: Problems in LFS 7.0 chptr 5.9 Binutils 2.21.1a - Pass 2 On Fri, Nov 04, 2011 at 01:44:19PM -0400, Danny Vukobratovich wrote: I have work exclusively from this book and have been doing fine up to this point. I have searched the archives and not found an answer to this question. When I go to build the configure, I am using this command from the book: CC=$LFS_TGT-gcc -B/tools/lib/ \ AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib \ ../binutils-2.21.1/configure --prefix=/tools \ --disable-nls --with-lib-path=/tools/lib I am getting this error: configure: error: cannot run C compiled programs. If you mean to cross configure, use '--host'. Does any one have any insight into how I can fix this? I am working on a 64-bit system. Thank you, pedantic mode: on No, but I have insight into how you can get a more useful error message ;-) pedantic mode: off In binutils (and other large packages such as gcc, perhaps glibc) there are configure scripts in several subdirectories. Each one, when it is run, produces a file 'config.log' I think these are probably in the build tree (binutils-build), not the source tree. So, find the newest config.log and then look at it. Search for the error message 'cannot run C compiled programs'. Somewhere a little above that you should be able to see a program fragment, which configure has then attempted to compile. There will be an error message from gcc or ld. When you find that error text, google for it (much quicker than waiting for list replies!) - hopefully you may find a similar error in the archives of lfs-support. If not, please post the error message here. ĸen -- 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 -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page