Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Building iPXE
2016-06-06, 23:45
Post: #1
Building iPXE
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?
Find all posts by this user
Quote this message in a reply
2016-06-07, 12:57
Post: #2
RE: Building iPXE
(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
Visit this user's website Find all posts by this user
Quote this message in a reply
2016-07-06, 15:09
Post: #3
RE: Building iPXE
(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
Find all posts by this user
Quote this message in a reply
2016-07-08, 09:50
Post: #4
RE: Building iPXE
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?
Find all posts by this user
Quote this message in a reply
2016-07-08, 10:15
Post: #5
RE: Building iPXE
(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
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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