Can't compile latest loongson community kernel

18 views
Skip to first unread message

Stefan Midjich

unread,
Feb 19, 2012, 5:11:50 AM2/19/12
to loongs...@googlegroups.com
I'm still exploring this world with my new lemote so I'm not 100% sure what kernel is best. Debian wheezy worked with everything except battery status so that's why I kept exploring other ones. 

Right now the linux-loongson-community kernel fails to compile modules with this error;

drivers/net/wireless/rtl8187b/r8187_core.c:6677:2: error: unknown field ‘ndo_set_multicast_list’ specified in initializer
drivers/net/wireless/rtl8187b/r8187_core.c:6677:2: warning: initialization from incompatible pointer type [enabled by default]
drivers/net/wireless/rtl8187b/r8187_core.c:6677:2: warning: (near initialization for ‘rtl8187_netdev_ops.ndo_set_config’) [enabled by default]

 

Lluís Batlle i Rossell

unread,
Feb 19, 2012, 5:25:45 AM2/19/12
to loongs...@googlegroups.com
On Sun, Feb 19, 2012 at 02:11:50AM -0800, Stefan Midjich wrote:
> I'm still exploring this world with my new lemote so I'm not 100% sure what
> kernel is best. Debian wheezy worked with everything except battery status
> so that's why I kept exploring other ones.
>
> Right now the linux-loongson-community kernel fails to compile modules with
> this error;
>
> drivers/net/wireless/rtl8187b/r8187_core.c:6677:2: error: unknown field
> ‘ndo_set_multicast_list’ specified in initializer
> drivers/net/wireless/rtl8187b/r8187_core.c:6677:2: warning: initialization
> from incompatible pointer type [enabled by default]
> drivers/net/wireless/rtl8187b/r8187_core.c:6677:2: warning: (near
> initialization for ‘rtl8187_netdev_ops.ndo_set_config’) [enabled by default]

Btw, some days ago I tried to build that kernel (3.2 branch), and it built. But
there are changes in the serial port loading (compared to mainline linux),
that don't work in the fuloong2f. The serial port is totally misconfigured in
that branch.

Roman Mamedov

unread,
Feb 19, 2012, 5:39:46 AM2/19/12
to loongs...@googlegroups.com, stefan....@gmail.com

Hello,

Seems that the Lemote-added 8187B driver is not brought up-to-date with some
recent change in the kernel. But in my opinion it is not really needed,
because the in-kernel 8187 driver works fine for quite some time now.

Ensure you have in your kernel config:

CONFIG_RTL8187=m
CONFIG_RTL8187_LEDS=y
# CONFIG_RTL8187B is not set

--
With respect,
Roman

~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Stallman had a printer,
with code he could not see.
So he began to tinker,
and set the software free."

signature.asc
Reply all
Reply to author
Forward
0 new messages