View previous topic :: View next topic |
Author |
Message |
Efo Guru
Joined: 23 Jun 2005 Posts: 498
|
Posted: Thu May 25, 2006 7:17 pm Post subject: HSFmodem: hsf driver package is for i386 [SOLVED] |
|
|
Hi guys,
I just updated the kernel and now my "ALi Corporation M5457 AC'97 Modem Controller" doesnt work anymore. When I run HSFconfig I get an error when it is building the modules.
_______________________________________________________________
No pre-built modules for: unknown-unknown linux-2.6.16-gentoo-r7 i686
Trying to automatically build the driver modules...
(this requires a C compiler and proper kernel sources to be installed)
Where is the linux source build directory that matches your running kernel?
[/lib/modules/2.6.16-gentoo-r7/build]
Building modules for kernel 2.6.16-gentoo-r7, using source directory
/lib/modules/2.6.16-gentoo-r7/build. Please wait...
ERROR: Module build failed!
________________________________________________________________
The hsfconfig-buildlog.txt gives me
________________________________________________________________
Makefile:20: *** WARNING: Trying to compile kernel modules on a unknown system while the installed hsf driver package is for i386, this is likely to fail... ***
(cd /lib/modules/2.6.16-gentoo-r7/build && make "CNXT_KERNELSRC=/lib/modules/2.6.16-gentoo-r7/build" "M=/usr/lib/hsfmodem/modules" "CC=gcc" clean)
make[1]: Entering directory `/usr/src/linux-2.6.16-gentoo-r7'
/usr/lib/hsfmodem/modules/Makefile:20: *** WARNING: Trying to compile kernel modules on a unknown system while the installed hsf driver package is for i386, this is likely to fail... ***
make[1]: Leaving directory `/usr/src/linux-2.6.16-gentoo-r7'
rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd .tmp_versions .tmp_versions /lib/modules/2.6.16-gentoo-r7/build/.tmp_versions/hsfosspec.mod /lib/modules/2.6.16-gentoo-r7/build/.tmp_versions/hsfserial.mod /lib/modules/2.6.16-gentoo-r7/build/.tmp_versions/hsfengine.mod /lib/modules/2.6.16-gentoo-r7/build/.tmp_versions/hsfpcibasic2.mod /lib/modules/2.6.16-gentoo-r7/build/.tmp_versions/hsfmc97ich.mod /lib/modules/2.6.16-gentoo-r7/build/.tmp_versions/hsfmc97via.mod /lib/modules/2.6.16-gentoo-r7/build/.tmp_versions/hsfmc97ali.mod /lib/modules/2.6.16-gentoo-r7/build/.tmp_versions/hsfmc97ati.mod /lib/modules/2.6.16-gentoo-r7/build/.tmp_versions/hsfmc97sis.mod /lib/modules/2.6.16-gentoo-r7/build/.tmp_versions/hsfsoar.mod
(cd /lib/modules/2.6.16-gentoo-r7/build && make "CNXT_KERNELSRC=/lib/modules/2.6.16-gentoo-r7/build" "M=/usr/lib/hsfmodem/modules" "CC=gcc" modules)
make[1]: Entering directory `/usr/src/linux-2.6.16-gentoo-r7'
/usr/lib/hsfmodem/modules/Makefile:20: *** WARNING: Trying to compile kernel modules on a unknown system while the installed hsf driver package is for i386, this is likely to fail... ***
CC [M] /usr/lib/hsfmodem/modules/mod_engine.o
CC [M] /usr/lib/hsfmodem/modules/mod_mc97ali.o
In file included from /usr/lib/hsfmodem/modules/mod_mc97ali.c:32:
/usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function `cnxthwpci_probe':
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:86: warning: implicit declaration of function `pm_register'
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:86: warning: assignment makes pointer from integer without a cast
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:137: warning: implicit declaration of function `pm_unregister'
CC [M] /usr/lib/hsfmodem/modules/mod_mc97ati.o
In file included from /usr/lib/hsfmodem/modules/mod_mc97ati.c:26:
/usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function `cnxthwpci_probe':
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:86: warning: implicit declaration of function `pm_register'
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:86: warning: assignment makes pointer from integer without a cast
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:137: warning: implicit declaration of function `pm_unregister'
CC [M] /usr/lib/hsfmodem/modules/mod_mc97ich.o
In file included from /usr/lib/hsfmodem/modules/mod_mc97ich.c:37:
/usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function `cnxthwpci_probe':
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:86: warning: implicit declaration of function `pm_register'
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:86: warning: assignment makes pointer from integer without a cast
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:137: warning: implicit declaration of function `pm_unregister'
CC [M] /usr/lib/hsfmodem/modules/mod_mc97sis.o
In file included from /usr/lib/hsfmodem/modules/mod_mc97sis.c:25:
/usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function `cnxthwpci_probe':
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:86: warning: implicit declaration of function `pm_register'
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:86: warning: assignment makes pointer from integer without a cast
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:137: warning: implicit declaration of function `pm_unregister'
CC [M] /usr/lib/hsfmodem/modules/mod_mc97via.o
In file included from /usr/lib/hsfmodem/modules/mod_mc97via.c:25:
/usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function `cnxthwpci_probe':
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:86: warning: implicit declaration of function `pm_register'
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:86: warning: assignment makes pointer from integer without a cast
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:137: warning: implicit declaration of function `pm_unregister'
CC [M] /usr/lib/hsfmodem/modules/mod_osspec.o
CC [M] /usr/lib/hsfmodem/modules/osservices.o
CC [M] /usr/lib/hsfmodem/modules/osstdio.o
CC [M] /usr/lib/hsfmodem/modules/osnvm.o
CC [M] /usr/lib/hsfmodem/modules/osresour.o
CC [M] /usr/lib/hsfmodem/modules/osstring.o
CC [M] /usr/lib/hsfmodem/modules/osmemory.o
CC [M] /usr/lib/hsfmodem/modules/osdiag.o
/usr/lib/hsfmodem/modules/osdiag.c: In function `diag_read':
/usr/lib/hsfmodem/modules/osdiag.c:480: warning: implicit declaration of function `update_atime'
CC [M] /usr/lib/hsfmodem/modules/osusb.o
CC [M] /usr/lib/hsfmodem/modules/osfloat.o
CC [M] /usr/lib/hsfmodem/modules/osdcp.o
/usr/lib/hsfmodem/modules/osdcp.c: In function `dcp_read':
/usr/lib/hsfmodem/modules/osdcp.c:197: warning: implicit declaration of function `update_atime'
CC [M] /usr/lib/hsfmodem/modules/mod_pcibasic2.o
In file included from /usr/lib/hsfmodem/modules/mod_pcibasic2.c:140:
/usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function `cnxthwpci_probe':
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:86: warning: implicit declaration of function `pm_register'
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:86: warning: assignment makes pointer from integer without a cast
/usr/lib/hsfmodem/modules/cnxthwpci_common.c:137: warning: implicit declaration of function `pm_unregister'
CC [M] /usr/lib/hsfmodem/modules/GPL/serial_cnxt.o
/usr/lib/hsfmodem/modules/GPL/serial_cnxt.c: In function `cnxt_rx_chars':
/usr/lib/hsfmodem/modules/GPL/serial_cnxt.c:239: error: structure has no member named `flip'
/usr/lib/hsfmodem/modules/GPL/serial_cnxt.c:243: error: structure has no member named `flip'
/usr/lib/hsfmodem/modules/GPL/serial_cnxt.c:245: error: structure has no member named `flip'
/usr/lib/hsfmodem/modules/GPL/serial_cnxt.c:254: error: structure has no member named `flip'
/usr/lib/hsfmodem/modules/GPL/serial_cnxt.c:255: error: structure has no member named `flip'
/usr/lib/hsfmodem/modules/GPL/serial_cnxt.c:256: error: structure has no member named `flip'
/usr/lib/hsfmodem/modules/GPL/serial_cnxt.c:266: error: structure has no member named `flip'
/usr/lib/hsfmodem/modules/GPL/serial_cnxt.c:268: error: structure has no member named `flip'
/usr/lib/hsfmodem/modules/GPL/serial_cnxt.c:270: error: structure has no member named `flip'
/usr/lib/hsfmodem/modules/GPL/serial_cnxt.c:271: error: structure has no member named `flip'
make[2]: *** [/usr/lib/hsfmodem/modules/GPL/serial_cnxt.o] Error 1
make[1]: *** [_module_/usr/lib/hsfmodem/modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16-gentoo-r7'
make: *** [all] Error 2
_________________________________________________________________
It looks like it would build for i386 and not i686, does anyone knows a way around this?
Before it used to work but I think it may have been built the modules on the architecture i386-pc-linux-gnu. Is there a way I can build the modules using i386 and then integrate them in i686?
thanks
Efo
Last edited by Efo on Fri May 26, 2006 1:26 am; edited 1 time in total |
|
Back to top |
|
|
Efo Guru
Joined: 23 Jun 2005 Posts: 498
|
Posted: Fri May 26, 2006 1:25 am Post subject: |
|
|
I went to www.linuxant.com and they have a nice installer (cnxtinstall.run).
That did the trick.
thanks,
Efo |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|