Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
bash-2.05b# make
D¬@D¬@D¬@D¬@/bin/sh: -W: invalid option
Usage: /bin/sh [GNU long option] [option] ...
/bin/sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
/bin/sh: -W: invalid option
Usage: /bin/sh [GNU long option] [option] ...
/bin/sh [GNU long option] [option] script-file ...
GNU long options:
--debug
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
Wall -DLINUX -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -D__NO_VERSION__ -O2 -pipe -I/usr/src/linux/include -I. -Wstrict-prototypes -fomit-frame-pointer -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DVMNS -c -o rhine_main.o rhine_main.c
make: Wall: Command not found
make: [rhine_main.o] Error 127 (ignored)
Wall -DLINUX -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -D__NO_VERSION__ -O2 -pipe -I/usr/src/linux/include -I. -Wstrict-prototypes -fomit-frame-pointer -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DVMNS -c -o rhine_proc.o rhine_proc.c
make: Wall: Command not found
make: [rhine_proc.o] Error 127 (ignored)
Wall -DLINUX -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -D__NO_VERSION__ -O2 -pipe -I/usr/src/linux/include -I. -Wstrict-prototypes -fomit-frame-pointer -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DVMNS -c -o rhine_wol.o rhine_wol.c
make: Wall: Command not found
make: [rhine_wol.o] Error 127 (ignored)
Wall -DLINUX -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -D__NO_VERSION__ -O2 -pipe -I/usr/src/linux/include -I. -Wstrict-prototypes -fomit-frame-pointer -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DVMNS -c -o rhine_vmns.o rhine_vmns.c
make: Wall: Command not found
make: [rhine_vmns.o] Error 127 (ignored)
ld: cannot open rhine_main.o: No such file or directory
make: *** [rhinefet.o] Error 1
bash-2.05b#
|
This post has been edited 1 times, last edit by "smash" (Nov 5th 2003, 2:53pm)
|
|
Source code |
1 |
make install |
|
|
Source code |
1 2 3 4 5 6 7 8 9 |
Compile the driver source files and it will generate rhinefet.o, and
copy it to correct driver installation path (The installation directory
is different in different kernel versions. In 2.4.x kernel, the path is
/lib/modules/KERNEL_VERSION/kernel/drivers/net/, and in 2.2.x kernel,
the path is /lib/modules/KERNEL_VERSION/net/, the KERNEL_VERSION (see
above) means the kernel version of your Linux distribution. If you don't
know your kernel version , please run 'uname -r' command in command
line. The kernel version will look like '2.2.16', '2.4.2-2smp' etc.) :
make install
|
This post has been edited 1 times, last edit by "holymoly" (Nov 5th 2003, 3:28pm)
Quoted
Ändere doch mal das Makefile
folgendermassen. Aus:
test_cc = $(shell which $(cc) > /dev/null 2>&1 && echo $(cc))
CC := $(foreach cc, $(CC), $(test_cc))
CC := $(firstword $(CC))
mach
#test_cc = $(shell which $(cc) > /dev/null 2>&1 && echo $(cc))
#CC := $(foreach cc, $(CC), $(test_cc))
#CC := $(firstword $(CC))
CC := gcc