Hi,

When I try to compile ifenslave in ia64 with

        gcc -Wall -Wstrict-prototypes -O -I/usr/src/linux/include ifenslave.c -o ifenslave, (described in bonding.txt)

There will be a bunch of compile errors like the following:

In file included from /usr/src/linux/include/asm/system.h:19,

                 from /usr/src/linux/include/asm/atomic.h:17,

                 from /usr/src/linux/include/linux/netdevice.h:32,

                 from /usr/src/linux/include/linux/if_arp.h:26,

                 from ifenslave.c:91:

/usr/src/linux/include/asm/pal.h:89: parse error before "pal_status_t"

/usr/src/linux/include/asm/pal.h:89: warning: type defaults to `int' in declaration of `pal_status_t'

/usr/src/linux/include/asm/pal.h:89: warning: data definition has no type or storage class

/usr/src/linux/include/asm/pal.h:102: parse error before "pal_cache_level_t"

/usr/src/linux/include/asm/pal.h:102: warning: type defaults to `int' in declaration of `pal_cache_level_t'

/usr/src/linux/include/asm/pal.h:102: warning: data definition has no type or storage class

/usr/src/linux/include/asm/pal.h:110: parse error before "pal_cache_type_t"

/usr/src/linux/include/asm/pal.h:110: warning: type defaults to `int' in declaration of `pal_cache_type_t'

/usr/src/linux/include/asm/pal.h:110: warning: data definition has no type or storage class

/usr/src/linux/include/asm/pal.h:123: parse error before "pal_cache_line_state_t

..

BTW, asm is linked to asm-ia64, if I link asm to asm-i386, ifenslave can be compiled successfully. But sounds thats not the correct operation.

Is there any ifenslave.c for ia64?

Thanks,

Crystal

------------------------------------------------------------------------------------------------

This is only my personal opinion.