[Netnice-kernels] Linux Kernel
Status: Alpha
Brought to you by:
taost6
From: Scott B. <sco...@ve...> - 2004-10-06 15:15:53
|
On Tue, 5 Oct 2004, Takashi Okumura wrote: > hi, > > 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. 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. Regards, Scott Brumbaugh |