Results 1 to 1 of 1
Dear friends,
I am trying to compile the linux kernel 2.6.33. I need to incorporate a patch into this. The patch creates a directory and 3 src files as below,
...
- 02-18-2011 #1Just Joined!
- Join Date
- Feb 2011
- Posts
- 2
kernel makefile help
Dear friends,
I am trying to compile the linux kernel 2.6.33. I need to incorporate a patch into this. The patch creates a directory and 3 src files as below,
Now, among the above users.c file uses a function named 'get_empty_filp()', which is defined in some another c file. See the the following errorCode:~/linux-2.6.33/net/core/netchannel ~/linux-2.6.33/net/core/netchannel/netchannel.c ~/linux-2.6.33/net/core/netchannel/storage.c ~/linux-2.6.33/net/core/netchannel/users.c
I found that the fun('get_empty_filp') is defined in following locationCode:net/core/netchannel/user.c: In function ‘netchannel_bind_fd’: net/core/netchannel/user.c:192: error: implicit declaration of function ‘get_empty_filp’ net/core/netchannel/user.c:192: warning: assignment makes pointer from integer without a cast
The following is module's make file,Code:fun def => ~/linux-2.6.33/fs/internal.h fun body => ~/linux-2.6.33/fs/file_table.c
How do I incorporate file_table.c and internal.h in this make file, so that it gets successfully compiledCode:obj-y += netchannel.o storage.o user.o


Reply With Quote
