[syslinux] Syslinux 5 Path Option.

Michael D. Setzer II mikes at kuentos.guam.net
Tue Dec 11 06:12:42 PST 2012


On 11 Dec 2012 at 13:30, Matt Fleming wrote:

Subject:        	Re: [syslinux] Syslinux 5 Path Option.
From:           	Matt Fleming <matt at console-pimps.org>
To:             	"Michael D. Setzer II" 
<mikes at kuentos.guam.net>
Copies to:      	Syslinux at zytor.com
Date sent:      	Tue, 11 Dec 2012 13:30:14 +0000

> On Tue, 2012-12-11 at 12:55 +1000, Michael D. Setzer II wrote:
> > I'm not seeing how to set this path option?
> > Here is what I get using vesamenu.c32 as an example when 
> > moved to a directory outside of the build. The current syslinux 4.06
> > has all the files in the same directory which is at the root of the
> > cd.
> > 
> > ldd vesamenu.c32
> > 
> > linux-gate.so.1 =>  (0xb77c5000)
> > ../../com32/libutil/libutil_com.c32 => not found
> > ../../com32/lib/libcom32.c32 => not found
> > 
> > readelf -d vesamenu.c32
> > 
> > Dynamic section at offset 0x635c contains 17 entries:
> >   Tag        Type                         Name/Value
> >  0x00000001 (NEEDED)                     Shared library: 
> > [../../com32/libutil/libutil_com.c32]
> >  0x00000001 (NEEDED)                     Shared library: 
> > [../../com32/lib/libcom32.c32]
> >  0x6ffffef5 (GNU_HASH)                   0x94
> >  0x00000005 (STRTAB)                     0x830
> >  0x00000006 (SYMTAB)                     0x200
> >  0x0000000a (STRSZ)                      1199 (bytes)
> >  0x0000000b (SYMENT)                     16 (bytes)
> >  0x00000003 (PLTGOT)                     0x6458
> >  0x00000002 (PLTRELSZ)                   552 (bytes)
> >  0x00000014 (PLTREL)                     REL
> >  0x00000017 (JMPREL)                     0x10a8
> >  0x00000011 (REL)                        0xce0
> >  0x00000012 (RELSZ)                      968 (bytes)
> >  0x00000013 (RELENT)                     8 (bytes)
> >  0x00000016 (TEXTREL)                    0x0
> >  0x6ffffffa (RELCOUNT)                   70
> >  0x00000000 (NULL)                       0x0
> > 
> > So where does one modify this new PATH setting? The 
> > ../../com32 path is in plan text using hexedit to look at, and could
> > be manually modified, but that wouldn't appear to be the best way to
> > modify it, and would probable be an unwanted hack.
> 
> You can safely ignore the paths of these DT_NEEDED entries - they're
> not used internally by Syslinux, only the final path component is
> used, e.g. libcom32.c32.
> 
> I'll fix the paths in the DT_NEEDED entries in the future so that it's
> less confusing.
> 
Have done some testing with a build tree were I replaced the 4.06 
with the 5.00 files and all the c32 it needed. 

First time, it gave a message that ldlinux.c32 was missing, so 
added that to the directory. 

Then it was able to display the menu, and it works mostly.
hdt runs fine except it doesn't seem to find the pci.ids file as it 
works using 4.06. It also works if I reboot to exit hdt, but if I exit it 
will not go back to the menu. Gives message 
Failed to load COM32 file vesamenu.c32




> -- 
> Matt Fleming, Intel Open Source Technology Center
> 


+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:mikes at kuentos.guam.net                            
  mailto:msetzerii at gmail.com
  http://www.guam.net/home/mikes
  Guam - Where America's Day Begins                        
  G4L Disk Imaging Project maintainer 
  http://sourceforge.net/projects/g4l/
+----------------------------------------------------------+

http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned:  19,471
Processing time:  32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)

BOINC at HOME CREDITS
SETI        13416295.233487   |   EINSTEIN     9305112.319852
ROSETTA      5539904.166756   |   ABC         15581177.139740




More information about the Syslinux mailing list