iPXE discussion forum
make error with new tg3 driver - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: make error with new tg3 driver (/showthread.php?tid=2049)



make error with new tg3 driver - kralizeck - 2012-02-08 14:13

Hi.
I'm trying to build from last source (git 30 Jan 2012 23:10:53 +0000) with the new tg3 driver and I get this error:

Code:
[BUILD] bin/tg3.o
drivers/net/tg3/tg3.c: In function ‘tg3_test_dma’:
drivers/net/tg3/tg3.c:536:12: error: variable ‘saved_dma_rwctrl’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

make: *** [bin/tg3.o] Error 1

Any help will be appreciated, I need this new driver for my network card.

Thanks.


RE: make error with new tg3 driver - mcb30 - 2012-02-09 18:07

(2012-02-08 14:13)kralizeck Wrote:  [code][BUILD] bin/tg3.o
drivers/net/tg3/tg3.c: In function ‘tg3_test_dma’:
drivers/net/tg3/tg3.c:536:12: error: variable ‘saved_dma_rwctrl’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

Should now be fixed.

Michael