Openmoko Bug #2365: u-boot/mokopatches 2df49277c9 does not compile

Openmoko Public Trac bugs at docs.openmoko.org
Wed Sep 29 13:53:54 CEST 2010


#2365: u-boot/mokopatches 2df49277c9 does not compile
--------------------+-------------------------------------------------------
 Reporter:  lindi   |          Owner:             
     Type:  defect  |         Status:  new        
 Priority:  normal  |      Milestone:             
Component:  u-boot  |        Version:  unspecified
 Severity:  normal  |       Keywords:             
 Haspatch:  0       |      Blockedby:             
Estimated:          |    Patchreview:             
 Blocking:          |   Reproducible:  always     
--------------------+-------------------------------------------------------
 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 -D__ARM__
 -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  -D__KERNEL__ -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 -D__ARM__
 -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  -D__KERNEL__ -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 -D__ARM__
 -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

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2365>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the buglog mailing list