how to compile the IPv6 module without compiling the whole kernel?

how to compile the IPv6 module without compiling the whole kernel?

Post by huya » Fri, 18 Apr 2003 16:12:58



Hello! everyone:
   I am a novice in Linux.I meet with a problem now.
   If someone knows how to compile the IPv6 module without compiling the whole
Linux kernel,please email to me.
   Thanks a lot.
 
 
 

1. Compiling modules without compiling kernel

Hello All,

Is there a way I can compile a module without compiling the kernel?

To be more specific, I'm trying to use ppp on the system and the admin
didn't compile the module when he compiled the kernel.  I want this to
be a loadable module.  

Also I want to be able to compile any module in the future so if there
is a generic way, I like to know.

The command I used (with no luck) is the following:

gcc -I/usr/src/linux-2.2.18/include/  -DMODULE -D__KERNEL__ -O6 -c
ppp.c

I'm getting the following error:

ppp.c:176: parse error before `EXPORT_SYMTAB_not_defined'
ppp.c:176: warning: data definition has no type or storage class
ppp.c:177: parse error before `EXPORT_SYMTAB_not_defined'
ppp.c:177: warning: data definition has no type or storage class
ppp.c:264: parse error before `EXPORT_SYMTAB_not_defined'
ppp.c:264: warning: data definition has no type or storage class

Any help would be great.  Thank you in advance for your help.

Joseph

2. Xsun core dump

3. how to load modules without compiling kernel

4. poppassd on Solaris 2.5

5. Compiling 2.4.2 kernel on RH7 with compiled modules

6. Big companies port to Linux

7. 2.5.1-pre2: ipv6 module compile fails

8. NFS server kernel panic

9. Redhat 5.1 - ANSWERS - compile kernel, modules, /lib/modules/preferred

10. Compiling the kernel: to module or not to module?

11. Compiling kernels / Drivers...the whole bit

12. 2.4.9 kernel and iptables-1.2.3 compile problem - something with IPv6 multi port wrong?

13. Help: Kernel module doesn't compile after kernel upgrade.