All pastes #14376 Raw Edit

private

public text v1 · immutable
#14376 ·published 2005-06-13 20:45 UTC
rendered paste body
[root@localhost preeth]# apt-get install hsflinmodem-4.06.06.02-1.i586.rpm
Reading Package Lists... Done
Building Dependency Tree... Done
Selecting hsflinmodem for 'hsflinmodem-4.06.06.02-1.i586.rpm'
The following NEW packages will be installed:
  hsflinmodem
0 upgraded, 1 newly installed, 0 removed and 0 not upgraded.
Need to get 0B/881kB of archives.
After unpacking 2916kB of additional disk space will be used.
Committing changes...
Preparing...                ########################################### [100%]
   1:hsflinmodem            ########################################### [100%]
Linux HSF softmodem drivers, version 4.06.06.02
grep: /proc/ksyms: No such file or directory
/usr/bin/hsfsysid: line 99: [: too many arguments

No pre-built HSF modules are available for your exact kernel:
                Linux-2.6.9-1.667-i686-RedHat-3

Assuming that a C compiler and proper kernel header files are present
on your system, we will now attempt to re-compile the modules.

Re-compiling HSF modules for kernel 2.6.9-1.667, using source directory
/lib/modules/2.6.9-1.667/build. Please wait..

ERROR: Module re-compilation and installation failed!
Please examine the log file "/tmp/hsfconfig-recomp.log.3647" to determine why.
error: %post(hsflinmodem-4.06.06.02-1.i586) scriptlet failed, exit status 1
W: Some errors occurred while running transaction

---------------------And The Log Reads As below-----------------------

In file included from <command line>:1:
/lib/modules/2.6.9-1.667/build/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
rm -f *.o
In file included from <command line>:1:
/lib/modules/2.6.9-1.667/build/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
make[1]: Entering directory `/usr/lib/hsf/modules/osspec'
rm -f *.o
make[1]: Leaving directory `/usr/lib/hsf/modules/osspec'
make -C osspec all
In file included from <command line>:1:
/lib/modules/2.6.9-1.667/build/include/linux/config.h:6:2: #error including kernel header in userspace; use the glibc headers instead!
make[1]: Entering directory `/usr/lib/hsf/modules/osspec'
* Compiling osmemory.c
cc1: warning: command line option "-fcheck-new" is valid for C++/ObjC++ but not for C
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
In file included from <command line>:22:
/lib/modules/2.6.9-1.667/build/include/linux/config.h:8:1: /lib/modules/2.6.9-1.667/build/include/linux/modversions.h: No such file or directory
In file included from osmemory.c:51:
../../modules/osspec/include/oscompat.h:62:26: linux/tqueue.h: No such file or directory
In file included from /lib/modules/2.6.9-1.667/build/include/linux/irq.h:20,
                 from /lib/modules/2.6.9-1.667/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.9-1.667/build/include/linux/hardirq.h:6,
                 from /lib/modules/2.6.9-1.667/build/include/linux/interrupt.h:11,
                 from ../../modules/osspec/include/oscompat.h:64,
                 from osmemory.c:51:
/lib/modules/2.6.9-1.667/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.9-1.667/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.9-1.667/build/include/linux/hardirq.h:6,
                 from /lib/modules/2.6.9-1.667/build/include/linux/interrupt.h:11,
                 from ../../modules/osspec/include/oscompat.h:64,
                 from osmemory.c:51:
/lib/modules/2.6.9-1.667/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.9-1.667/build/include/linux/irq.h:72,
                 from /lib/modules/2.6.9-1.667/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.9-1.667/build/include/linux/hardirq.h:6,
                 from /lib/modules/2.6.9-1.667/build/include/linux/interrupt.h:11,
                 from ../../modules/osspec/include/oscompat.h:64,
                 from osmemory.c:51:
/lib/modules/2.6.9-1.667/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
osmemory.c: In function `OsMemDMAAllocate':
osmemory.c:219: error: called object is not a function
osmemory.c:219: error: syntax error before string constant
make[1]: *** [osmemory.o] Error 1
make[1]: Leaving directory `/usr/lib/hsf/modules/osspec'
make: *** [osspec] Error 2