iPXE discussion forum

Full Version: Building iPXE
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ok, so I think I have all the dependencies to build iPXE,

Quote:You will need to have at least the following packages installed in order to build iPXE:

◾ gcc (version 3 or later)
◾ binutils (version 2.18 or later)
◾ make
◾ perl
◾ syslinux (for isolinux, only needed for building .iso images)
◾ liblzma or xz header files

The computer I am trying to build on is not connected to the internet, so that creates some complexity. I downloaded what I think is the libzma header files and added them to
Code:
/usr/local/include

then I do
Code:
cd src
make
and it starts building but halts on
Code:
[AR] bin/blib.a
ar: creating bin/blib.a
[HOSTCC] util.zbin
util.zbin.c: In function 'process_zinfo_pack':
util/zbin.c:272:2 error: unknown type name 'lzma_options_lzma'
So does that mean I have the wrong lzma.h ?

I am using Ubuntu, I ported over the lzma files myself, but am not sure they got configured correctly. I don't have a package installer on the Ubuntu box I don't think.

Any ideas?
(2016-06-06 23:45)jbirlingmair Wrote: [ -> ]I downloaded what I think is the libzma header files and added them to /usr/local/include
...
I am using Ubuntu, I ported over the lzma files myself...

Don't do that. Just install the liblzma-dev package for Ubuntu.

Michael
(2016-06-07 12:57)mcb30 Wrote: [ -> ]
(2016-06-06 23:45)jbirlingmair Wrote: [ -> ]I downloaded what I think is the libzma header files and added them to /usr/local/include
...
I am using Ubuntu, I ported over the lzma files myself...

Don't do that. Just install the liblzma-dev package for Ubuntu.

Michael

Ok, I got the libLZMA-dev package installed and iPXE compiled fine. Thanks
hi
today ,I am using Ubuntu update the new version , use make bin/ipxe.iso , , echo error:
cp: 在'bin/iso.dir.1C669U' 后缺少了要操作的目标文件
Try 'cp --help' for more information.
genisoimage: Uh oh, I cant find the boot image 'isolinux.bin' !
rm bin/ipxe.lkrn.zbin bin/ipxe.lkrn.zinfo bin/version.ipxe.lkrn.o bin/ipxe.lkrn.bin

and make bin/ipxe.pxe , http protocol is not work?
(2016-07-08 09:50)zulinfi Wrote: [ -> ]today ,I am using Ubuntu update the new version , use make bin/ipxe.iso , , echo error:
cp: 在'bin/iso.dir.1C669U' 后缺少了要操作的目标文件
Try 'cp --help' for more information.
genisoimage: Uh oh, I cant find the boot image 'isolinux.bin' !
rm bin/ipxe.lkrn.zbin bin/ipxe.lkrn.zinfo bin/version.ipxe.lkrn.o bin/ipxe.lkrn.bin

You will need to have the syslinux package (which contains isolinux) installed if you want to build iPXE ISO images.

Quote:and make bin/ipxe.pxe , http protocol is not work?

You have given no information here. See http://www.chiark.greenend.org.uk/~sgtatham/bugs.html.

Michael
Reference URL's