From: Andreas Ruprecht <mail@xxxxxxxxx> Date: Thu, 04 Dec 2014 18:36:37 +0100 > On 04.12.2014 17:34, Jim Davis wrote: >> Building with the attached random configuration file, >> >> drivers/built-in.o: In function `rocker_port_fdb_learn_work': >> /home/jim/linux/drivers/net/ethernet/rocker/rocker.c:3014: undefined >> reference to `br_fdb_external_learn_del' >> /home/jim/linux/drivers/net/ethernet/rocker/rocker.c:3016: undefined >> reference to `br_fdb_external_learn_add' >> > > Hi, > > the problem here is that CONFIG_BRIDGE is set to 'm' (leading to > inclusion of the two functions above in the kernel module) while > CONFIG_ROCKER is set to 'y', requiring the functions at link time. > > Is the attached patch sufficient to fix this? Do not use select, please. You can only use select on leaf node Kconfig symbols, ie. those which do not have any dependencies whatsoever. Select does not recursively walk down the dependency chain turning things on for you when you say "select X". -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html