Re: drivers/w1/w1_int.c compile error with NET=n

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 19, 2005 at 02:05:49AM +0200, Adrian Bunk ([email protected]) wrote:
> I'm seeing the following compile error in 2.6.13-rc3-mm1 (but it doesn't 
> seem to be specific to -mm) with CONFIG_NET=n:
> 
> <--  snip  -->
> 
> ...
>   LD      .tmp_vmlinux1
> drivers/built-in.o: In function `w1_alloc_dev':
> w1_int.c:(.text+0x65d81f): undefined reference to `netlink_kernel_create'
> w1_int.c:(.text+0x65d881): undefined reference to `sock_release'
> drivers/built-in.o: In function `w1_free_dev':
> w1_int.c:(.text+0x65d8e9): undefined reference to `sock_release'
> make: *** [.tmp_vmlinux1] Error 1
> 
> <--  snip  -->
> 

Something changed...
Those functions were exported before even with NET disabled.
There is a NETLINK_DISABLE config option which guards message
sending, now it should guard socket creation too.

Thanks, Adrian, I will create a patch for it.

> 
> cu
> Adrian
> 
> -- 
> 
>        "Is there not promise of rain?" Ling Tan asked suddenly out
>         of the darkness. There had been need of rain for many days.
>        "Only a promise," Lao Er said.
>                                        Pearl S. Buck - Dragon Seed
> 

-- 
	Evgeniy Polyakov
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux