[SeaBIOS] Build failed in Jenkins: seabios #220

Stefan Reinauer stefan.reinauer at coreboot.org
Fri Apr 1 04:05:10 CEST 2016


Do you want to move the builds to our jenkins instance on qa.coreboot.org?
We're already building coreboot, filo, flashrom and SerialICE and some
other stuff.

Stefan


On 03/30/2016 06:44 PM, Kevin O'Connor wrote:
> On Wed, Mar 30, 2016 at 07:50:33PM +0200, Jenkins Build Host wrote:
>> See <http://jenkins.xeni.kraxel.org:8080/job/seabios/220/changes>
>>
>> Changes:
>>
>> [kevin] Support for booting from LSI Logic LSI53C1030, SAS1068, SAS1068e
> [...]
>>   Compile checking out/src/hw/mpt-scsi.o
>> src/hw/mpt-scsi.c: In function 'init_mpt_scsi':
>> src/hw/mpt-scsi.c:281:5: error: 'for' loop initial declarations are only allowed in C99 mode
>>      for (int i = 0; i < 7; i++)
>>      ^
>> src/hw/mpt-scsi.c:281:5: note: use option -std=c99 or -std=gnu99 to compile your code
>> make: *** [out/src/hw/mpt-scsi.o] Error 1
>> error: Bad exit status from /var/tmp/rpm-tmp.YLsXMX (%build)
> It's interesting that newer compilers accept the 'int i' declaration
> inside of for loops - I didn't realize that was allowed in C99.  In
> any case, I pulled the declaration outside the loop to suppress the
> error, and I committed the change.
>
> -Kevin
>
> _______________________________________________
> SeaBIOS mailing list
> SeaBIOS at seabios.org
> https://www.coreboot.org/mailman/listinfo/seabios
>




More information about the SeaBIOS mailing list