Hi, I added two patches (1742738 and 1742740) to the nfdump patch page. I have sent the first patch to the nfsen mailing list before, where I named it solaris.patch. But the patch solves more than Solaris problems, so I decided to rename it. I tested both patches on Solaris, Linux and Freebsd, and I didn't find any problems.
1742738: library_path.patch: This patch fixes some issues with the library paths. Solaris requires some additional libraries to be included, which are correctly found by configure, but were not included in the Makefile. This patch may be applicable to other platforms as wel. It also adds a check if the rrd library is in the library search path. This fixes a cryptic "cannot compute sizeof (void *)" warning. Note that after applying this patch, you should run autoconf. 1742740: include_order.patch: On solaris the size of profiles are not correctly calculated. This is because the order of the include files is incorrect. If FILE_OFFSET_BITS is not defined it is assumed to a default value. So if the config.h file is included after a file that uses this default value and config.h sets it to a different value than the default, it causes code in one executable to be incompatible. On Solaris this causes the calculation Werner ------------------------------------------------------------------------- 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/ _______________________________________________ Nfdump-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nfdump-discuss
