[#5688] Build latest u-boot fail at crc32

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

[#5688] Build latest u-boot fail at crc32

Submitted By: Vivi Li

Open Date

2009-11-16 22:37:48     Close Date

2009-11-17 03:31:40

Priority:

Medium     Assignee:

Mike Frysinger

Category:

Make     Fixed In Release:

N/A

Found In Release:

N/A     Status:

Closed

Board:

N/A     Processor:

BF527

Silicon Revision:

    Resolution:

Fixed

Is the bug repeatable?:

N/A     

Summary: Build latest u-boot fail at crc32

Details:

 

Build latest u-boot fail at crc32.

 

--

gcc  -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/test/work/cruise/checkouts/u-boot/u-boot-2009.08/include -idirafter /home/test/work/cruise/checkouts/u-boot/u-boot-2009.08/include2 -idirafter /home/test/work/cruise/checkouts/u-boot/u-boot-2009.08/include -I /home/test/work/cruise/checkouts/u-boot/u-boot-2009.08/libfdt -I /home/test/work/cruise/checkouts/u-boot/u-boot-2009.08/tools -DTEXT_BASE= -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -O   -o envcrc.o envcrc.c -c

gcc -g -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/test/work/cruise/checkouts/u-boot/u-boot-2009.08/include -idirafter /home/test/work/cruise/checkouts/u-boot/u-boot-2009.08/include2 -idirafter /home/test/work/cruise/checkouts/u-boot/u-boot-2009.08/include -I /home/test/work/cruise/checkouts/u-boot/u-boot-2009.08/libfdt -I /home/test/work/cruise/checkouts/u-boot/u-boot-2009.08/tools -DTEXT_BASE= -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -O -c -o crc32.o /home/test/work/cruise/checkouts/u-boot/u-boot-2009.08/lib_generic/crc32.c

/home/test/work/cruise/checkouts/u-boot/u-boot-2009.08/lib_generic/crc32.c: In function ‘crc32_no_comp’:

/home/test/work/cruise/checkouts/u-boot/u-boot-2009.08/lib_generic/crc32.c:183: error: ‘size_t’ undeclared (first use in this function)

/home/test/work/cruise/checkouts/u-boot/u-boot-2009.08/lib_generic/crc32.c:183: error: (Each undeclared identifier is reported only once

/home/test/work/cruise/checkouts/u-boot/u-boot-2009.08/lib_generic/crc32.c:183: error: for each function it appears in.)

/home/test/work/cruise/checkouts/u-boot/u-boot-2009.08/lib_generic/crc32.c:183: error: expected ‘;’ before ‘rem_len’

/home/test/work/cruise/checkouts/u-boot/u-boot-2009.08/lib_generic/crc32.c:198: error: ‘rem_len’ undeclared (first use in this function)

make[2]: *** [crc32.o] Error 1

make[2]: Leaving directory `/home/test/work/cruise/checkouts/u-boot/u-boot-2009.08/tools'

make[1]: *** [tools] Error 2

make[1]: Leaving directory `/home/test/work/cruise/checkouts/u-boot/u-boot-2009.08'

make: *** [bf527-ezkit] Error 2

test@uboot30-527ezkit:~/work/cruise/checkouts/u-boot/u-boot-2009.08>

--

 

Follow-ups

 

--- Mike Frysinger                                           2009-11-16 23:00:07

seems to fail on some hosts.  but none of those hosts are my machines ;).

 

at any rate, ive fixed up the header/function usage.  see if it works for you

now.

 

--- Vivi Li                                                  2009-11-17 03:31:39

OK now.

Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes