[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error npfs on compilation



I'm using kernel 2.4.28. Which is the best kernel for
arla installation? Do you know about headers kernel
2.6 stability?

My test server is Sun Sparc Ultra1. Need arla mount
arla/afs into server? My client is x86 and everything
is ok at compilation proccess.
When I compile arla (0.36.2), executing configure
script I had some errors:

/usr/include/linux/devfs_fs_kernel.h: In function
`devfs_generate_path':
/usr/include/linux/devfs_fs_kernel.h:196: error:
`ENOSYS' undeclared (first use in this function)
/usr/include/linux/devfs_fs_kernel.h:196: error: (Each
undeclared identifier is reported only once
/usr/include/linux/devfs_fs_kernel.h:196: error: for
each function it appears in.)
/usr/include/linux/devfs_fs_kernel.h: In function
`devfs_set_file_size':
/usr/include/linux/devfs_fs_kernel.h:208: error:
`ENOSYS' undeclared (first use in this function)
/usr/include/linux/devfs_fs_kernel.h: At top level:
/usr/include/linux/devfs_fs_kernel.h:289: error:
syntax error before "devfs_alloc_devnum"
/usr/include/linux/devfs_fs_kernel.h: In function
`devfs_alloc_devnum':
/usr/include/linux/devfs_fs_kernel.h:291: error:
`NODEV' undeclared (first use in this function)
/usr/include/linux/devfs_fs_kernel.h: At top level:
/usr/include/linux/devfs_fs_kernel.h:294: error:
syntax error before "kdev_t"

and errors related with Heimdal
/usr/include/heimdal/kafs.h:87: error: syntax error
before "caddr_t"
/usr/include/heimdal/kafs.h:87: warning: no semicolon
at end of struct or union
/usr/include/heimdal/kafs.h:90: error: syntax error
before '}' token
/usr/include/heimdal/kafs.h:93: error: syntax error
before "int32_t"
/usr/include/heimdal/kafs.h:93: warning: no semicolon
at end of struct or union
/usr/include/heimdal/kafs.h:95: error: syntax error
before "ViceId"
/usr/include/heimdal/kafs.h:95: warning: type defaults
to `int' in declaration of `ViceId'
/usr/include/heimdal/kafs.h:95: warning: data
definition has no type or storage class
/usr/include/heimdal/kafs.h:96: error: syntax error
before "BeginTimestamp"
/usr/include/heimdal/kafs.h:96: warning: type defaults
to `int' in declaration of `BeginTimestamp'
/usr/include/heimdal/kafs.h:96: warning: data
definition has no type or storage class
/usr/include/heimdal/kafs.h:96: error: syntax error
before "BeginTimestamp"
/usr/include/heimdal/kafs.h:96: warning: type defaults
to `int' in declaration of `BeginTimestamp'
/usr/include/heimdal/kafs.h:96: warning: data
definition has no type or storage class
/usr/include/heimdal/kafs.h:97: error: syntax error
before "EndTimestamp"
/usr/include/heimdal/kafs.h:97: warning: type defaults
to `int' in declaration of `EndTimestamp'
/usr/include/heimdal/kafs.h:97: warning: data
definition has no type or storage class
/usr/include/heimdal/kafs.h:116: error: syntax error
before "uid_t"
/usr/include/heimdal/kafs.h:119: error: syntax error
before "uid_t"
/usr/include/heimdal/kafs.h:148: error: syntax error
before "size_t"

thanks Tomas

Gessy Jr.




--- Tomas Olsson <tol@stacken.kth.se> wrote:
> Gessy Caetano <listas_gessy@yahoo.com.br> writes:
> > I try install arla-0.38 on Gentoo Linux (Sun Sparc
> > Ultra1) for tests and i had a error related with
> the
> > option  '--disable-nnpfs'. Without it, i couln't
> > compile but with it, everythings is Ok.
> > 
> nnpfs is arla's kernel module, the filesystem driver
> that allows arla/afs
> to be mounted and used just like local filesystems.
> Unfortunately, nnpfs is
> very dependent on kernel version and such things. We
> haven't tried it on a
> sparc for a long time, so I have no idea if it
> should compile straight
> away. You do need the build tree for your kernel,
> for headers and linking
> against.
> 
> Using --disable-nnpfs is useful to see if the
> userland parts compile and
> work properly. You can play around with the ftp-like
> afs client "arla-cli",
> but without nnpfs you won't be able to mount afs in
> the normal way.
> 
> If you send the error messages, we may be able to
> help out. What kernel
> version do you use?
> 
> /t
> 

__________________________________________________
Converse com seus amigos em tempo real com o Yahoo! Messenger 
http://br.download.yahoo.com/messenger/