good morning ,
im having problems compiling nfdump snapshot-20070312 on a solaris 10
uname -a
SunOS netflow 5.10 Generic_118822-20 sun4u sparc SUNW,UltraAX-i2
thank you so much in advance.
------------------
./configure --enable-nfprofile --enable-64
--with-rrdpath=/usr/local/rrdtool/
checking fts.h usability... no
checking fts.h presence... no
checking for fts.h... no
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking iso/limits_iso.h usability... yes
checking iso/limits_iso.h presence... no
configure: WARNING: iso/limits_iso.h: accepted by the compiler, rejected
by the preprocessor!
configure: WARNING: iso/limits_iso.h: proceeding with the compiler's result
checking for iso/limits_iso.h... yes
checking for void *... yes
checking size of void *... configure: error: cannot compute sizeof (void
*), 77
See `config.log' for more details.
--------------------------------
config.log shows me
long longval () { return (long) (sizeof (void *)); }
| unsigned long ulongval () { return (long) (sizeof (void *)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
|
| FILE *f = fopen ("conftest.val", "w");
| if (! f)
| exit (1);
| if (((long) (sizeof (void *))) < 0)
| {
| long i = longval ();
| if (i != ((long) (sizeof (void *))))
| exit (1);
| fprintf (f, "%ld\n", i);
| }
| else
| {
| unsigned long i = ulongval ();
| if (i != ((long) (sizeof (void *))))
| exit (1);
| fprintf (f, "%lu\n", i);
| }
| exit (ferror (f) || fclose (f) != 0);
|
| ;
| return 0;
| }
configure:6225: error: cannot compute sizeof (void *), 77
See `config.log' for more details.
Regards,
Ehab Fahmi (Systems Security Engineer)
Eccsolutions
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss