Skip to contentSkip to conversation

building sandbox barebox: too many '"BITS_PER_LONG" redefined' warnings

DISCUSSION Antony Pavlov 2 participants 2 messages Jun 2, 2015 – Jun 3, 2015

lore
Share & tools
lore
#0 lore raw

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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#1 lore raw

Hi Antony,

Quoted 5 lines · Antony Pavlov

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.

Should be fixed now. Thanks for noting.

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox