From: "barry" Subject: Latest unstable compile errors Date: Wed, 5 May 2004 11:41:07 -0400 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: <000001c432b7$622851b0$9aff000a@sauron> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01C43295.DB16B1B0" Return-path: Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. ------=_NextPart_000_0001_01C43295.DB16B1B0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_0001_01C43295.DB16B1B0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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'<= /span>

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=3D2 = -march=3Di686   -nostdinc -iwithprefix include = -DKBUILD_BASENAME=3Dmain  -c -o main.o main.c

main.c<= font size=3D2 face=3DArial>: 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<= font size=3D2 face=3DArial>: 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<= font size=3D2 face=3DArial>: In function `tx_credit_callback':

main.c:176: warning: implicit declaration of function = `maybe_schedule_tx_action'<= /p>

main.c<= font size=3D2 face=3DArial>: 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<= font size=3D2 face=3DArial>: 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'<= /p>

main.c:322: warning: type mismatch with previous = implicit declaration

main.c:176: warning: previous implicit declaration of = `maybe_schedule_tx_action'<= /p>

main.c:322: warning: `maybe_schedule_tx_action' was previously implicitly declared to return `int'

main.c<= font size=3D2 face=3DArial>: In function `maybe_schedule_tx_action':=

main.c:324: error: `the_dev' undeclared (first use in this function)

main.c<= font size=3D2 face=3DArial>: 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<= font size=3D2 face=3DArial>: 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'<= /span>

make[2]: *** [first_rule] Error 2

make[2]: Leaving directory = `/home/barry/xenolinux-2.4.26/arch/xen/drivers/netif/backend'<= /span>

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

 

 

 

------=_NextPart_000_0001_01C43295.DB16B1B0-- ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click