Hello. actually i want to make my own system call how can i make it.plz explain me in detail Meenal gupta On 08 Jul 2005 10:45:48 +0530, Anurag Verma <averma@xxxxxxxxxxxxxxxxxxx> wrote: > Hi All > Did anyone compile the source code of 2.4.20-8. I m getting compilation > error when i do make modules > Error i m getting is > make -C cipe modules > > make[3]: Entering directory `/usr/src/linux-2.4.20-8/drivers/addon/cipe' > gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 > -DMODULE -DMODVERSIONS -include > /usr/src/linux-2.4.20-8/include/linux/modversions.h -nostdinc > -iwithprefix include -DKBUILD_BASENAME=module -c -o module.o module.c > In file included from /usr/src/linux-2.4.20-8/include/linux/if.h:23, > from cipe.h:21, > from module.c:15: > /usr/src/linux-2.4.20-8/include/linux/socket.h:249: invalid suffix on > integer constant > /usr/src/linux-2.4.20-8/include/linux/socket.h:249: parse error before > numeric constant > /usr/src/linux-2.4.20-8/include/linux/socket.h:249: > `memcpy_fromiovec_R_ver_str' declared as function returning a function > /usr/src/linux-2.4.20-8/include/linux/socket.h:249: warning: function > declaration isn't a prototype > /usr/src/linux-2.4.20-8/include/linux/socket.h:258: invalid suffix on > integer constant > /usr/src/linux-2.4.20-8/include/linux/socket.h:258: parse error before > numeric constant > /usr/src/linux-2.4.20-8/include/linux/socket.h:258: > `memcpy_toiovec_R_ver_str' declared as function returning a function > /usr/src/linux-2.4.20-8/include/linux/socket.h:258: warning: function > declaration isn't a prototype > /usr/src/linux-2.4.20-8/include/linux/socket.h:259: > `memcpy_tokerneliovec_R_ver_str' declared as function returning a > function > /usr/src/linux-2.4.20-8/include/linux/socket.h:259: warning: parameter > names (without types) in function declaration > /usr/src/linux-2.4.20-8/include/linux/socket.h:260: invalid suffix on > integer constant > /usr/src/linux-2.4.20-8/include/linux/socket.h:260: parse error before > numeric constant > /usr/src/linux-2.4.20-8/include/linux/socket.h:260: > `move_addr_to_user_R_ver_str' declared as function returning a function > /usr/src/linux-2.4.20-8/include/linux/socket.h:260: warning: function > declaration isn't a prototype > /usr/src/linux-2.4.20-8/include/linux/socket.h:261: invalid suffix on > integer constant > /usr/src/linux-2.4.20-8/include/linux/socket.h:261: parse error before > numeric constant > /usr/src/linux-2.4.20-8/include/linux/socket.h:261: > `move_addr_to_kernel_R_ver_str' declared as function returning a > function > /usr/src/linux-2.4.20-8/include/linux/socket.h:261: warning: function > declaration isn't a prototype > /usr/src/linux-2.4.20-8/include/linux/socket.h:262: `put_cmsg_R_ver_str' > declared as function returning a function > /usr/src/linux-2.4.20-8/include/linux/socket.h:262: warning: parameter > names (without types) in function declaration > > > Does anybody have any idea. > Thanks in advance > Anurag > > > ******************************************************************************** > Network Programs is a SEI-CMM Level 5 & ISO 9001: 2000 Certified Company > ******************************************************************************** > The information contained in this communication (including any attachments) is > intended solely for the use of the individual or entity to whom it is addressed > and others authorized to receive it. It may contain confidential or legally > privileged information. If you are not the intended recipient you are hereby > notified that any disclosure, copying, distribution or taking any action in > reliance on the contents of this information is strictly prohibited and may be > unlawful. If you have received this communication in error, please notify us > immediately by responding to this email and delete it from your system. > Network Programs (India) Limited is neither liable for the proper and complete > transmission of the information contained in this communication nor for any > delay in its receipt. > ******************************************************************************** > > > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/