module question

Ben Pfaff pfaffben@msu.edu
10 Sep 2000 19:47:12 -0400


"Marcel Kunath" <kunathma@pilot.msu.edu> writes:

> Can somebody tell me if it is possible to compile this module without the
> kernel source in any way? I wish they had created a makefile for it.
> 
> http://www.coritel.it/projects/sofia/nat.html

You probably could.

> Which makes me wonder....I compiled ip_masq_icq.c in the past without source in
> /usr/src/linux. Do we need the source present?

Probably not.  I would just run GCC with appropriate options and
see if it works.  Unfortunately the "appropriate options" may not
be easy to determine.  Check the sources for a suggested command;
it may be in a comment at the beginning or the end of the source
code.  (Note that Emacs can automatically pick up on this sort of
thing for use with say "M-x compile" when it is formatted
properly; for instance, all of Donald Becker's network drivers
have such suggestions at the end of the source code.)