Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2012 11:26:19 -0000
From:      "Steven Hartland" <killing@multiplay.co.uk>
To:        "Nikolay Denev" <ndenev@gmail.com>, "Marcin Markowski" <mmarkowski@leon.pl>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Performance problem using Intel X520-DA2
Message-ID:  <66BBF95CED1F4B2B8233EC2D5A610ACD@multiplay.co.uk>
References:  <159d4fbce722663a84f3cea12da828a5@leon.pl><6A254A40-7DA5-4EFE-93C5-4E084F33B78A@gmail.com> <62333c6068c0df493b2e4e9ec86f34d2@leon.pl>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message ----- 
From: "Marcin Markowski" <mmarkowski@leon.pl>
> I tried to compile the kernel with NETMAP on FreeBSD 8 and 9, but I get 
> warnings and
> the compilation ends.
> 
> cc1: warnings being treated as errors
> ../../../dev/netmap/netmap.c: In function 'netmap_memory_init':
> ../../../dev/netmap/netmap.c:1557: warning: format '%d' expects type 
> 'int', but argument 7 has type 'size_t'
> ../../../dev/netmap/netmap.c:1564: warning: format '%d' expects type 
> 'int', but argument 7 has type 'size_t'
> ../../../dev/netmap/netmap.c: In function 'netmap_memory_fini':
> ../../../dev/netmap/netmap.c:1607: warning: format '%d' expects type 
> 'int', but argument 2 has type 'size_t'
> ../../../dev/netmap/netmap.c: In function 'netmap_init':
> ../../../dev/netmap/netmap.c:1636: warning: format '%d' expects type 
> 'int', but argument 2 has type 'size_t'
> *** Error code 1
> 
> I'll try HEAD and see if it will be the same.

If its just that error, change %d to %ld and that should fix it.

    Regards
    Steve

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster@multiplay.co.uk.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?66BBF95CED1F4B2B8233EC2D5A610ACD>