Re: [patch] 2.4.16: 802.1Q VLAN non-modular

willy tarreau (wtarreau@yahoo.fr)
Tue, 27 Nov 2001 08:55:42 +0100 (CET)


> By the way, I just successfully compiled 2.4.16
(including
> VLAN builtin) with no problems. It looks like
Maciej is
> compiling MIPS, so it may be a bug particular to
that
> platform??

Ben, you remember the patch I sent to you a few weeks
ago ?
VLAN didn't link builtin on alpha because
vlan_proc_cleanup()
in section __exit was called from vlan_proc_init() in
section
__init, and it semt that the absolute offsets between
these
two functions were too big for the linker to put it on
a 16 bit
value (which was the space reserved for a relative
call, it
seems). So the linker complained and stopped. I had to
extract
the cleanup from __exit and put it into another
function which
worked.

Regards,
Willy

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Courrier : http://courrier.yahoo.fr
-
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/