Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Problems building libnet-1.1.1-RC5

From: Richard van den Berg <richard(at)vdberg.org>
Date: Mon Jun 30 2003 - 04:54:35 EDT


I'm had to tweak various things when compiling libnet-1.1.1-RC5 under Solaris 9 using Forte CC (Sun WorkShop 6 update 2).

First off, the configure script can't figure out the endianness:

configure:3286: checking machine endianess configure:3340: result: unknown

This is pretty weird, since when I take the C code from the configure script and compile it manually, the resulting program returns "B" as expected. What is also interesting is that configure happily continues and creates a broken include/libnet.h (with LIBNET_BIG_ENDIAN missing).

Secondly, the source is now full of the __FUNCTION__ macro. This is a GCC extension. The C99 standard has defined __func__ for a macro that evaluates to the current function's name. It would be better to use this instead. (In the odd case GCC does not support this, the usage of GCC detection in configure should be used to define the use of this macro.)

Sincerely,

Richard van den Berg



To unsubscribe, e-mail: libnet-unsubscribe@securityfocus.com For additional commands, e-mail: libnet-help@securityfocus.com Received on Mon Jun 30 05:08:59 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:24 EDT

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library