[nos-bbs] Intel Compiler (V11.0) compiles JNOS fine ...

Maiko Langelaar maiko at pcs.mb.ca
Fri Aug 27 16:21:29 EDT 2010


I just discovered I can compile the latest JNOS 2.0 using the Intel
C compiler (icc, version 11.0). There are warnings (which I will fix
at some point), but a runnable binary is generated, seems to work.

All you have to do is the following in your 'makefile :

     change 'CC = gcc' to 'CC = icc'

     comment out 'DEBUG = -g3

Note : The '-g3' compiler option *might* result in the following unresolved
        reference at link time (that's why it is commented out) :

     undefined reference to `__invalid_size_argument_for_IOC'

This is a known problem due to a bug in the kernel headers, not the compiler
itself. I did the compile on a Scientific Linux 5.4 (x86_64) system.


More information about the nos-bbs mailing list