Subject: Re: Problem recompiling lkm
To: None <netbsd-help@netbsd.org>
From: None <roberto@redix.it>
List: netbsd-help
Date: 05/11/2004 10:36:42
> Quentin Garnier wrote:
> Le Mon, 10 May 2004 16:35:40 +0200 (CEST)
> roberto@redix.it a ecrit :
> [...]
>> exec(/usr/src/tools/tools.NetBSD-1.6.2-i386/bin/i386--netbsdelf-gcc)
>> failed (No such file or directory)*** Error code 1
>
> export USETOOLS=no
>
> See how it tries to find a toolchain.
>
> --
> Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
> "Feels like I'm fiddling while Rome is burning down.
> Should I lay my fiddle down and take a rifle from the ground ?"
> Leigh Nash/Sixpence None The Richer, Paralyzed, Divine Discontents, 2002.
>

Setting the USETOOLS var. to "no" the make process is successful, and the
if_ipl.o module is built. Thanks!
I'm sorry, actually I do not know much about the "toolchain" (my apologizes).

But the "make load" showsroot@netbsd:/usr/src/sys/lkm/netinet/if_ipl# make
load
/sbin/modload  -o if_ipl if_ipl.o
ld: Warning: size of symbol `ippr_h245_out' changed from 324 to 345 in
if_ipl.o
ld: Warning: size of symbol `nat_new' changed from 2495 to 2459 in if_ipl.o
ld: Warning: size of symbol `ippr_ftp_pasv' changed from 624 to 642 in
if_ipl.o
ld: Warning: size of symbol `send_reset' changed from 471 to 491 in if_ipl.o
ld: Warning: size of symbol `ippr_raudio_in' changed from 930 to 938 in
if_ipl.o
...(output cut!!)
ld: Warning: size of symbol `countbits' changed from 78 to 90 in if_ipl.o
ld: Warning: size of symbol `fr_delgroup' changed from 198 to 60 in if_ipl.o
ld: Warning: size of symbol `aps_free' changed from 406 to 124 in if_ipl.o
Module loaded as ID 0

At the end the module is loaded: but what about the previous ld warnings?

Thanks,
Roberto