LFS 6.3-Linux 2.6.22.5 API Headers

2010-08-20 Thread Hamish West
Hi all,
Im trying to install the Linux API Headers(5.5) but when I run: make 
headers_check as normal LFS user, I get:


CHK include/linux/version.h
/bin/sh: cannot create include/linux/version.h.tmp: Permission denied
UPD include/linux/version.h
mv: cannot stat `include/linux/version.h.tmp': No such file or directory
make: *** [include/linux/version.h] Error 1

and when I try as root:
  
CHK include/linux/version.h
HOSTCC  scripts/unifdef
scripts/unifdef.c:209: error: conflicting types for ‘getline’
/usr/include/stdio.h:651: note: previous declaration of ‘getline’ was here
make[1]: *** [scripts/unifdef] Error 1
make: *** [headers_install] Error 2

When I work on with the other commands, I just get errors about getline

I am using Ubuntu 9.10 32-bit as my host with book version LFS 6.3

Thanks in advance for the help,
Hamish


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


Re: LFS 6.3-Linux 2.6.22.5 API Headers

2010-08-20 Thread Bruce Dubbs
Hamish West wrote:
 Hi all,
 Im trying to install the Linux API Headers(5.5) but when I run: make 
 headers_check as normal LFS user, I get:
 
 
 CHK include/linux/version.h
 /bin/sh: cannot create include/linux/version.h.tmp: Permission denied
 UPD include/linux/version.h
 mv: cannot stat `include/linux/version.h.tmp': No such file or directory
 make: *** [include/linux/version.h] Error 1
 
 and when I try as root:
   
 CHK include/linux/version.h
 HOSTCC  scripts/unifdef
 scripts/unifdef.c:209: error: conflicting types for ‘getline’
 /usr/include/stdio.h:651: note: previous declaration of ‘getline’ was here
 make[1]: *** [scripts/unifdef] Error 1
 make: *** [headers_install] Error 2
 
 When I work on with the other commands, I just get errors about getline
 
 I am using Ubuntu 9.10 32-bit as my host with book version LFS 6.3

LFS-6.3 is 3 years old.  Use either LFS-6.6 or LFS-developemnt since it 
will be LFS-6.7 in a couple of weeks.

You have a permission problem.  You are either not user 'lfs' or you did 
not do

chown -v lfs $LFS/sources

in section 4.3.

Also check that you have the prerequisites listed in section vii.  The 
getline problem is due to using the old version of the book.

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


Re: LFS 6.3-Linux 2.6.22.5 API Headers

2010-08-20 Thread William Immendorf
On Fri, Aug 20, 2010 at 10:02 PM, Hamish West hamishw...@ymail.com wrote:
 CHK     include/linux/version.h
 /bin/sh: cannot create include/linux/version.h.tmp: Permission denied
 UPD     include/linux/version.h
 mv: cannot stat `include/linux/version.h.tmp': No such file or directory
 make: *** [include/linux/version.h] Error 1
 and when I try as root:

 CHK     include/linux/version.h
 HOSTCC  scripts/unifdef
 scripts/unifdef.c:209: error: conflicting types for ‘getline’
 /usr/include/stdio.h:651: note: previous declaration of ‘getline’ was here
 make[1]: *** [scripts/unifdef] Error 1
 make: *** [headers_install] Error 2
 When I work on with the other commands, I just get errors about getline
 I am using Ubuntu 9.10 32-bit as my host with book version LFS 6.3
 Thanks in advance for the help,
You probally shouldn't use version 6.3 of the book. That's like, three
years old, and I recommend that you use the development version (soon
to be 6.7), and you'll get a nice and modern system from it with
hopefully no build issues.



-- 
William Immendorf
The ultimate in free computing.
Messages in plain text, please, no HTML.
GPG key ID: 1697BE98
If it's not signed, it's not from me.

--

Every nonfree program has a lord, a master --
and if you use the program, he is your master.  Richard Stallman
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS 6.3-Linux 2.6.22.5 API Headers

2010-08-20 Thread Hamish West
Ah,
Ok, I found the book I have on a Linux site a few weeks ago, I didnt know there 
was a more recent version, I am downloading the current development snapshot.
Thanks for your help




From: William Immendorf will.immend...@gmail.com
To: LFS Support List lfs-support@linuxfromscratch.org
Sent: Sat, 21 August, 2010 1:24:14 PM
Subject: Re: LFS 6.3-Linux 2.6.22.5 API Headers

On Fri, Aug 20, 2010 at 10:02 PM, Hamish West hamishw...@ymail.com wrote:
 CHK include/linux/version.h
 /bin/sh: cannot create include/linux/version.h.tmp: Permission denied
 UPD include/linux/version.h
 mv: cannot stat `include/linux/version.h.tmp': No such file or directory
 make: *** [include/linux/version.h] Error 1
 and when I try as root:

 CHK include/linux/version.h
 HOSTCC  scripts/unifdef
 scripts/unifdef.c:209: error: conflicting types for ‘getline’
 /usr/include/stdio.h:651: note: previous declaration of ‘getline’ was here
 make[1]: *** [scripts/unifdef] Error 1
 make: *** [headers_install] Error 2
 When I work on with the other commands, I just get errors about getline
 I am using Ubuntu 9.10 32-bit as my host with book version LFS 6.3
 Thanks in advance for the help,
You probally shouldn't use version 6.3 of the book. That's like, three
years old, and I recommend that you use the development version (soon
to be 6.7), and you'll get a nice and modern system from it with
hopefully no build issues.



-- 
William Immendorf
The ultimate in free computing.
Messages in plain text, please, no HTML.
GPG key ID: 1697BE98
If it's not signed, it's not from me.

--

Every nonfree program has a lord, a master --
and if you use the program, he is your master.  Richard Stallman
-- 
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