hsfconfig error: module build failed!

Anything that pertains to Portage

Moderator: Moderators

Post Reply
jlester87
Baby Hen
Posts: 6
Joined: Mon Apr 23, 2007 11:19

hsfconfig error: module build failed!

Post by jlester87 » Mon May 21, 2007 5:09

help me im new to linux.. thanks for your help

Code: Select all

Makefile:20: *** WARNING: Trying to compile kernel modules on a AuthenticAMD system while the installed hsf driver package is for i386, this is likely to fail... ***
(cd /usr/src/linux-2.6.20-sabayon-r3 && make "CNXT_KERNELSRC=/usr/src/linux-2.6.20-sabayon-r3" "M=/usr/lib/hsfmodem/modules" "CC=gcc" clean)
make[1]: Entering directory `/usr/src/linux-2.6.20-sabayon-r3'
/usr/lib/hsfmodem/modules/Makefile:20: *** WARNING: Trying to compile kernel modules on a AuthenticAMD system while the installed hsf driver package is for i386, this is likely to fail... ***
make[1]: Leaving directory `/usr/src/linux-2.6.20-sabayon-r3'
(cd /usr/src/linux-2.6.20-sabayon-r3 && make "CNXT_KERNELSRC=/usr/src/linux-2.6.20-sabayon-r3" "M=/usr/lib/hsfmodem/modules/GPL/hda" "CC=gcc" "HDA_CFLAGS=-DFOUND_KZALLOC  -DFOUND_TLV   -DFOUND_IRQ_HANDLER_T -DFOUND_DELAYED_WORK -DFOUND_SOUND_TYPEDEFS" clean)
make[1]: Entering directory `/usr/src/linux-2.6.20-sabayon-r3'
make[1]: Leaving directory `/usr/src/linux-2.6.20-sabayon-r3'
rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd .tmp_versions .tmp_versions  /usr/src/linux-2.6.20-sabayon-r3/.tmp_versions/hsfosspec.mod  /usr/src/linux-2.6.20-sabayon-r3/.tmp_versions/hsfserial.mod  /usr/src/linux-2.6.20-sabayon-r3/.tmp_versions/hsfengine.mod  /usr/src/linux-2.6.20-sabayon-r3/.tmp_versions/hsfpcibasic2.mod  /usr/src/linux-2.6.20-sabayon-r3/.tmp_versions/hsfmc97ich.mod  /usr/src/linux-2.6.20-sabayon-r3/.tmp_versions/hsfmc97via.mod  /usr/src/linux-2.6.20-sabayon-r3/.tmp_versions/hsfmc97ali.mod  /usr/src/linux-2.6.20-sabayon-r3/.tmp_versions/hsfmc97ati.mod  /usr/src/linux-2.6.20-sabayon-r3/.tmp_versions/hsfmc97sis.mod  /usr/src/linux-2.6.20-sabayon-r3/.tmp_versions/hsfsoar.mod Modules.symvers GPL/hda/Modules.symvers
(cd /usr/src/linux-2.6.20-sabayon-r3 && make "CNXT_KERNELSRC=/usr/src/linux-2.6.20-sabayon-r3" "M=/usr/lib/hsfmodem/modules" "CC=gcc" modules)
make[1]: Entering directory `/usr/src/linux-2.6.20-sabayon-r3'

  WARNING: Symbol version dump /usr/src/linux-2.6.20-sabayon-r3/Module.symvers
           is missing; modules will have no dependencies and modversions.

/usr/lib/hsfmodem/modules/Makefile:20: *** WARNING: Trying to compile kernel modules on a AuthenticAMD 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_hda.o
  CC [M]  /usr/lib/hsfmodem/modules/mod_mc97ali.o
  CC [M]  /usr/lib/hsfmodem/modules/mod_mc97ati.o
  CC [M]  /usr/lib/hsfmodem/modules/mod_mc97ich.o
  CC [M]  /usr/lib/hsfmodem/modules/mod_mc97sis.o
  CC [M]  /usr/lib/hsfmodem/modules/mod_mc97via.o
  CC [M]  /usr/lib/hsfmodem/modules/mod_osspec.o
  CC [M]  /usr/lib/hsfmodem/modules/osservices.o
In file included from /usr/lib/hsfmodem/modules/imported/include/osservices.h:93,
                 from /usr/lib/hsfmodem/modules/osservices.c:37:
/usr/lib/hsfmodem/modules/imported/include/comtypes.h:109: error: expected declaration specifiers or ‘...’ before ‘*’ token
/usr/lib/hsfmodem/modules/imported/include/comtypes.h:109: warning: type defaults to ‘int’ in declaration of ‘BOOL’
/usr/lib/hsfmodem/modules/imported/include/comtypes.h:109: error: ‘BOOL’ declared as function returning a function
/usr/lib/hsfmodem/modules/imported/include/comtypes.h:109: warning: function declaration isn’t a prototype
In file included from /usr/lib/hsfmodem/modules/osservices.c:37:
/usr/lib/hsfmodem/modules/imported/include/osservices.h:124: error: ‘cnxthsf_OsAtomicCompareAndSwapEx’ declared as function returning a function
/usr/lib/hsfmodem/modules/imported/include/osservices.h:283: error: ‘cnxthsf_OsLockTry’ declared as function returning a function
/usr/lib/hsfmodem/modules/imported/include/osservices.h:564: error: ‘cnxthsf_OsSetPeriodicTimer’ declared as function returning a function
/usr/lib/hsfmodem/modules/imported/include/osservices.h:678: error: ‘cnxthsf_OsFloatSuffix’ declared as function returning a function
/usr/lib/hsfmodem/modules/imported/include/osservices.h:731: error: ‘cnxthsf_OsKernelUsesRegParm’ declared as function returning a function
/usr/lib/hsfmodem/modules/osservices.c:253: error: ‘cnxthsf_OsLockTry’ declared as function returning a function
/usr/lib/hsfmodem/modules/osservices.c:299: error: ‘cnxthsf_OsAtomicCompareAndSwapEx’ declared as function returning a function
/usr/lib/hsfmodem/modules/osservices.c:405: error: field ‘highestprio’ declared as a function
/usr/lib/hsfmodem/modules/osservices.c: In function ‘cnxthsf_OsCreatePeriodicTimer’:
/usr/lib/hsfmodem/modules/osservices.c:928: warning: passing argument 2 of ‘cnxthsf_OsThreadCreate’ makes pointer from integer without a cast
/usr/lib/hsfmodem/modules/osservices.c: At top level:
/usr/lib/hsfmodem/modules/osservices.c:1004: error: ‘cnxthsf_OsSetPeriodicTimer’ declared as function returning a function
/usr/lib/hsfmodem/modules/osservices.c: In function ‘cnxthsf_OsRawNLPrintf’:
/usr/lib/hsfmodem/modules/osservices.c:1321: warning: passing argument 3 of ‘cnxthsf_OsRawVPrintf’ makes pointer from integer without a cast
/usr/lib/hsfmodem/modules/osservices.c: In function ‘regParmUsed’:
/usr/lib/hsfmodem/modules/osservices.c:1662: error: invalid lvalue in assignment
/usr/lib/hsfmodem/modules/osservices.c: At top level:
/usr/lib/hsfmodem/modules/osservices.c:1671: error: ‘cnxthsf_OsKernelUsesRegParm’ declared as function returning a function
/usr/lib/hsfmodem/modules/osservices.c: In function ‘cnxthsf_OsKernelUsesRegParm’:
/usr/lib/hsfmodem/modules/osservices.c:1676: warning: return makes integer from pointer without a cast
make[2]: *** [/usr/lib/hsfmodem/modules/osservices.o] Error 1
make[1]: *** [_module_/usr/lib/hsfmodem/modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20-sabayon-r3'
make: *** [all] Error 2

intuxik8ed
Baby Hen
Posts: 7
Joined: Fri May 04, 2007 12:39
Location: Manila, Philippines
Contact:

Post by intuxik8ed » Mon May 21, 2007 8:14

We have the same modem chipset. Mine's a D-Link DFM-562IS. Here's how I got mine working:

Download this http://distfiles.gentoo.org/distfiles/h ... ull.tar.gz

Then stick it into the /usr/portage/distfiles folder

Then fire up a terminal and type emerge hsfmodem

And then wait for it to finish. :)

But you only get 14.4 Kbps with it. If you wanna get full speed then you'll have to pay 20 bucks to Linuxant (sounds more like Lisuckxant to me) for a license key. BTW, 20 bucks can get you a nice second hand external hardware serial modem that doesn't need a driver to get it to work in Linux, or even Windows.

miansancor
Baby Hen
Posts: 5
Joined: Mon Oct 16, 2006 20:26

Post by miansancor » Tue Jun 12, 2007 23:00

I am tried to do the same as you but there is still the same problem:

Code: Select all

Makefile:20: *** WARNING: Trying to compile kernel modules on a GenuineIntel system while the installed hsf driver package is for i386, this is likely to fail... ***
make: execvp: ../modules/kernelcompiler.sh: Permiso denegado
(cd /lib/modules/2.6.20-sabayon-r3/build && make "CNXT_KERNELSRC=/lib/modules/2.6.20-sabayon-r3/build" "M=/usr/lib/hsfmodem/modules" "CC=" clean)
/usr/src/linux-2.6.20-sabayon-r3/scripts/gcc-version.sh: line 11: -E: command not found
/usr/src/linux-2.6.20-sabayon-r3/scripts/gcc-version.sh: line 12: -E: command not found
/bin/sh: --: invalid option
Usage:	/bin/sh [GNU long option] [option] ...
	/bin/sh [GNU long option] [option] script-file ...
GNU long options:
	--debug
	--debugger
	--dump-po-strings
	--dump-strings
	--help
	--init-file
	--login
	--noediting
	--noprofile
	--norc
	--posix
	--protected
	--rcfile
	--restricted
	--verbose
	--version
	--wordexp
Shell options:
	-irsD or -c command or -O shopt_option		(invocation only)
	-abefhkmnptuvxBCHP or -o option
make[1]: se ingresa al directorio `/usr/src/linux-2.6.20-sabayon-r3'
/usr/lib/hsfmodem/modules/Makefile:20: *** WARNING: Trying to compile kernel modules on a GenuineIntel system while the installed hsf driver package is for i386, this is likely to fail... ***
make[2]: execvp: /usr/lib/hsfmodem/modules/kernelcompiler.sh: Permiso denegado
make[1]: se sale del directorio `/usr/src/linux-2.6.20-sabayon-r3'
(cd /lib/modules/2.6.20-sabayon-r3/build && make "CNXT_KERNELSRC=/lib/modules/2.6.20-sabayon-r3/build" "M=/usr/lib/hsfmodem/modules/GPL/hda" "CC=" "HDA_CFLAGS=-DFOUND_KZALLOC  -DFOUND_TLV   -DFOUND_IRQ_HANDLER_T -DFOUND_DELAYED_WORK" clean)
/usr/src/linux-2.6.20-sabayon-r3/scripts/gcc-version.sh: line 11: -E: command not found
/usr/src/linux-2.6.20-sabayon-r3/scripts/gcc-version.sh: line 12: -E: command not found
/bin/sh: --: invalid option
Usage:	/bin/sh [GNU long option] [option] ...
	/bin/sh [GNU long option] [option] script-file ...
GNU long options:
	--debug
	--debugger
	--dump-po-strings
	--dump-strings
	--help
	--init-file
	--login
	--noediting
	--noprofile
	--norc
	--posix
	--protected
	--rcfile
	--restricted
	--verbose
	--version
	--wordexp
Shell options:
	-irsD or -c command or -O shopt_option		(invocation only)
	-abefhkmnptuvxBCHP or -o option
make[1]: se ingresa al directorio `/usr/src/linux-2.6.20-sabayon-r3'
make[1]: se sale del directorio `/usr/src/linux-2.6.20-sabayon-r3'
rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd .tmp_versions .tmp_versions  /lib/modules/2.6.20-sabayon-r3/build/.tmp_versions/hsfosspec.mod  /lib/modules/2.6.20-sabayon-r3/build/.tmp_versions/hsfserial.mod  /lib/modules/2.6.20-sabayon-r3/build/.tmp_versions/hsfengine.mod  /lib/modules/2.6.20-sabayon-r3/build/.tmp_versions/hsfpcibasic2.mod  /lib/modules/2.6.20-sabayon-r3/build/.tmp_versions/hsfmc97ich.mod  /lib/modules/2.6.20-sabayon-r3/build/.tmp_versions/hsfmc97via.mod  /lib/modules/2.6.20-sabayon-r3/build/.tmp_versions/hsfmc97ali.mod  /lib/modules/2.6.20-sabayon-r3/build/.tmp_versions/hsfmc97ati.mod  /lib/modules/2.6.20-sabayon-r3/build/.tmp_versions/hsfmc97sis.mod  /lib/modules/2.6.20-sabayon-r3/build/.tmp_versions/hsfsoar.mod Modules.symvers GPL/hda/Modules.symvers
(cd /lib/modules/2.6.20-sabayon-r3/build && make "CNXT_KERNELSRC=/lib/modules/2.6.20-sabayon-r3/build" "M=/usr/lib/hsfmodem/modules" "CC=" modules)
/usr/src/linux-2.6.20-sabayon-r3/scripts/gcc-version.sh: line 11: -E: command not found
/usr/src/linux-2.6.20-sabayon-r3/scripts/gcc-version.sh: line 12: -E: command not found
/bin/sh: --: invalid option
Usage:	/bin/sh [GNU long option] [option] ...
	/bin/sh [GNU long option] [option] script-file ...
GNU long options:
	--debug
	--debugger
	--dump-po-strings
	--dump-strings
	--help
	--init-file
	--login
	--noediting
	--noprofile
	--norc
	--posix
	--protected
	--rcfile
	--restricted
	--verbose
	--version
	--wordexp
Shell options:
	-irsD or -c command or -O shopt_option		(invocation only)
	-abefhkmnptuvxBCHP or -o option
make[1]: se ingresa al directorio `/usr/src/linux-2.6.20-sabayon-r3'
/usr/lib/hsfmodem/modules/Makefile:20: *** WARNING: Trying to compile kernel modules on a GenuineIntel system while the installed hsf driver package is for i386, this is likely to fail... ***
make[2]: execvp: /usr/lib/hsfmodem/modules/kernelcompiler.sh: Permiso denegado
  CC [M]  /usr/lib/hsfmodem/modules/mod_engine.o
/bin/sh: -Wp,-MD,/usr/lib/hsfmodem/modules/.mod_engine.o.d: No existe el fichero o el directorio
make[2]: *** [/usr/lib/hsfmodem/modules/mod_engine.o] Error 1
make[1]: *** [_module_/usr/lib/hsfmodem/modules] Error 2
make[1]: se sale del directorio `/usr/src/linux-2.6.20-sabayon-r3'
make: *** [all] Error 2
For me is important being able to use the inner modem I am using an Acer Aspire 5672WLMi
Thanks for any help!
[email protected][/quote] :?

Post Reply