[OpenAFS-devel] patches to 1.0.1 for linux 2.4.0 final
Derek Atkins
warlord@MIT.EDU
10 Jan 2001 11:05:13 -0500
You can safely ignore kdump. Just remove it from the build
process.
-derek
Herbert Huber <Herbert.Huber@lrz-muenchen.de> writes:
> The client code builds without problems now. Many thanks to Chas
> Williams!
>
> However the build process next stops on the file src/venus/kdump.c with
> the following errors:
>
> + cc -g -I/local/openafs-1.0.1/i386_linux24/dest/include
> -I/local/openafs-1.0.1/i386_linux24/dest/include
> -O2 -c kdump.c
> In file included from /usr/include/bits/socket.h:295,
> from /usr/include/sys/socket.h:34,
> from /usr/include/netdb.h:31,
> from kdump.c:60:
> /usr/include/asm/socket.h:49: warning: `SOCK_STREAM' redefined
> /usr/include/bits/socket.h:42: warning: this is the location of the
> previous definition
> /usr/include/asm/socket.h:50: warning: `SOCK_DGRAM' redefined
> /usr/include/bits/socket.h:45: warning: this is the location of the
> previous definition
> /usr/include/asm/socket.h:51: warning: `SOCK_RAW' redefined
> /usr/include/bits/socket.h:47: warning: this is the location of the
> previous definition
> /usr/include/asm/socket.h:52: warning: `SOCK_RDM' redefined
> /usr/include/bits/socket.h:49: warning: this is the location of the
> previous definition
> /usr/include/asm/socket.h:53: warning: `SOCK_SEQPACKET' redefined
> /usr/include/bits/socket.h:52: warning: this is the location of the
> previous definition
> In file included from /usr/include/linux/wait.h:13,
> from /usr/include/linux/fs.h:12,
> from kdump.c:223:
> /usr/include/linux/kernel.h:19: warning: `INT_MIN' redefined
> /usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/limits.h:68: warning:
> this is the location of the
> previous definition
> /usr/include/linux/kernel.h:22: warning: `LONG_MIN' redefined
> /usr/lib/gcc-lib/i486-suse-linux/2.95.2/include/limits.h:86: warning:
> this is the location of the
> previous definition
> In file included from /usr/include/linux/string.h:21,
> from /usr/include/linux/fs.h:23,
> from kdump.c:223:
> /usr/include/asm/string.h:542: warning: `memset' redefined
> /usr/include/bits/string2.h:106: warning: this is the location of the
> previous definition
> In file included from /usr/include/time.h:42,
> from
> /local/openafs-1.0.1/i386_linux24/dest/include/lwp.h:315,
> from
> /local/openafs-1.0.1/i386_linux24/dest/include/rx/rx_user.h:21,
> from
> /local/openafs-1.0.1/i386_linux24/dest/include/rx/rx.h:52,
> from
> /local/openafs-1.0.1/i386_linux24/dest/include/afs/afsint.h:62,
> from kdump.c:352:
> /usr/include/bits/time.h:34: warning: `CLOCKS_PER_SEC' redefined
> /usr/include/asm/param.h:21: warning: this is the location of the
> previous definition
> In file included from /usr/include/sys/uio.h:29,
> from
> /local/openafs-1.0.1/i386_linux24/dest/include/rx/rx_packet.h:16,
> from
> /local/openafs-1.0.1/i386_linux24/dest/include/rx/rx.h:55,
> from
> /local/openafs-1.0.1/i386_linux24/dest/include/afs/afsint.h:62,
> from kdump.c:352:
> /usr/include/bits/uio.h:38: warning: `UIO_MAXIOV' redefined
> kdump.c:200: warning: this is the location of the previous definition
> In file included from /usr/include/linux/fs.h:23,
> from kdump.c:223:
> /usr/include/linux/string.h:12: parse error before `__extension__'
> /usr/include/linux/string.h:12: parse error before `&&'
> /usr/include/linux/string.h:14: parse error before `__extension__'
> /usr/include/linux/string.h:14: parse error before `('
> /usr/include/linux/string.h:15: parse error before `__extension__'
> /usr/include/linux/string.h:15: parse error before `&&'
> In file included from /usr/include/linux/string.h:21,
> from /usr/include/linux/fs.h:23,
> from kdump.c:223:
> /usr/include/asm/string.h:106: warning: data definition has no type or
> storage class
> /usr/include/asm/string.h:33: parse error before `__extension__'
> /usr/include/asm/string.h:47: parse error before `__extension__'
> /usr/include/asm/string.h:67: warning: static declaration for `strcat'
> follows non-static
> /usr/include/asm/string.h:83: parse error before `__extension__'
> /usr/include/asm/string.h:106: parse error before `__extension__'
> /usr/include/asm/string.h:106: parse error before `&&'lass
> /usr/include/asm/string.h:106: parse error before `}'
> /usr/include/asm/string.h:106: conflicting declarations of `__result'
> /usr/include/asm/string.h:106: `__result' previously declared here
> /usr/include/asm/string.h:106: parse error before `cs'
> /usr/include/asm/string.h:106: `__s2' undeclared here (not in a
> function)
> /usr/include/asm/string.h:106: initializer element is not constant
> /usr/include/asm/string.h:106: parse error before `if'
> /usr/include/asm/string.h:106: conflicting declarations of `__result'
> /usr/include/asm/string.h:106: `__result' previously defined here
> /usr/include/asm/string.h:106: warning: data definition has no type or
> storage class
> /usr/include/asm/string.h:106: parse error before `}'
> /usr/include/asm/string.h:106: warning: data definition has no type or
> storage class
> /usr/include/asm/string.h:106: parse error before `}'
> /usr/include/asm/string.h:106: redefinition of `__result'
> /usr/include/asm/string.h:106: `__result' previously defined here
> /usr/include/asm/string.h:106: `__s1' undeclared here (not in a
> function)
> /usr/include/asm/string.h:127: parse error before `ct'
> /usr/include/asm/string.h:127: initializer element is not constant
> /usr/include/asm/string.h:127: parse error before `if'
> /usr/include/asm/string.h:127: conflicting declarations of `__result'
> /usr/include/asm/string.h:127: `__result' previously defined here
> /usr/include/asm/string.h:127: warning: data definition has no type or
> storage class
> /usr/include/asm/string.h:127: parse error before `}'
> /usr/include/asm/string.h:131: parse error before `__volatile__'
> /usr/include/asm/string.h:150: parse error before `__extension__'
> /usr/include/asm/string.h:153: conflicting types for `__res'
> /usr/include/asm/string.h:109: previous declaration of `__res'
> /usr/include/asm/string.h:153: register name not specified for `__res'
> /usr/include/asm/string.h:154: parse error before `__volatile__'
> /usr/include/asm/string.h:170: warning: static declaration for `strrchr'
> follows non-static
> /usr/include/asm/string.h:353: warning: static declaration for `memmove'
> follows non-static
> /usr/include/asm/string.h:380: warning: static declaration for `memchr'
> followsnon-static
> /usr/include/asm/string.h:456: parse error before `__extension__'
> /usr/include/asm/string.h:460: parse error before `__volatile__'
> In file included from kdump.c:223:
> /usr/include/linux/fs.h:569: warning: `struct flock64' declared inside
> parameter list
> /usr/include/linux/fs.h:569: warning: its scope is only this definition
> or declaration, which is probably
> not what you want.
> /usr/include/linux/fs.h:570: warning: `struct flock64' declared inside
> parameter list
> In file included from /usr/include/linux/fs.h:648,
> from kdump.c:223:
> /usr/include/linux/ncp_fs_sb.h:28: parse error before `u8'
> /usr/include/linux/ncp_fs_sb.h:28: warning: no semicolon at end of
> struct or union
> /usr/include/linux/ncp_fs_sb.h:29: warning: data definition has no type
> or storage class
> /usr/include/linux/ncp_fs_sb.h:32: parse error before `completion'
> /usr/include/linux/ncp_fs_sb.h:32: warning: data definition has no type
> or storage
> class/usr/include/linux/ncp_fs_sb.h:33: parse error before `conn_status'
>
> /usr/include/linux/ncp_fs_sb.h:33: warning: data definition has no type
> or storage class
> /usr/include/linux/ncp_fs_sb.h:82: parse error before `}'
> /usr/include/linux/ncp_fs_sb.h: In function `ncp_conn_valid':
> /usr/include/linux/ncp_fs_sb.h:94: dereferencing pointer to incomplete
> type
> /usr/include/linux/ncp_fs_sb.h: In function `ncp_invalidate_conn':
> /usr/include/linux/ncp_fs_sb.h:99: dereferencing pointer to incomplete
> type
> In file included from kdump.c:223:
> /usr/include/linux/fs.h: At top level:
> /usr/include/linux/fs.h:695: field `ncpfs_sb' has incomplete type
> kdump.c: In function `print_vnode':
> kdump.c:2426: structure has no member named `i_nrpages'
> make[3]: *** [kdump.o] Error 1
> make[3]: Leaving directory `/local/openafs-1.0.1/i386_linux24/obj/venus'
>
> make[2]: *** [venus] Error 2
> make[2]: Leaving directory `/local/openafs-1.0.1'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/local/openafs-1.0.1'
> make: *** [all] Error 2
>
>
> Regards
>
> /Herbert
>
>
>
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo.cgi/openafs-devel
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available