Hello,

On Sat, Oct 06, 2018 at 12:00:02PM +0200, [email protected] wrote:
> Message: 1
> Date: Fri, 5 Oct 2018 07:48:40 -0600
> From: Lance Fredrickson <[email protected]>
> To: [email protected]
> Subject: [uclibc-ng-devel] Fwd: recvmmsg/sendmmsg not in kernel <
>       Linux   2.6.33
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
> 
> Hi,
> 
> I'm having an issue where it seems recvmmsg/sendmmsg is being included 
> into the c library regardless of kernel version.  I work with kernel 
> versions < 2.6.33 before this feature was included. When compiling 
> applications, autoconf is then mistakenly told from the c-library that 
> recvmmsg/sendmmsg is supported by the kernel, resulting in runtime 
> errors.  I use buildroot to compile my toolchains.
> 
> Looking through uclibc-ng git, it looks like this feature was added with 
> this commit.
> https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=6e15fafa20066634a58d412b259b117a47ca46d1
+# ifdef __NR_recvmmsg
         ^^^^^^^^^^^^^
+       return (ssize_t)INLINE_SYSCALL(recvmmsg, 5, sockfd, msg, vlen, flags, 
tmo);
+# else
  ......
+       return (ssize_t)__socketcall(SYS_RECVMMSG, args);
+# endif
+}

You kernel define __NR_recvmmsg in unistd.h ?

Best Regards
 Guo Ren
_______________________________________________
devel mailing list
[email protected]
https://mailman.uclibc-ng.org/cgi-bin/mailman/listinfo/devel

Reply via email to