FreeRadius Devel <freeradius-devel@list.coretech.ro> wrote:
there is no file "/usr/lib/libsnmp.so" but there is a file "/usr/lib64/libsnmp.so" is the configure script suppose to find the 32bit version or the 64bit version ?
The configure script relies on the local compiler to do the right thing.
in file "src/lib/dict.c", function "DICT_VALUE *dict_valbyname(int attr, const char *name)" line "hash = lrad_hash_update(&attr, sizeof(&attr), hash);"
Whoops, that's a bug.
I think that "sizeof(&attr)" should be "sizeof(attr)" because sizeof(int) != sizeof(&int) on 64bit. is there a compile option hat would instruct the compiler to consider "int" as being a 64bit integer ?
No. You should edit the source to use sizeof(attr) and recompile. Then the 64-bit system will work. Alan DeKok.