Installing T/TCP for Linux (2.4 or 2.6 kernel)
Hi all,
I am working on a research project and one of the goals is to implement a working version of T/TCP (TCP for Transactions) on a Linux machine.
I have found the patch from sourceforge (the T/TCP for Linux Project) but the code that this patch contains is not compiling on my machine. I have followed all the instructions and the errors I am getting refer to coding errors (as in "token missing at line 820" etc.) I have checked the files themselves and the errors that are stated are incorrect -- they do not exist in the files.
Does anyone have some suggestions as to what I can try, or where I could possibly find another method of getting T/TCP to work (on either the 2.4 or 2.6 Linux kernel) ?
In particular, the erorrs I am getting are in the sock.h file found in the include/net directory of the source code.
I managed to remove one of the errors by moving the lines referenced to another spot in the file. However, I am now getting the follwoing error (code error once again) : (The fact that the src code is not in /usr/src makes no difference -- this same error occurs no matter where I put the code)
sock.c: In function `sock_wfree':
sock.c:661: error: structure has no member named `use_write_queue'
sock.c: In function `sock_wfree':
sock.c:661: error: structure has no member named `use_write_queue'
sock.c: At top level:
sock.c:848: error: conflicting types for `sock_alloc_send_skb'
/home/cshons/Kernels_TCP/src2.4/linux-2.4.27/include/net/sock.h:843: error: previous declaration of `sock_alloc_send_skb'
make[3]: *** [sock.o] Error 1
make[3]: Leaving directory `/home/cshons/Kernels_TCP/src2.4/linux-2.4.27/net/core'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/home/cshons/Kernels_TCP/src2.4/linux-2.4.27/net/core'
make[1]: *** [_subdir_core] Error 2
make[1]: Leaving directory `/home/cshons/Kernels_TCP/src2.4/linux-2.4.27/net'
make: *** [_dir_net] Error 2
Any help will be greatly appreciated,
Thanks
Brian
|