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 Stop in /usr/src/sys/modules/ath_hal. Jo?o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br
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 1Something 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
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 > > Stop in /usr/src/sys/modules/ath_hal.releng5 only has i386 support I believe. Trying to use a 32-bit build in a 64-bit kernel will not work. I'm not sure what you're trying to do but wireless support in releng5 is unlikely to be very satisfying; switch to releng6. Sam