[NTLUG:Discuss] Internet Sharing in Linux
Mark Bickel
eusmb at exu.ericsson.se
Mon Mar 4 12:00:25 CST 2002
> From discuss-admin at ntlug.org Sun Mar 3 15:02 CST 2002
> Subject: Re: [NTLUG:Discuss] Internet Sharing in Linux
> From: Patrick Parks <patrick at patrickparks.com>
> To: discuss at ntlug.org
> Date: 03 Mar 2002 15:01:15 -0600
> ok, I ran the first command:
>
> gcc -DMODULE -DMODVERSIONS -D__KERNEL__ -I/usr/src/linux/net/inet -Wall
> -Wstrict-prototypes -O6 -c dm9xs.c
>
> it thought for a moment then finished and now I have a nice shiny new
> dm9xs.o in the directory where the makefile and dm9xs.c is.
You've just made the module. Now place a copy in the directory where your modules
are loaded and then do "modprobe -v dm9xs";note the results. If you are sucessful
you'll probably want to edit /etc/modules.conf (or in /etc/modules/ or elsewhere)
so that the module is loaded automaticly at boot time
> now I dont know if I am reading this right or not but I think it is
> telling me to run the command:
>
> make mod
>
> I do this and get this error:
>
> [root at computer temp]# make mod
> make: *** No rule to make target `dmfe.c', needed by `mod'. Stop.
Have you looked at the makefile? What does it say? I suspect you don't need to
do a "make mod" as you have in fact already compiled it. Makefiles are just scripts.
/Mark
More information about the Discuss
mailing list