Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

Compiling with the Intel C Compiler (ICC) version 7.0.

Configure NSD to use ICC.

$ CC=icc ./configure [configure-options]

Then everything should compile (just ignore the warnings), except on
RedHat 8.0.  This is due to a bug in the GNU C library used.  This bug
may apply to other Linux distributions or systems using the GNU C
library.

To compile NSD with the ICC compiler on RedHat 8.0 you need to patch
the file /usr/include/bits/byteswap.h.  The following patch should
work:

--- byteswap.h.orig	2003-02-26 13:59:41.000000000 +0100
+++ byteswap.h	2003-02-26 13:59:57.000000000 +0100
@@ -81,7 +81,7 @@
 	 __v; }))
 # endif
 #else
-# define __bswap_16(x) \
+# define __bswap_32(x) \
      (__extension__							      \
       ({ register unsigned int __x = (x); __bswap_constant_32 (__x); }))
 #endif