ons 2006-05-24 klockan 09:53 +0200 skrev Sommariva Graziano: > On another linux system epoll does not complile: > [root@netapp epoll-lib-0.11]# make > gcc -g -I- -I./include -I/usr/src/linux/include -DUNIX -D_DEBUG -o lib/epoll.o -c ./src/epoll.c > src/epoll.c: In function `epoll_create': > src/epoll.c:28: `__NR_epoll_create' undeclared (first use in this function) > src/epoll.c:28: (Each undeclared identifier is reported only once > src/epoll.c:28: for each function it appears in.) > src/epoll.c: In function `epoll_ctl': > src/epoll.c:30: `__NR_epoll_ctl' undeclared (first use in this function) > src/epoll.c: In function `epoll_wait': > src/epoll.c:32: `__NR_epoll_wait' undeclared (first use in this function) > make: *** [lib/epoll.o] Error 1 > > > Even thought I successfully built and installed libpcl-1.6. > > The system is: > Linux 2.4.18-14smp #1 SMP Wed Sep 4 12:34:47 EDT 2002 i686 i686 i386 GNU/Linux Your most likely does not support epoll, or is at least missing the epoll include file. epoll was added to the Linux kernel in 2.6. Regards Henrik
Attachment:
signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel