• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Install Failed when Compiling iPXE

Scheduled Pinned Locked Moved Unsolved
FOG Problems
2
2
96
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I
    Itay1787
    last edited by 24 days ago

    When installing Fog, I get an error

    * Compiling iPXE binaries trusting your SSL certificate.......Failed!
    
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !! The installer was not able to run all the way to the end as   !!
    !! something has caused it to fail. The following few lines are  !!
    !! from the error log file which might help us figure out what's !!
    !! wrong. Please add this information when reporting an error.   !!
    !! As well you might want to take a look at the full error log   !!
    !! in /opt/fogproject-1.5.10.1655/bin/error_logs/fog_error_1.5.10.1655.log !!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    
    May 10 13:44:07 IDF-KDE-Fog dhcpd[40386]: Wrote 0 leases to leases file.
    May 10 13:44:07 IDF-KDE-Fog dhcpd[40386]: Server starting service.
    May 10 13:44:09 IDF-KDE-Fog isc-dhcp-server[40374]: Starting ISC DHCPv4 server: dhcpd.
    May 10 13:44:09 IDF-KDE-Fog systemd[1]: Started isc-dhcp-server.service - LSB: DHCP server.
    cp: cannot stat '/tftpboot/*': No such file or directory
    

    FOG version - 1.5.10.1655 and in the dev-branch - 1.5.10.1658
    OS: Debian 12

    iPXE Logs:

      [HOSTCC] util/zbin32
    util/zbin.c: In function 'process_zinfo_zrel':
    util/zbin.c:615:23: error: unknown type name 'Elf_Rel'
      615 |                 const Elf_Rel *rel;
          |                       ^~~~~~~
    util/zbin.c:616:23: error: unknown type name 'Elf_Rela'
      616 |                 const Elf_Rela *rela;
          |                       ^~~~~~~~
    util/zbin.c:619:9: error: unknown type name 'Elf_Addr'; did you mean 'Elf64_Addr'?
      619 |         Elf_Addr *address;
          |         ^~~~~~~~
          |         Elf64_Addr
    util/zbin.c:620:9: error: unknown type name 'Elf_Addr'; did you mean 'Elf64_Addr'?
      620 |         Elf_Addr addend;
          |         ^~~~~~~~
          |         Elf64_Addr
    util/zbin.c:625:9: error: unknown type name 'zrel_t'
      625 |         zrel_t *records;
          |         ^~~~~~
    util/zbin.c:626:9: error: unknown type name 'zrel_t'
      626 |         zrel_t *record;
          |         ^~~~~~
    util/zbin.c:666:24: error: implicit declaration of function 'ELF_R_TYPE'; did you mean 'ELF32_R_TYPE'? [-Werror=implicit-function-declaration]
      666 |                 type = ELF_R_TYPE ( erel.rel->r_info );
          |                        ^~~~~~~~~~
          |                        ELF32_R_TYPE
    util/zbin.c:666:45: error: request for member 'r_info' in something not a structure or union
      666 |                 type = ELF_R_TYPE ( erel.rel->r_info );
          |                                             ^~
    util/zbin.c:667:36: error: request for member 'r_offset' in something not a structure or union
      667 |                 offset = ( erel.rel->r_offset - output->base );
          |                                    ^~
    util/zbin.c:674:43: error: request for member 'r_addend' in something not a structure or union
      674 |                         addend = erel.rela->r_addend;
          |                                           ^~
    util/zbin.c:73:34: error: 'zrel_t' undeclared (first use in this function); did you mean 'zrel'?
       73 | #define ZREL_BITS ( 8 * sizeof ( zrel_t ) )
          |                                  ^~~~~~
    util/zbin.c:74:30: note: in expansion of macro 'ZREL_BITS'
       74 | #define ZREL_NO_SKIP_LIMIT ( ZREL_BITS - 1 )
          |                              ^~~~~~~~~
    util/zbin.c:75:37: note: in expansion of macro 'ZREL_NO_SKIP_LIMIT'
       75 | #define ZREL_NO_SKIP_FLAG ( 1ULL << ZREL_NO_SKIP_LIMIT )
          |                                     ^~~~~~~~~~~~~~~~~~
    util/zbin.c:713:43: note: in expansion of macro 'ZREL_NO_SKIP_FLAG'
      713 |                                 *record = ZREL_NO_SKIP_FLAG;
          |                                           ^~~~~~~~~~~~~~~~~
    util/zbin.c:73:34: note: each undeclared identifier is reported only once for each function it appears in
       73 | #define ZREL_BITS ( 8 * sizeof ( zrel_t ) )
          |                                  ^~~~~~
    util/zbin.c:74:30: note: in expansion of macro 'ZREL_BITS'
       74 | #define ZREL_NO_SKIP_LIMIT ( ZREL_BITS - 1 )
          |                              ^~~~~~~~~
    util/zbin.c:75:37: note: in expansion of macro 'ZREL_NO_SKIP_LIMIT'
       75 | #define ZREL_NO_SKIP_FLAG ( 1ULL << ZREL_NO_SKIP_LIMIT )
          |                                     ^~~~~~~~~~~~~~~~~~
    util/zbin.c:713:43: note: in expansion of macro 'ZREL_NO_SKIP_FLAG'
      713 |                                 *record = ZREL_NO_SKIP_FLAG;
          |                                           ^~~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors
    make: *** [Makefile.housekeeping:1443: util/zbin32] Error 1
    
    R 1 Reply Last reply 23 days ago Reply Quote 0
    • R
      rodluz Developer @Itay1787
      last edited by 23 days ago

      @Itay1787 I just pushed a change to the dev-branch. Please try installing it again from there and let me know how it goes.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      1 / 1
      • First post
        1/2
        Last post

      170

      Online

      12.0k

      Users

      17.3k

      Topics

      155.2k

      Posts
      Copyright © 2012-2024 FOG Project