> I want to use procfs.h while having large file > support; there's a few > lines that disallow this: > > #if !defined(_LP64) && _FILE_OFFSET_BITS == 64 > #error "Cannot use procfs in the large file > compilation environment" > #endif
I was having the same problem trying to compile Zabbix 1.8 on OpenSolaris b111 with GCC. It turned out GCC was generating 32-bit binaries. I fixed it by adding "-m64" to CFLAGS. -- This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code