Hi Krushnaal, On Tue, Jul 14, 2009 at 10:59 PM, krushnaal pai <[email protected]>wrote:
> i tried ksocket when i tried to to do make for the makefile in > sample/tcp/srv it gave me the foll error,plz help > > [r...@localhost srv]# make > make -C /lib/modules/2.6.28/build M=/home/k/ksock/sample/tcp/srv modules > make[1]: Entering directory `/usr/src/linux-2.6.28' > CC [M] /home/k/ksock/sample/tcp/srv/ksocket_tcp_srv.o > /home/k/ksock/sample/tcp/srv/ksocket_tcp_srv.c: In function ‘tcp_srv’: > /home/k/ksock/sample/tcp/srv/ksocket_tcp_srv.c:50: error: implicit > declaration of function ‘ksocket_debug’ > /home/k/ksock/sample/tcp/srv/ksocket_tcp_srv.c:76: error: implicit > declaration of function ‘inet_ntoa’ > /home/k/ksock/sample/tcp/srv/ksocket_tcp_srv.c:76: warning: format ‘%s’ > expects type ‘char *’, but argument 2 has type ‘int’ > make[2]: *** [/home/k/ksock/sample/tcp/srv/ksocket_tcp_srv.o] Error 1 > make[1]: *** [_module_/home/k/ksock/sample/tcp/srv] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.6.28' > make: *** [default] Error 2 > Some headers are missing. not very sure though. Recheck that. > also using wht cmd can i load the test-module(sample/tcp/srv) with a 6666 > port number parameter, > Thanks, Sandeep
