freebsd 4.3R and current ports

Nickolai Zeldovich kolya at mit.edu
Sun Sep 30 23:13:58 CEST 2001


> foo# startarla
> kldload: can't load /usr/local/bin/xfs.ko: Exec format error
> mount_xfs: mount: Exec format error
> link_elf: symbol crhold undefined

It sounds like your headers in /usr/include/sys are inconsistent
with your kernel.  In FreeBSD 4.3, crhold() was a macro; it was
changed to a function sometime before 4.4..  So it seems like
your /usr/include/sys/ucred.h defines crhold as a function, but
your kernel doesn't have it (ie the kernel is too old).

-- kolya





More information about the Arla-drinkers mailing list