Kernel Headers Script [was: Rally the Troops LFS/BLFS/CLFS/Livecd too]

steve crosby steve.crosby at gmail.com
Wed May 3 20:28:15 PDT 2006


On 5/4/06, Jim Gifford <lfs at jg555.com> wrote:
> Ok, got those changes in. Thanx for the reports Steve, this is what I need.

no worries - with those changes (dccp.h, netfilter.h) iptables (and
ulog) compile fine.  Diff attached for headers script for reference

diff -Naur headers.sh.orig headers.sh
--- headers.sh.orig     2006-05-04 15:44:02.000000000 +1200
+++ headers.sh  2006-05-04 15:44:06.000000000 +1200
@@ -420,7 +420,7 @@
        LINUX_HEADERS="adfs_fs.h adfs_fs_i.h adfs_fs_sb.h affs_fs.h
agpgart.h apm_bios.h atalk.h atmapi.h atmarp.h atmclip.h
                       atmdev.h atm_eni.h atm.h atm_idt77105.h
atm_nicstar.h atmioc.h atmsap.h atmsvc.h atm_tcp.h atm_zatm.h
                       atmlec.h atmmpc.h auto_fs.h auto_fs4.h auxvec.h
bfs_fs.h bitops.h blkpg.h cache.h capability.h
-                      calc64.h cdrom.h coda_fs_i.h compat.h
cramfs_fs.h cramfs_fs_sb.h dcache.h devpts_fs.h dirent.h
+                      calc64.h cdrom.h coda_fs_i.h compat.h
cramfs_fs.h cramfs_fs_sb.h dcache.h dccp.h devpts_fs.h dirent.h
                       dnotify.h efs_fs.h efs_fs_i.h efs_fs_sb.h elf.h
errno.h ethtool.h ext2_fs.h ext2_fs_sb.h ext3_fs.h
                       ext3_fs_i.h ext3_fs_sb.h fb.h fcntl.h fd.h
filter.h fs.h gen_stats.h hdreg.h hpfs_fs.h if.h if_arp.h
                       if_arcnet.h if_bonding.h if_bridge.h
if_cablemodem.h if_ec.h if_eql.h if_ether.h if_fddi.h if_fc.h
@@ -428,7 +428,7 @@
                       if_slip.h if_strip.h if_tr.h if_tun.h
if_tunnel.h if_vlan.h if_wanpipe.h if_wanpipe_common.h in.6
                       in6.h in_route.h inet_diag.h init.h inotify.h
input.h interrupt.h ip.h ip6.h ioctl.h iso_fs.h ipv6.h
                       ipv6_route.h ip_mp_alg.h irda.h isdn.h
jiffies.h jffs2_fs_i.h jffs2_fs_sb.h joystick.h kd.h kdev_t.h
-                      kernel.h keyboard.h limits.h linkage.h lp.h
major.h minix_fs.h msdos_fs.h netdevice.h netfilter_ipv4.h
+                      kernel.h keyboard.h limits.h linkage.h lp.h
major.h minix_fs.h msdos_fs.h netdevice.h netfilter.h netfilter_ipv4.h
                       netlink.h netrom.h ncp_fs.h ncp_fs_i.h
ncp_fs_sb.h nfs.h nfs_fs.h nfs_fs_i.h nfs_fs_sb.h nfs2.h
                       nfs3.h nfs4.h openprom_fs.h param.h patchkey.h
pci.h pipe_fs_i.h pkt_cls.h pkt_sched.h poll.h
                       posix_types.h ppp-comp.h ppp_defs.h preempt.h
prctl.h proc_fs.h ptrace.h qnx4_fs.h raw.h rbtree.h
@@ -441,7 +441,7 @@
        NOSANTIZE_ASM_HEADERS="types.h"
        NOSANTIZE_LINUX_HEADERS="types.h byteorder/big_endian.h
byteorder/little_endian.h"
        BLANK_HEADERS="linux/autoconf.h linux/agp_backend.h
linux/compiler.h linux/config.h linux/list.h linux/mmzone.h
-                      linux/netfilter.h linux/pagemap.h
linux/percpu.h linux/syscalls.h linux/uio.h linux/utime.h"
+                      linux/pagemap.h linux/percpu.h linux/syscalls.h
linux/uio.h linux/utime.h"
        ROOT_HEADERS="linux/elf.h linux/signal.h"
        ASM_SYS_HEADERS="io.h"
        SYS_HEADERS="linux/resource.h linux/socket.h linux/time.h linux/wait.h"


--
-- -
Steve Crosby



More information about the lfs-dev mailing list