I don’t know if you intend that the newest Changesets in 1.3 be compiled with the new IO flags turned
on. I have been tracking the new IO stuff, and am
regularly compiling with these parameters set: It looks like there is a missing
include, and I get the compile errors listed below.
If this code is not completely cooked, (and you are distributing
the Changesets for the benefit of non-New IO) could
you post a notice on the list when it actually will be possible to rebuild with
new IO turned on?
make[3]: Entering
directory `/home/barry/xenolinux-2.4.26/arch/xen/drivers/netif/backend'
gcc
-D__KERNEL__ -I/home/barry/xenolinux-2.4.26/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc
-iwithprefix include -DKBUILD_BASENAME=main -c -o main.o main.c
main.c: In
function `netif_start_xmit':
main.c:47: error: `BLKIF_RSP_OKAY' undeclared (first use in
this function)
main.c:47: error: (Each undeclared identifier is reported
only once
main.c:47: error: for each function it appears in.)
main.c:66: error: `ptr' undeclared
(first use in this function)
main.c:67: error: `MMUEXT_REASSIGN_PAGE' undeclared (first
use in this function)
main.c:69: error: `ppte'
undeclared (first use in this function)
main.c:70: error: `newpage'
undeclared (first use in this function)
main.c:74: error: `BLKIF_RSP_ERROR' undeclared (first use in
this function)
main.c:83: error: `rx' undeclared
(first use in this function)
main.c:83: error: `addr'
undeclared (first use in this function)
main.c: In
function `init_tx_header':
main.c:159: error: structure has no member named `domain'
main.c:159: error: structure has no member named `idx'
main.c: In
function `tx_credit_callback':
main.c:176: warning: implicit declaration of function `maybe_schedule_tx_action'
main.c: In
function `net_tx_action':
main.c:199: error: `i' undeclared
(first use in this function)
main.c:200: error: `shared_idxs'
undeclared (first use in this function)
main.c:237: error: `PKT_PROT_LEN' undeclared (first use in
this function)
main.c:265: error: `tx' undeclared
(first use in this function)
main.c:272: error: `BLKIF_RSP_ERROR' undeclared (first use
in this function)
main.c:278: error: too few arguments to function `__skb_put'
main.c:279: error: `src'
undeclared (first use in this function)
main.c:280: error: `protocol' undeclared (first use in this
function)
main.c:280: error: `g_data'
undeclared (first use in this function)
main.c:280: error: `the_dev'
undeclared (first use in this function)
main.c:290: error: structure has no member named `dev'
main.c:314: error: structure has no member named `dev'
main.c:287: error: label `cleanup_and_continue'
used but not defined
main.c: At top
level:
main.c:322: warning: `maybe_schedule_tx_action'
was declared implicitly `extern' and later `static'
main.c:176: warning: previous declaration of `maybe_schedule_tx_action'
main.c:322: warning: type mismatch with previous implicit
declaration
main.c:176: warning: previous implicit declaration of `maybe_schedule_tx_action'
main.c:322: warning: `maybe_schedule_tx_action'
was previously implicitly declared to return `int'
main.c: In
function `maybe_schedule_tx_action':
main.c:324: error: `the_dev'
undeclared (first use in this function)
main.c: In
function `tx_skb_release':
main.c:334: error: conversion to non-scalar type requested
main.c:342: error: structure has no member named `guest_id'
main.c:333: warning: unused variable `i'
main.c: At top level:
main.c:33: warning: `pend_prod_lock'
defined but not used
main.c:45: warning: `netif_start_xmit'
defined but not used
main.c:168: warning: `tx_credit_callback'
defined but not used
make[3]: *** [main.o] Error 1
make[3]: Leaving
directory `/home/barry/xenolinux-2.4.26/arch/xen/drivers/netif/backend'
make[2]: *** [first_rule] Error 2
make[2]: Leaving
directory `/home/barry/xenolinux-2.4.26/arch/xen/drivers/netif/backend'
make[1]: *** [_subdir_backend] Error 2
make[1]: Leaving
directory `/home/barry/xenolinux-2.4.26/arch/xen/drivers/netif'
make: *** [_dir_arch/xen/drivers/netif] Error 2