vxp wrote:
hi
this is another one of my possibly lame questions..
so i wrote a module, it compiles with a few warnings (was too lazy to put
func prototypes, so it outputs warnings about that).
among other things, the compilation produces an icmp.ko (name of my mod)
but when i try to do kldload ./i
On Fri, 10 Sep 2004 22:23:16 -0400 (EDT), vxp <[EMAIL PROTECTED]>
wrote:
>
> digital-security# pwd
> /usr/home/vxp/mycode/reboot
> digital-security# ls -l icmp.ko
> -rwxr-xr-x 1 vxp vxp 7548 Sep 10 21:31 icmp.ko
> digital-security# kldload ./icmp.ko
> kldload: can't load ./icmp.ko: No such fil
In message: <[EMAIL PROTECTED]>
vxp <[EMAIL PROTECTED]> writes:
: static int
: load_handler(module_t mod, int what, void *arg)
: {
: variable declarations here..
:
: case MOD_LOAD:
: blah blah blah
: break;
: case MOD_UNLOAD:
:
vxp wrote this message on Fri, Sep 10, 2004 at 22:33 -0400:
> link_elf: symbol min undefined
>
> hm
> i guess we're getting close to the root of my problem. :)
> to explain what min is:
>
> take a look at /sys/netinet/ip_icmp.c please
> in icmp_input() on line 273 theres:
> i = hlen + min(icmplen
link_elf: symbol min undefined
hm
i guess we're getting close to the root of my problem. :)
to explain what min is:
take a look at /sys/netinet/ip_icmp.c please
in icmp_input() on line 273 theres:
i = hlen + min(icmplen, ICMP_ADVLENMIN);
my module replaces (or, i guess, i should say _should_ re
vxp wrote this message on Fri, Sep 10, 2004 at 22:23 -0400:
> digital-security# pwd
> /usr/home/vxp/mycode/reboot
> digital-security# ls -l icmp.ko
> -rwxr-xr-x 1 vxp vxp 7548 Sep 10 21:31 icmp.ko
> digital-security# kldload ./icmp.ko
> kldload: can't load ./icmp.ko: No such file or directory
>
digital-security# pwd
/usr/home/vxp/mycode/reboot
digital-security# ls -l icmp.ko
-rwxr-xr-x 1 vxp vxp 7548 Sep 10 21:31 icmp.ko
digital-security# kldload ./icmp.ko
kldload: can't load ./icmp.ko: No such file or directory
digital-security#
On Fri, 10 Sep 2004, Chuck Tuffli wrote:
> On Fri,
maybe 'kldload ./icmp.ko'
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
hi
this is another one of my possibly lame questions..
so i wrote a module, it compiles with a few warnings (was too lazy to put
func prototypes, so it outputs warnings about that).
among other things, the compilation produces an icmp.ko (name of my mod)
but when i try to do kldload ./icmp.ko it
9 matches
Mail list logo