![]() | |||||||||||||
Messages in this thread |
Hi, I am trying to compile a module that uses: extern struct net_protocol tcp_protocol; /* The TCP protocol already defined */ when I compile it, it gives me the warning: *** Warning: "tcp_protocol" [/home/hedpe/host_driver.ko] undefined! so when I try to load it anyways, dmesg of course gives me: host_driver: Unknown symbol tcp_protocol So of course I searched a little deeper and found the structure defined in /usr/src/linux/net/ipv4/af_inet.c (2.6.15-r1) Can anyone provide me some insight on this, if I am maybe missing support in my kernel? I will paste some of my kernel settings below. Please CC me when responding so that the mail goes directly to me. Thank you! George monster linux # grep "NET" /usr/src/linux/.config CONFIG_NET=y # CONFIG_NET_KEY is not set CONFIG_INET=y # CONFIG_NET_IPIP is not set # CONFIG_NET_IPGRE is not set # CONFIG_INET_AH is not set # CONFIG_INET_ESP is not set # CONFIG_INET_IPCOMP is not set # CONFIG_INET_TUNNEL is not set CONFIG_INET_DIAG=y CONFIG_INET_TCP_DIAG=y CONFIG_NETFILTER=y # CONFIG_NETFILTER_DEBUG is not set # CONFIG_NETFILTER_NETLINK is not set # CONFIG_IP_NF_NETBIOS_NS is not set CONFIG_IP_NF_TARGET_NETMAP=y # CONFIG_DECNET is not set # CONFIG_NET_DIVERT is not set # CONFIG_ECONET is not set # CONFIG_NET_SCHED is not set # CONFIG_NET_PKTGEN is not set CONFIG_NETDEVICES=y # CONFIG_NET_SB1000 is not set # CONFIG_ARCNET is not set CONFIG_NET_ETHERNET=y # CONFIG_NET_VENDOR_3COM is not set # CONFIG_NET_VENDOR_SMC is not set # CONFIG_NET_VENDOR_RACAL is not set # CONFIG_NET_TULIP is not set # CONFIG_NET_ISA is not set CONFIG_NET_PCI=y # CONFIG_PCNET32 is not set # CONFIG_NET_POCKET is not set CONFIG_NET_RADIO=y CONFIG_NET_WIRELESS=y # CONFIG_NET_FC is not set # CONFIG_NETCONSOLE is not set # CONFIG_NETPOLL is not set # CONFIG_NET_POLL_CONTROLLER is not set # CONFIG_USB_USBNET is not set - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2006-02-17 09:20 [from the cache] ©2003-2008 | |||||||||||||