ath compile error on releng_5

Peter Wemm peter at wemm.org
Thu Apr 20 00:18:26 UTC 2006


On Wednesday 19 April 2006 14:57, JoaoBR wrote:
> seems the ath_hal source on releng_5 is i386 and does not compile as
> module neither as kernel configuration on amd64
>
> ath compiles as module but can not be loaded (exec error)
>
> I suppose this is a known issue or some needs details?
>
> ld  -d -warn-common -r -d -o ath_hal.ko hal.o ah_osdep.o
> ld: Relocatable linking with relocations from format
> elf32-i386-freebsd (hal.o) to format elf64-x86-64 (ath_hal.ko) is not
  ^^^^^^^^^^^^^^^^^^^^^^^^^^           ^^^^^^^^^^^^^^^^^^^^^^^^^
> supported *** Error code 1

Something isn't right there.  You can't mix 32 and 64 bit binaries.

Myy recollection is that on 5.x, the only hal is for i386.  Assuming 
that my recollection is right, you'd have to go to 6.x.

-- 
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5


More information about the freebsd-stable mailing list