compile & install on FC4 x86_64
aland at ox.org
Sun Jan 15 03:52:15 CET 2006
FreeRadius Devel <freeradius-devel at list.coretech.ro> wrote:
> there is no file "/usr/lib/libsnmp.so" but there is a file
> 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.
More information about the Freeradius-Devel