The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
build error in nrv2b.c on Ubuntu 11.10 32bits
2012-04-19, 01:35
Post: #1
build error on Ubuntu 11.10 32bits
Hello -


git cloned today ( git clone git://git.ipxe.org/ipxe.git )

and immediately ran make

The first "make" command failed with this error:

ar: creating bin/blib.a
[HOSTCC] util/zbin
In file included from util/zbin.c:6:0:
util/nrv2b.c: In function ‘find_match’:
util/nrv2b.c:633:17: error: array subscript is above array bounds [-Werror=array-bounds]
util/nrv2b.c:634:14: error: array subscript is above array bounds [-Werror=array-bounds]
cc1: all warnings being treated as errors

make: *** [util/zbin] Error 1


I am using a Ubuntu 11.10 (upgraded from 10.10, upgraded from 10.04) x86 environment in a VMWare guest (but I don't think this is important).
All updates applied. I undertsand what the error mean and that I could even get rid of it by making the build environment considering it a non-stopping warning, but this is not clean and is certainly not expected.

Thanks in advance for your help
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
build error on Ubuntu 11.10 32bits - MrLeV - 2012-04-19 01:35



User(s) browsing this thread: 3 Guest(s)