Building modules, stage 2.
WARNING: could not find /usr/src/redhat/BUILD/mol-0.9.71.1/obj-ppc/build/src/kmod/.traps.o.cmd for /usr/src/redhat/BUILD/mol-0.9.71.1/obj-ppc/build/src/kmod/traps.o
Kernel source : /usr/src/rpm/build/kernel-2.6.18/linux-2.6.18.ppc/
Module compiled for : 2.6.18-1.2200.fc5
Running kernel : 2.6.18-1.2200.fc5
+ Entering netdriver
In file included from /usr/src/redhat/BUILD/mol-0.9.71.1/obj-ppc/build/src/netdriver/kuname.c:24:
include/linux/config.h:6:2: warning: #warning Including config.h is deprecated.
In file included from include/linux/skbuff.h:26,
from include/linux/if_ether.h:111,
from include/linux/netdevice.h:29,
from /usr/src/redhat/BUILD/mol-0.9.71.1/obj-ppc/build/src/netdriver/sheep.c:14:
include/linux/highmem.h:23:25: error: asm/highmem.h: No such file or directory
In file included from include/linux/skbuff.h:26,
from include/linux/if_ether.h:111,
from include/linux/netdevice.h:29,
from /usr/src/redhat/BUILD/mol-0.9.71.1/obj-ppc/build/src/netdriver/sheep.c:14:
include/linux/highmem.h: In function clear_user_highpage:
include/linux/highmem.h:56: error: implicit declaration of function kmap_atomic
include/linux/highmem.h:56: error: KM_USER0 undeclared (first use in this function)
include/linux/highmem.h:56: error: (Each undeclared identifier is reported only once
include/linux/highmem.h:56: error: for each function it appears in.)
include/linux/highmem.h:56: warning: initialization makes pointer from integer without a cast
include/linux/highmem.h:58: error: implicit declaration of function kunmap_atomic
include/linux/highmem.h: In function clear_highpage:
include/linux/highmem.h:78: error: KM_USER0 undeclared (first use in this function)
include/linux/highmem.h:78: warning: initialization makes pointer from integer without a cast
include/linux/highmem.h: In function memclear_highpage_flush:
include/linux/highmem.h:92: error: KM_USER0 undeclared (first use in this function)
include/linux/highmem.h:92: warning: assignment makes pointer from integer without a cast
include/linux/highmem.h: In function copy_user_highpage:
include/linux/highmem.h:102: error: KM_USER0 undeclared (first use in this function)
include/linux/highmem.h:102: warning: assignment makes pointer from integer without a cast
include/linux/highmem.h:103: error: KM_USER1 undeclared (first use in this function)
include/linux/highmem.h:103: warning: assignment makes pointer from integer without a cast
include/linux/highmem.h: In function copy_highpage:
include/linux/highmem.h:115: error: KM_USER0 undeclared (first use in this function)
include/linux/highmem.h:115: warning: assignment makes pointer from integer without a cast
include/linux/highmem.h:116: error: KM_USER1 undeclared (first use in this function)
include/linux/highmem.h:116: warning: assignment makes pointer from integer without a cast
In file included from include/linux/if_ether.h:111,
from include/linux/netdevice.h:29,
from /usr/src/redhat/BUILD/mol-0.9.71.1/obj-ppc/build/src/netdriver/sheep.c:14:
include/linux/skbuff.h: In function kmap_skb_frag:
include/linux/skbuff.h:1313: error: implicit declaration of function local_bh_disable
include/linux/skbuff.h:1315: error: KM_SKB_DATA_SOFTIRQ undeclared (first use in this function)
include/linux/skbuff.h:1315: warning: return makes pointer from integer without a cast
include/linux/skbuff.h: In function kunmap_skb_frag:
include/linux/skbuff.h:1320: error: KM_SKB_DATA_SOFTIRQ undeclared (first use in this function)
include/linux/skbuff.h:1322: error: implicit declaration of function local_bh_enable
In file included from include/linux/netdevice.h:560,
from /usr/src/redhat/BUILD/mol-0.9.71.1/obj-ppc/build/src/netdriver/sheep.c:14:
include/linux/interrupt.h: At top level:
include/linux/interrupt.h:209: warning: conflicting types for local_bh_disable
include/linux/skbuff.h:1313: warning: previous implicit declaration of local_bh_disable was here
include/linux/interrupt.h:212: warning: conflicting types for local_bh_enable
include/linux/skbuff.h:1322: warning: previous implicit declaration of local_bh_enable was here
/usr/src/redhat/BUILD/mol-0.9.71.1/obj-ppc/build/src/netdriver/sheep.c: In function sheep_net_readv:
/usr/src/redhat/BUILD/mol-0.9.71.1/obj-ppc/build/src/netdriver/sheep.c:390: warning: interruptible_sleep_on is deprecated (declared at include/linux/wait.h:366)
make[5]: *** [/usr/src/redhat/BUILD/mol-0.9.71.1/obj-ppc/build/src/netdriver/sheep.o] Error 1