build error ( gcc 4.8.1, glibc 2.18, kernel 3.10.14)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I was constructing a new build environment (gcc 4.8.1 , glibc 2.18)  and found 
out that build of aoe6-84 / aoe6-85pre1 fails with the following error:

make[1]: Entering directory `/data/tmp/linux-3.10'
   CC [M]  /data/tmp/aoe6-84/linux/drivers/block/aoe/aoedev.o
In file included from /data/tmp/aoe6-84/linux/drivers/block/aoe/aoedev.c:15:0:
/data/tmp/aoe6-84/linux/drivers/block/aoe/aoe.h:16:0: warning: "DEFINE_SPINLOCK" 
redefined [enabled by default]
  #define DEFINE_SPINLOCK(x) spinlock_t x = SPIN_LOCK_UNLOCKED
  ^
In file included from include/linux/spinlock.h:81:0,
                  from include/linux/seqlock.h:29,
                  from include/linux/time.h:5,
                  from include/uapi/linux/timex.h:56,
                  from include/linux/timex.h:56,
                  from include/linux/sched.h:17,
                  from include/linux/blkdev.h:4,
                  from /data/tmp/aoe6-84/linux/drivers/block/aoe/aoedev.c:8:
include/linux/spinlock_types.h:84:0: note: this is the location of the previous 
definition
  #define DEFINE_SPINLOCK(x) spinlock_t x = __SPIN_LOCK_UNLOCKED(x)
  ^
In file included from /data/tmp/aoe6-84/linux/drivers/block/aoe/aoedev.c:15:0:
/data/tmp/aoe6-84/linux/drivers/block/aoe/aoe.h:16:43: error: 
'SPIN_LOCK_UNLOCKED' undeclared here (not in a function)
  #define DEFINE_SPINLOCK(x) spinlock_t x = SPIN_LOCK_UNLOCKED
                                            ^
/data/tmp/aoe6-84/linux/drivers/block/aoe/aoedev.c:26:8: note: in expansion of 
macro 'DEFINE_SPINLOCK'
  static DEFINE_SPINLOCK(devlist_lock);
         ^
make[2]: *** [/data/tmp/aoe6-84/linux/drivers/block/aoe/aoedev.o] Error 1
make[1]: *** [_module_/data/tmp/aoe6-84/linux/drivers/block/aoe] Error 2


Thanks,
Serge

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Aoetools-discuss mailing list
Aoetools-discuss@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/aoetools-discuss




[Index of Archives]     [Linux ARM Kernel]     [Linux SCSI]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux