howdy there yal.
So I'm on part 5.30 (compiling util-linux-2.12r), I'm following exactly as it says in the book.
So I run the sed command, ./configure, and then 'make -C lib', and everything is fine.
Then I try running 'make -C mount mount umount' and it starts to compile, but then I get the following error
Code:
In file included from mount.c:31:
loop.h:20: error: syntax error before '__kernel_old_dev_t'
loop.h:20: warning: no semicolon at end of struct or union
loop.h:22: error: syntax error before 'lo_rdevice'
loop.h:22: warning: type defaults to 'int' in declaration of 'lo_rdevice'
loop.h:22: warning: data definition has no type or storage class
loop.h:31: error: syntax error before '}' token
make: *** [mount.o] Error 1
make: Leaving directory `/home/lfs1/sources/util-linux-2.12r/mount'
lfs:/home/lfs1/sources/util-linux-2.12r$
Anybody know what I'm doing wrong?