2.2.0-pre[23] cannot modularize Packet Socket

Kevin Burtch (kburtch@bellsouth.net)
Sun, 03 Jan 1999 00:03:41 -0500 (EST)


In response for Linus' public request for testing and bug reports, I have
finally subscribed to the Linux-Kernel mailing list, and have my first report
to submit. ( please be gentle ;^)

In both 2.2.0-pre[23] if you build Packet Socket as a module, the resulting
module af_packet.o ends up with "unresolved symbol(s)". This is not the case
in 2.1.132. ( I didn't try 2.2.0-pre1 ):

/lib/modules/2.2.0-pre3/misc/af_packet.o: unresolved symbol rtnl_wlockct
/lib/modules/2.2.0-pre3/misc/af_packet.o: unresolved symbol rtnl

When compiled into the kernel, it works fine.
Not sure if it matters, but I'm using SMP (and it rocks!)
I am building on a RedHat 5.1 system.
I can post my full config if something else may be relevant here.

#
# Networking options
#
CONFIG_PACKET=m
CONFIG_NETLINK=y
CONFIG_RTNETLINK=y
# CONFIG_NETLINK_DEV is not set
# CONFIG_FIREWALL is not set
# CONFIG_NET_ALIAS is not set
# CONFIG_FILTER is not set
CONFIG_UNIX=y
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_IP_ROUTER is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_ALIAS is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set

#
# (it is safe to leave these untouched)
#
# CONFIG_INET_RARP is not set
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y
# CONFIG_IPV6 is not set

#
#
#
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_BRIDGE is not set
# CONFIG_LLC is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set
# CONFIG_CPU_IS_SLOW is not set

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set

Later,
Kevin Burtch

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/