mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* building sandbox barebox: too many '"BITS_PER_LONG" redefined' warnings
@ 2015-06-02  8:37 Antony Pavlov
  2015-06-03  7:55 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Antony Pavlov @ 2015-06-02  8:37 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

Hi, Sascha!

I have tried to build sandbox barebox from latest next on amd64 debian linux host.

I see very many '"BITS_PER_LONG" redefined' warnings, e.g.

  CC      common/misc.o
In file included from /home/antony/barebog.git/arch/sandbox/include/asm/types.h:57:0,
                 from include/linux/types.h:5,
                 from include/param.h:5,
                 from include/console.h:23,
                 from include/stdio.h:5,
                 from include/common.h:23,
                 from common/misc.c:19:
include/asm-generic/bitsperlong.h:7:0: warning: "BITS_PER_LONG" redefined
 #define BITS_PER_LONG 32
 ^
In file included from include/asm-generic/posix_types.h:4:0,
                 from /home/antony/barebog.git/arch/sandbox/include/asm/posix_types.h:1,
                 from include/linux/posix_types.h:46,
                 from include/linux/types.h:4,
                 from include/param.h:5,
                 from include/console.h:23,
                 from include/stdio.h:5,
                 from include/common.h:23,
                 from common/misc.c:19:
/home/antony/barebog.git/arch/sandbox/include/asm/bitsperlong.h:5:0: note: this is the location of the previous definition
 #define BITS_PER_LONG 64
 ^

-- 
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-03  7:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-02  8:37 building sandbox barebox: too many '"BITS_PER_LONG" redefined' warnings Antony Pavlov
2015-06-03  7:55 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox