Help with Glib-c 2.11.1 Pass 1 (ch 5.7) in LFS 6.6

2010-06-29 Thread Saxon Landers
Hi there, im new to the mailing list, so please correct me if i make any 
mistakes.

I have used linux for some time, and wanted to make my own, so ive gone 
for LFS.
I am compiling onto a SanDisk Cruzer 4gb portable USB flash drive, so i 
am using /dev/sdb (without a specific partition) to save space.
All seems to go fine, untill the 'make' command of glibc pass 1 (ch 
5.7). i have tested it several times, each time on a clean install.

specs: Ubuntu 10.04 LTS x64 with all needed utilities mentioned at the 
beginning of the book, running under VirtualBox on Win7x64

The following is the stuff it prints. if you need more info, i'll send 
more. (this is grabbed from a second run of 'make, but it is the same as 
the stuff it prints the first time)

l...@ubuntu10-clean:/mnt/lfs/tools/glibc-build$ make
make -r PARALLELMFLAGS= CVSOPTS= -C ../glibc-2.11.1 objdir=`pwd` all
make[1]: Entering directory `/mnt/lfs/tools/glibc-2.11.1'
make  subdir=csu -C csu ..=../ subdir_lib
make[2]: Entering directory `/mnt/lfs/tools/glibc-2.11.1/csu'
make[2]: Nothing to be done for `subdir_lib'.
make[2]: Leaving directory `/mnt/lfs/tools/glibc-2.11.1/csu'
make  subdir=iconv -C iconv ..=../ subdir_lib
make[2]: Entering directory `/mnt/lfs/tools/glibc-2.11.1/iconv'
/usr/bin/install -c -m 644 
/mnt/lfs/tools/glibc-build/../include/linux/limits.h 
/tools/include/linux/limits.h
/usr/bin/install: `/mnt/lfs/tools/glibc-build/../include/linux/limits.h' 
and `/tools/include/linux/limits.h' are the same file
/usr/bin/install -c -m 644 
/mnt/lfs/tools/glibc-build/../include/asm/prctl.h /tools/include/asm/prctl.h
/usr/bin/install: `/mnt/lfs/tools/glibc-build/../include/asm/prctl.h' 
and `/tools/include/asm/prctl.h' are the same file
make[2]: Leaving directory `/mnt/lfs/tools/glibc-2.11.1/iconv'
make[1]: *** [iconv/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/tools/glibc-2.11.1'
make: *** [all] Error 2

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


Re: Help with Glib-c 2.11.1 Pass 1 (ch 5.7) in LFS 6.6

2010-06-29 Thread Andrew Benton
On 29/06/10 11:50, Saxon Landers wrote:
 Hi there, im new to the mailing list, so please correct me if i make any
 mistakes.

 I have used linux for some time, and wanted to make my own, so ive gone
 for LFS.
 I am compiling onto a SanDisk Cruzer 4gb portable USB flash drive, so i
 am using /dev/sdb (without a specific partition) to save space.

Is that even possible? How are you going to mount it if it doesn't have 
a partition?

 All seems to go fine, untill the 'make' command of glibc pass 1 (ch
 5.7). i have tested it several times, each time on a clean install.

 specs: Ubuntu 10.04 LTS x64 with all needed utilities mentioned at the
 beginning of the book, running under VirtualBox on Win7x64

 The following is the stuff it prints. if you need more info, i'll send
 more. (this is grabbed from a second run of 'make, but it is the same as
 the stuff it prints the first time)

 l...@ubuntu10-clean:/mnt/lfs/tools/glibc-build$ make
 make -r PARALLELMFLAGS= CVSOPTS= -C ../glibc-2.11.1 objdir=`pwd` all
 make[1]: Entering directory `/mnt/lfs/tools/glibc-2.11.1'
 make  subdir=csu -C csu ..=../ subdir_lib
 make[2]: Entering directory `/mnt/lfs/tools/glibc-2.11.1/csu'
 make[2]: Nothing to be done for `subdir_lib'.
 make[2]: Leaving directory `/mnt/lfs/tools/glibc-2.11.1/csu'
 make  subdir=iconv -C iconv ..=../ subdir_lib
 make[2]: Entering directory `/mnt/lfs/tools/glibc-2.11.1/iconv'
 /usr/bin/install -c -m 644
 /mnt/lfs/tools/glibc-build/../include/linux/limits.h
 /tools/include/linux/limits.h
 /usr/bin/install: `/mnt/lfs/tools/glibc-build/../include/linux/limits.h'
 and `/tools/include/linux/limits.h' are the same file
 /usr/bin/install -c -m 644
 /mnt/lfs/tools/glibc-build/../include/asm/prctl.h /tools/include/asm/prctl.h
 /usr/bin/install: `/mnt/lfs/tools/glibc-build/../include/asm/prctl.h'
 and `/tools/include/asm/prctl.h' are the same file
 make[2]: Leaving directory `/mnt/lfs/tools/glibc-2.11.1/iconv'
 make[1]: *** [iconv/subdir_lib] Error 2
 make[1]: Leaving directory `/mnt/lfs/tools/glibc-2.11.1'
 make: *** [all] Error 2

It appears that you are trying to compile inside /mnt/lfs/tools.
Do you get the same error if you compile in /mnt/lfs/sources?

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


Re: Help with Glib-c 2.11.1 Pass 1 (ch 5.7) in LFS 6.6

2010-06-29 Thread littlebat
 l...@ubuntu10-clean:/mnt/lfs/tools/glibc-build$ make

I am also new to LFS, the book says we should always work in
directory /mnt/lfs/sources and install temporary tools in
directory /mnt/lfs/tools. So, the right build place of glibc-build
pass1 should be /mnt/lfs/sources/glibc-build.

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


Re: Help with Glib-c 2.11.1 Pass 1 (ch 5.7) in LFS 6.6

2010-06-29 Thread Mike McCarty
Andrew Benton wrote:
 On 29/06/10 11:50, Saxon Landers wrote:
 Hi there, im new to the mailing list, so please correct me if i make any
 mistakes.

 I have used linux for some time, and wanted to make my own, so ive gone
 for LFS.
 I am compiling onto a SanDisk Cruzer 4gb portable USB flash drive, so i
 am using /dev/sdb (without a specific partition) to save space.
 
 Is that even possible? How are you going to mount it if it doesn't have 
 a partition?

The mount command should be able to mount anything with a file system
in it. CD-ROMS don't have partitions, nor do native USB sticks,
nor floppies, nor ISO images, nor other files with file systems
in them. AFAIK, there's no file system type defined for tapes,
but with the proper definitions and driver, one would be able
to mount a tape. I've done so with other operating systems
which have that capability.

If mount can't do it, then mount is broken.

Mike
-- 
p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Help with Glib-c 2.11.1 Pass 1 (ch 5.7) in LFS 6.6

2010-06-29 Thread Neal Murphy
On Tuesday 29 June 2010 12:57:21 Mike McCarty wrote:
 Andrew Benton wrote:
  On 29/06/10 11:50, Saxon Landers wrote:
  Hi there, im new to the mailing list, so please correct me if i make any
  mistakes.
 
  I have used linux for some time, and wanted to make my own, so ive gone
  for LFS.
  I am compiling onto a SanDisk Cruzer 4gb portable USB flash drive, so i
  am using /dev/sdb (without a specific partition) to save space.
 
  Is that even possible? How are you going to mount it if it doesn't have
  a partition?

 The mount command should be able to mount anything with a file system
 in it. CD-ROMS don't have partitions, nor do native USB sticks,
 nor floppies, nor ISO images, nor other files with file systems
 in them. AFAIK, there's no file system type defined for tapes,
 but with the proper definitions and driver, one would be able
 to mount a tape. I've done so with other operating systems
 which have that capability.

An explicit example: 'mount -t ext3 /dev/sdb /mnt'. Oh, some USB sticks have 
partitions, but perhaps they aren't 'native'?

If one is clever, one can create partition tables within partitions. And mount 
those subpartition partitions once they contain filesystems.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Help with Glib-c 2.11.1 Pass 1 (ch 5.7) in LFS 6.6

2010-06-29 Thread Mike McCarty
Neal Murphy wrote:
 On Tuesday 29 June 2010 12:57:21 Mike McCarty wrote:

[about partitions]

 The mount command should be able to mount anything with a file system
 in it. CD-ROMS don't have partitions, nor do native USB sticks,

[...]

 An explicit example: 'mount -t ext3 /dev/sdb /mnt'. Oh, some USB sticks have 
 partitions, but perhaps they aren't 'native'?

I used that term for lack of knowledge of a better one. Perhaps raw
would have been better. I was trying to convey the idea that some,
though not all, USB sticks don't have PTs in them. Some USB sticks have
PTs in them with just one entry, which seems a waste of ROM to me,
unless one also puts boot code in there and intends to boot from it.

Mike
-- 
p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page