RE: Compiling nessus with Intel's icc

"Erik Anderson" <[email protected]>
Newsgroups gmane.comp.security.nessus.devel
Message-ID <[email protected]>
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"I get lots of errors"

Look again.  I only see 1 error.  I see lots of warnings that can be
ignored.

Your error is
/usr/include/netdb.h(480): error: identifier "restrict" is undefined
  extern int getaddrinfo_a (int __mode, struct gaicb
*__list[__restrict_arr],

On my system __restrict_arr is defined in
/usr/include/sys/cdefs.h

There is a bunch of ifdef GNU statements in the above header file.

Keep in mind this is a GNU C header file.

Intel states
"The same C language calling conventions are used and the GNU glibc C
language library is used."

but....  Playing with compiler flags (like -ansi) and -D may lead to
success but I doubt it.

Best recommendation, install the GCC compiler (http://gcc.gnu.org/)
on your system.  Your system should be able to support 2
different/coexisting C/C++ compilers.

Erik

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Sebastian
> Jaenicke
> Sent: Tuesday, February 18, 2003 6:46 AM
> To: [email protected]
> Subject: Compiling nessus with Intel's icc
> 
> 
> 
> Trying to compile Nessus 1.2.6 with Intel's icc (7.0) compiler
> on Linux, I get lots of errors. Complete build output can be
> found at http://www.jaenicke.org/5-nessus.err
> 
> I wonder if these are bugs in Intel's icc or in Nessus..
> 
> Will nessus support icc in future releases?
> 
> - Sebastian
> -- 
> Sebastian Jaenicke                                   Disce aut
> discede! whois pgpkey-18AC0BE4 -h whois.ripe.net|perl
> -ne's-^certif: +--&&print'  
> 

-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Security 7.0.3

iQA/AwUBPlJB7GBNrGASwj07EQJkpACg2L6hNVtbny/NVaej6CWNN7nrc1wAoL4K
JSHqEtEYRnpALxlMz2Trzt8Y
=cOpL
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.