Discussion:
[gPXE] Build error in image.c
Bart Kus
2014-06-28 16:20:36 UTC
Permalink
Hello,

When building from the latest git master branch:

[BUILD] bin/image.o
core/image.c: In function ?alloc_image?:
core/image.c:68:3: error: the comparison will always evaluate as ?false?
for the address of ?free_image? will never be NULL [-Werror=address]
cc1: all warnings being treated as errors
make: *** [bin/image.o] Error 1

I also noticed the latest commit is very old:

commit c23508d796325f8af724ad497c99ffb5a49abea0
Author: Marty Connor <mdc at etherboot.org>
Date: Mon Aug 15 20:57:04 2011 -0400

Is gPXE a dead project? Or do I just have the wrong remote configured:

origin git://git.etherboot.org/scm/gpxe.git (fetch)

Thanks for any help,

--Bart
Robb III, George B.
2014-06-28 22:52:54 UTC
Permalink
Hi Bart-

Your git origin looks correct. What build flags are being used?

I've personally not seen much chatter on these lists in quite a while.
That said, poke at the IRC channels. I was able to talk directly with
Marty C. and received excellent help.

Considering the age of the last commit, the project owners may have taken
up other gauntlets. If the code is still able to be pulled the project is
never dead. ;-)

Hope this helps and let's dive into why you are not getting a clean
compilation.

George
Post by Bart Kus
Hello,
[BUILD] bin/image.o
core/image.c:68:3: error: the comparison will always evaluate as ?false?
for the address of ?free_image? will never be NULL [-Werror=address]
cc1: all warnings being treated as errors
make: *** [bin/image.o] Error 1
commit c23508d796325f8af724ad497c99ffb5a49abea0
Author: Marty Connor <mdc at etherboot.org>
Date: Mon Aug 15 20:57:04 2011 -0400
origin git://git.etherboot.org/scm/gpxe.git (fetch)
Thanks for any help,
--Bart
_______________________________________________
gPXE mailing list
gPXE at etherboot.org
http://etherboot.org/mailman/listinfo/gpxe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://etherboot.org/pipermail/gpxe/attachments/20140628/5da88a42/attachment.html>
Hilko Bengen
2014-07-05 18:02:57 UTC
Permalink
Post by Bart Kus
commit c23508d796325f8af724ad497c99ffb5a49abea0
Author: Marty Connor <mdc at etherboot.org>
Date: Mon Aug 15 20:57:04 2011 -0400
Please have a look at iPXE (http://ipxe.org/).

-Hilko

Loading...