Re: [Netnice-kernels] Linux Kernel
Status: Alpha
Brought to you by:
taost6
From: Takashi O. <ta...@cs...> - 2004-10-06 17:59:53
|
hello, Scott Brumbaugh wrote: > > > thanks for the message. i realized that vif_free() and some of > > other functions are still incomplete. i don't know why it doesn't > > compile, since i've checked that it compiled (in india!)... > > > > >From the CVS the files vif_input.c, vif_output.c, and vif_subr.c will > pass through the compiler and an object file will be produced. > However, the conditional at the top: > > #ifdef CONFIG_NETNICE > > will prevent any of the contained functions from being compiled. So > the object file produced is really not of any use because it contains > no executable code. The definition of CONFIG_NETNICE is obtained by > including linux/config.h and the #ifdef CONFIG_NETNICE must occur > _after_ linux/config.h has been included. When this is done and the > functions in the files actually pass through the compiler the errors > occur. > > As for socket.c some of the variables passed into the functions within > the sections delimited by CONFIG_NETNICE use variables that are not > found anywhere in the file. okay. i took a look at the files, and now i understand. the last case is the easiest; it is using a pointer, "struct proc *p", although linux doesn't have that variable in the socket accept function. maybe you're right. but, still i think it is relatively easy to fix... > Also, the Kconfig (kernel configuration) setup is not complete and I > needed to add this so I could compile. > > If this worked before I imagine that there is a later version missing > from your CVS. i checked that the files on the CVS is the ones i got from kartikey. kartikey, do you have newer files? or, any comments?? thanks, -- taka |