[syslinux] Syslinux Digest, Vol 92, Issue 25

Aaron Luo luotanke at 163.com
Tue Nov 30 04:14:22 PST 2010


Sorry Gene,

I got the version of binutils is 2.17.
I download the latest Binutils to make the *objdump* and *objcopy*. with 
both of these utilities to create new pxelinux.raw.
then, the error message shows me that,

objcopy -O binary pxelinux.elf pxelinux.raw
../lzo/prepcore pxelinux.raw pxelinux.bin
../lzo/prepcore: pxelinux.raw: output too big (30165, max 0)
make[1]: *** [pxelinux.bin] Error 1

so, i thought maybe there is something wrong with the format of the 
pxelinux.raw.
is that right?

thanks aaron


----- Original Message ----- 
From: <syslinux-request at zytor.com>
To: <syslinux at zytor.com>
Sent: Tuesday, November 30, 2010 4:00 AM
Subject: Syslinux Digest, Vol 92, Issue 25


> Send Syslinux mailing list submissions to
> syslinux at zytor.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://www.zytor.com/mailman/listinfo/syslinux
> or, via email, send a message with subject or body 'help' to
> syslinux-request at zytor.com
>
> You can reach the person managing the list at
> syslinux-owner at zytor.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Syslinux digest..."
>
>
> Today's Topics:
>
>   1. Re: how to compile syslinux-4.03 (Aaron Luo)
>   2. Re: how to compile syslinux-4.03 (H. Peter Anvin)
>   3. Re: how to compile syslinux-4.03 (Gene Cumm)
>   4. Re: how to compile syslinux-4.03 (H. Peter Anvin)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 29 Nov 2010 22:09:45 +0800
> From: "Aaron Luo" <luotanke at 163.com>
> To: "Gene Cumm" <gene.cumm at gmail.com>, "For discussion of Syslinux and
> tftp-hpa" <syslinux at zytor.com>
> Subject: Re: [syslinux] how to compile syslinux-4.03
> Message-ID: <CF5E07E6C69E42E28766B76278C850F4 at d15fb1f705c642c>
> Content-Type: text/plain; format=flowed; charset="iso-8859-1";
> reply-type=original
>
> Hi Gene,
>
> thanks for your reply.
>
> My build system is RadHat Advance 5 update 5.
> the version of gcc is 4.1.2
> nasm is latest one, version is 2.0.9
> I don't know the builtin version. i just install bash from the disc.
>
> So, can you tell me the standard compile environment?
>
> thanks aaron
>
>
> ----- Original Message ----- 
> From: "Gene Cumm" <gene.cumm at gmail.com>
> To: "For discussion of Syslinux and tftp-hpa" <syslinux at zytor.com>
> Cc: "Aaron Luo" <luotanke at 163.com>
> Sent: Sunday, November 28, 2010 10:18 AM
> Subject: Re: [syslinux] how to compile syslinux-4.03
>
>
>> On Sat, Nov 27, 2010 at 20:19, Aaron Luo <luotanke at 163.com> wrote:
>>> Hi,
>>>
>>> Is anyone compiled a new pxelinux.0 with syslinux code 4.03?
>>> right now, I got a error in compiling this version code,
>>>
>>> objdump -h pxelinux.elf > pxelinux.sec
>>> perl lstadjust.pl pxelinux.lsr pxelinux.sec pxelinux.lst
>>> objcopy -O binary pxelinux.elf pxelinux.raw
>>> ../lzo/prepcore pxelinux.raw pxelinux.bin
>>> ../lzo/prepcore: pxelinux.raw: output too big (30197, max 0)
>>> make[1]: *** [pxelinux.bin] Error 1
>>> rm ldlinux.raw isolinux-debug.raw pxelinux.raw isolinux.raw ldlinux.o
>>> pxelinux.o isolinux.o isolinux-debug.o
>>> make[1]: Leaving directory `/root/syslinux-4.03/core'
>>> make: *** [all] Error 2
>>>
>>> I think the problem cause in this utility *prepcore*.
>>> can any one help me to resolve this problem?
>>
>> Someone else recently had a similar issue.  You are probably lacking a
>> recent enough build requirement.  What's your build system?  What are
>> the versions of gcc, nasm, and binutils?
>>
>> -- 
>> -Gene
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 29 Nov 2010 09:16:52 -0800
> From: "H. Peter Anvin" <hpa at zytor.com>
> To: syslinux at zytor.com
> Subject: Re: [syslinux] how to compile syslinux-4.03
> Message-ID: <4CF3E004.2060206 at zytor.com>
> Content-Type: text/plain; charset=UTF-8
>
> On 11/29/2010 06:09 AM, Aaron Luo wrote:
>> Hi Gene,
>>
>> thanks for your reply.
>>
>> My build system is RadHat Advance 5 update 5.
>> the version of gcc is 4.1.2
>> nasm is latest one, version is 2.0.9
>> I don't know the builtin version. i just install bash from the disc.
>>
>> So, can you tell me the standard compile environment?
>>
>
> I tend to be running on Fedora, in the case of 4.03 that was build on
> Fedora 13.
>
> -hpa
>
> -- 
> H. Peter Anvin, Intel Open Source Technology Center
> I work for Intel.  I don't speak on their behalf.
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 29 Nov 2010 12:51:00 -0500
> From: Gene Cumm <gene.cumm at gmail.com>
> To: For discussion of Syslinux and tftp-hpa <syslinux at zytor.com>
> Subject: Re: [syslinux] how to compile syslinux-4.03
> Message-ID:
> <AANLkTi=uE5zYrnBKCFtu74ShaRZrvksMRzZpXg+k-NxJ at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Mon, Nov 29, 2010 at 12:16, H. Peter Anvin <hpa at zytor.com> wrote:
>> On 11/29/2010 06:09 AM, Aaron Luo wrote:
>>> Hi Gene,
>>>
>>> thanks for your reply.
>>>
>>> My build system is RadHat Advance 5 update 5.
>>> the version of gcc is 4.1.2
>>> nasm is latest one, version is 2.0.9
>>> I don't know the builtin version. i just install bash from the disc.
>
> Binutils is a package.  Try running 'as --version' and the GNU
> assembler should show you the version.  GNU assembler is a part of
> binutils.
>
> The other user had CentOS 5.5, which should be similar (if not same)
> versions.  I never heard if an update to binutils solved this issue or
> if the user had to also upgrade GCC in order for things to work.  I'm
> BCC'ing the user as I'm uncertain if he is on the list.
>
>>> So, can you tell me the standard compile environment?
>>>
>>
>> I tend to be running on Fedora, in the case of 4.03 that was build on
>> Fedora 13.
>
> As an example of other functional build environments, I personally use
> Ubuntu 10.04 with current updates and a special MinGW package to make
> win64/syslinux64.exe which works for me but I try to use the official
> binaries when possible for my production environments.
>
> -- 
> -Gene
>
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 29 Nov 2010 10:53:46 -0800
> From: "H. Peter Anvin" <hpa at zytor.com>
> To: For discussion of Syslinux and tftp-hpa <syslinux at zytor.com>
> Subject: Re: [syslinux] how to compile syslinux-4.03
> Message-ID: <4CF3F6BA.10203 at zytor.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 11/29/2010 09:51 AM, Gene Cumm wrote:
>>>>
>>>> My build system is RadHat Advance 5 update 5.
>>>> the version of gcc is 4.1.2
>>>> nasm is latest one, version is 2.0.9
>>>> I don't know the builtin version. i just install bash from the disc.
>>
>> Binutils is a package.  Try running 'as --version' and the GNU
>> assembler should show you the version.  GNU assembler is a part of
>> binutils.
>>
>> The other user had CentOS 5.5, which should be similar (if not same)
>> versions.  I never heard if an update to binutils solved this issue or
>> if the user had to also upgrade GCC in order for things to work.  I'm
>> BCC'ing the user as I'm uncertain if he is on the list.
>>
>
> Since CentOS 5.5 and RHEL 5 AS 5 are basically the same packages, this
> sounds like a fairly narrow set of conditions having problems.
>
> -hpa
>
>
>
> ------------------------------
>
> _______________________________________________
> Syslinux mailing list
> Submissions to Syslinux at zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
> Please do not send private replies to mailing list traffic.
>
>
> End of Syslinux Digest, Vol 92, Issue 25
> **************************************** 





More information about the Syslinux mailing list