Difference between revisions of "Building"

From Syslinux Wiki
Jump to: navigation, search
(New "Building" wiki page, with (evolving) info not completely adequate for doc/building.txt.)
 
m (Patch to deal with glibc 2.23, major, minor, makedev functions.)
Line 6: Line 6:
 
   --> preventing Syslinux from building correctly. The bug in <!--  
 
   --> preventing Syslinux from building correctly. The bug in <!--  
 
   --> bintuils 2.26 was resolved in a later commit.
 
   --> bintuils 2.26 was resolved in a later commit.
 +
 +
* When building with glibc 2.23+, the "major", "minor" and "makedev" <!--
 +
  --> functions are defined in {{nowrap|"<tt>sys/sysmacros.h</tt>"}}. <!--
 +
  --> The patch <!--
 +
  --> [http://repo.or.cz/syslinux.git/commit/1a74985b2a404639b08882c57f3147229605dfd5 "extlinux: pull in sys/sysmacros.h for major/minor/makedev"], <!--
 +
  --> applied to Syslinux during 2016Apr, should help.  <!--
 +
  --> Please note that not only Syslinux is affected by this change in glibc.
  
 
== See also ==
 
== See also ==

Revision as of 14:57, 25 April 2016

  • NASM 2.11.06 has a bug which prevents Syslinux from building correctly. Use other version of NASM (e.g. 2.11.05, 2.11.08, among others).
  • binutils 2.26, as originally released upstream, has a bug preventing Syslinux from building correctly. The bug in bintuils 2.26 was resolved in a later commit.
  • When building with glibc 2.23+, the "major", "minor" and "makedev" functions are defined in "sys/sysmacros.h". The patch "extlinux: pull in sys/sysmacros.h for major/minor/makedev", applied to Syslinux during 2016Apr, should help. Please note that not only Syslinux is affected by this change in glibc.

See also