I am trying to compile a Linuxant driver for Vector Linux SOHO 5.1. It compliles ok but when I try to configure it I get this error.
Code:
Makefile:20: *** WARNING: Trying to compile kernel modules on a unknown system while the installed hcfpci driver package is for i386, this is likely to fail... ***
make: execvp: ../modules/kernelcompiler.sh: Permission denied
(cd /lib/modules/2.6.13/build && make "CNXT_KERNELSRC=/lib/modules/2.6.13/build" "M=/usr/lib/hcfpcimodem/modules" "CC=" clean)
/usr/src/linux-2.6.13/scripts/gcc-version.sh: line 11: -E: command not found
/usr/src/linux-2.6.13/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]: Entering directory `/usr/src/linux-2.6.13'
/usr/lib/hcfpcimodem/modules/Makefile:20: *** WARNING: Trying to compile kernel modules on a unknown system while the installed hcfpci driver package is for i386, this is likely to fail... ***
make[2]: execvp: /usr/lib/hcfpcimodem/modules/kernelcompiler.sh: Permission denied
make[1]: Leaving directory `/usr/src/linux-2.6.13'
rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd .tmp_versions .tmp_versions /lib/modules/2.6.13/build/.tmp_versions/hcfpciosspec.mod /lib/modules/2.6.13/build/.tmp_versions/hcfpciserial.mod /lib/modules/2.6.13/build/.tmp_versions/hcfpciengine.mod /lib/modules/2.6.13/build/.tmp_versions/hcfpcihw.mod
(cd /lib/modules/2.6.13/build && make "CNXT_KERNELSRC=/lib/modules/2.6.13/build" "M=/usr/lib/hcfpcimodem/modules" "CC=" modules)
/usr/src/linux-2.6.13/scripts/gcc-version.sh: line 11: -E: command not found
/usr/src/linux-2.6.13/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]: Entering directory `/usr/src/linux-2.6.13'
WARNING: Symbol version dump /usr/src/linux-2.6.13/Module.symvers
is missing; modules will have no dependencies and modversions.
/usr/lib/hcfpcimodem/modules/Makefile:20: *** WARNING: Trying to compile kernel modules on a unknown system while the installed hcfpci driver package is for i386, this is likely to fail... ***
make[2]: execvp: /usr/lib/hcfpcimodem/modules/kernelcompiler.sh: Permission denied
CC [M] /usr/lib/hcfpcimodem/modules/mod_engine.o
/bin/sh: -Wp,-MD,/usr/lib/hcfpcimodem/modules/.mod_engine.o.d: No such file or directory
make[2]: *** [/usr/lib/hcfpcimodem/modules/mod_engine.o] Error 1
make[1]: *** [_module_/usr/lib/hcfpcimodem/modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.13