Ticket #2365 (new defect)

Opened 3 years ago

u-boot/mokopatches 2df49277c9 does not compile

Reported by: lindi Owned by:
Priority: normal Milestone:
Component: u-boot Version: unspecified
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:
Reproducible: always

Description

git clone git://git.openmoko.org/git/u-boot
cd u-boot
git branch mokopatches origin/mokopatches
git checkout mokopatches
CROSS_COMPILE=arm-linux-gnueabi- make gta02v5_config
CROSS_COMPILE=arm-linux-gnueabi- make u-boot.udfu

fails to build with

lib/gcc/arm-linux-gnueabi/4.2.4/include -pipe -DCONFIG_ARM -DARM -march=armv4t -Wall -Wstrict-prototypes -c -o ns87308.o ns87308.c
arm-linux-gnueabi-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -DKERNEL -DTEXT_BASE=0x33F80000 -I/home/lindi/scm/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /usr\
/lib/gcc/arm-linux-gnueabi/4.2.4/include -pipe -DCONFIG_ARM -DARM -march=armv4t -Wall -Wstrict-prototypes -c -o pcf50606.o pcf50606.c
arm-linux-gnueabi-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -DKERNEL -DTEXT_BASE=0x33F80000 -I/home/lindi/scm/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /usr\
/lib/gcc/arm-linux-gnueabi/4.2.4/include -pipe -DCONFIG_ARM -DARM -march=armv4t -Wall -Wstrict-prototypes -c -o pcf50633.o pcf50633.c
pcf50633.c:258: error: conflicting types for 'rtc_get'
/home/lindi/scm/u-boot/include/rtc.h:55: error: previous declaration of 'rtc_get' was here
make[1]: * [pcf50633.o] Error 1
make[1]: Leaving directory `/home/lindi/scm/u-boot/drivers/misc'
make:
* [drivers/misc/libmisc.a] Error 2

Note: See TracTickets for help on using tickets.