"Robert V. Baron" wrote:
> 
> Sylvain ROUGIER <[EMAIL PROTECTED]> writes:
> 
> >       Hello,
> >
> > I am sorry for such a RTFM question, but I can't find any answer.
> >
> > How could I build the kernel parts ( preferably lkm, but new kernel are OK) of  
>Coda 5.x.y on FreeBSD-3.0 ?
> >
> > I know how to build command, but not the kernel part.
> >
> > S.R.
> 
> I do not prefer lkm's.  But you should just go to /usr/src/lkm/coda
Why ?
> and do a make there.  (I think that's the directory, I'm on klds and elf
> kernels here.)
Well, if I do that I get module of coda 4.x.y because that was the source installed 
during the 
FreeBSD-3.0 instalation. I would like to try  coda 5.

> Another choice is to go to the kernel build area and grep -i coda in the LINT
> file.  Copy those lines to your "GENERIC" configuration file and then rebuild
> the kernel.
I done that before. But I get kernel with coda 4 :-)
> 
> Finally, if you are using kld's just go to /usr/src/sys/modules/coda and type
> make.
I don't know kld, what is it ?
anyway, this miserabily fail:

root@tsointsoin:/usr/src/sys/modules/coda Wed Mar  3 11:39:59  bash(223) 
>make
Warning: Object directory not changed from original /usr/src/sys/modules/coda
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
sh /usr/src/sys/modules/coda/../../kern/vnode_if.sh 
/usr/src/sys/modules/coda/../../kern/vnode_if.src
cc -O -pipe  -DKERNEL -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline 
-Wuninitialized -Wformat  -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-  
-I/usr/src/sys/modules/coda -I/usr/src/sys/modules/coda/@ -DVFS_LKM -DVFS_KLD -c 
/usr/src/sys/modules/coda/../../coda/coda_fbsd.c
In file included from /usr/src/sys/modules/coda/../../coda/coda_fbsd.c:229:
/usr/src/sys/modules/coda/@/sys/lkm.h:73: field `lkm_oldent' has incomplete type
/usr/src/sys/modules/coda/@/sys/lkm.h:138: field `lkm_oldexec' has incomplete type
*** Error code 1

Stop.

Well, I starting to think that I never get coda 5 work on my FreeBSD-3.0 :-(

S.R.

Reply via email to