Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > Is there a way to install hsflinmodem under 2.6 series kernel?
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 8th August 12:24
xiaoyong jin
External User
 
Posts: 1
Default Is there a way to install hsflinmodem under 2.6 series kernel?



Yes, it be emerged under my kernel linux-2.6.7-gentoo-r8
with no pain. However, when I run hsfconfig, errors
appeared:
------>------
Where is the linux source build directory that matches your running kernel?
[/lib/modules/2.6.7-gentoo-r8/build]

WARNING: missing file
/lib/modules/2.6.7-gentoo-r8/build/include/linux/modversions.h
The cause of this problem is usually a missing or misconfigured
kernel source tree (and sometimes an incorrect directory or symbolic link).

First, ensure that the proper kernel source and compiler packages
from your distribution vendor and/or the community are installed.

The Linux kernel can then be reconfigured by running "make menuconfig"
under the kernel source directory (usually /usr/src/linux).

Verify that the proper options for your system are selected,
and that CONFIG_SMP ("Symmetric multi-processing support" under
"Processor type and features") is disabled, as this driver is
presently designed to work on single-processor machines.

Then compile and install your new kernel (for more information about
this procedure, see the README file under the kernel source directory),
reboot the system using the new kernel, and re-run "hsfconfig".
------<------

I found that modversions.h do exists but under
/lib/modules/2.6.7-gentoo-r8/build/include/config. And the hsfconfig
tries to find is the old 2.4 way.

And later I copied that file to the path hsfconfig intends to find in.
Then another error raised. This is copied from /tmp/hsfconfig-buildlog.txt:
------<------
tail: `-1' option is obsolete; use `-n 1' since this will be removed in the futu
re
rm -f *.o *.a
tail: `-1' option is obsolete; use `-n 1' since this will be removed in the futu
re
make[1]: Entering directory `/usr/lib/hsf/modules/osspec'
rm -f *.o *.a
make[1]: Leaving directory `/usr/lib/hsf/modules/osspec'
* compiling (gcc) mod_osspec.c
In file included from /lib/modules/2.6.7-gentoo-r8/build/include/linux/irq.h:20,
from /lib/modules/2.6.7-gentoo-r8/build/include/asm/hardirq.h:6
,
from /lib/modules/2.6.7-gentoo-r8/build/include/linux/interrupt
..h:11,
from ../modules/osspec/include/oscompat.h:66,
from mod_osspec.c:51:
/lib/modules/2.6.7-gentoo-r8/build/include/asm/irq.h:16:25: irq_vectors.h: No su
ch file or directory
In file included from /lib/modules/2.6.7-gentoo-r8/build/include/asm/hardirq.h:6
,
from /lib/modules/2.6.7-gentoo-r8/build/include/linux/interrupt
..h:11,
from ../modules/osspec/include/oscompat.h:66,
from mod_osspec.c:51:
/lib/modules/2.6.7-gentoo-r8/build/include/linux/irq.h:70: error: `NR_IRQS' unde
clared here (not in a function)
In file included from /lib/modules/2.6.7-gentoo-r8/build/include/linux/irq.h:72,
from /lib/modules/2.6.7-gentoo-r8/build/include/asm/hardirq.h:6
,
from /lib/modules/2.6.7-gentoo-r8/build/include/linux/interrupt
..h:11,
from ../modules/osspec/include/oscompat.h:66,
from mod_osspec.c:51:
/lib/modules/2.6.7-gentoo-r8/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTO
RS' undeclared here (not in a function)
/lib/modules/2.6.7-gentoo-r8/build/include/asm/hw_irq.h:32: error: `NR_IRQS' und
eclared here (not in a function)
In file included from mod_osspec.c:51:
.../modules/osspec/include/oscompat.h:121:2: #error Preemptible kernel option (CO
NFIG_PREEMPT) not yet supported. Reconfigure your kernel without it.
In file included from mod_osspec.c:51:
.../modules/osspec/include/oscompat.h: In function `cnxthsf_OsModuleUseCountInc':
.../modules/osspec/include/oscompat.h:246: warning: `MOD_INC_USE_COUNT' is deprec
ated (declared at /lib/modules/2.6.7-gentoo-r8/build/include/linux/module.h:529)
.../modules/osspec/include/oscompat.h: In function `cnxthsf_OsModuleUseCountDec':
.../modules/osspec/include/oscompat.h:251: warning: `MOD_DEC_USE_COUNT' is deprec
ated (declared at /lib/modules/2.6.7-gentoo-r8/build/include/linux/module.h:541)
.../modules/osspec/include/oscompat.h:274:5: missing terminating " character
.../modules/osspec/include/oscompat.h:320:1: missing terminating " character
make: *** [mod_osspec.o] Error 1
------<-------

Any one knows how to install it under 2.6 kernel?

Thanks.

--
gentoo-user@gentoo.org mailing list
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666