Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2006 17:18:25 -0700
From:      Peter Wemm <peter@wemm.org>
To:        freebsd-amd64@freebsd.org
Cc:        Sam Leffler <sam@errno.com>, freebsd-stable@freebsd.org
Subject:   Re: ath compile error on releng_5
Message-ID:  <200604191718.25783.peter@wemm.org>
In-Reply-To: <200604191857.22240.joao@matik.com.br>
References:  <200604191857.22240.joao@matik.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
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@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604191718.25783.peter>