- 论坛徽章:
- 0
|
make的时候出现:
then mv -f ".deps/my_new.Tpo" ".deps/my_new.Po"; else rm -f ".deps/my_new.Tpo"; exit 1; fi
/usr/include/asm/atomic.h: In function ‘void atomic_add(int, volatile atomic_t*)’:
/usr/include/asm/atomic.h:37: 错误:types may not be defined in casts
/usr/include/asm/atomic.h:38: 错误:types may not be defined in casts
/usr/include/asm/atomic.h: In function ‘void atomic_sub(int, volatile atomic_t*)’:
/usr/include/asm/atomic.h:45: 错误:types may not be defined in casts
/usr/include/asm/atomic.h:46: 错误:types may not be defined in casts
/usr/include/asm/atomic.h: In function ‘void atomic_inc(volatile atomic_t*)’:
/usr/include/asm/atomic.h:53: 错误:types may not be defined in casts
/usr/include/asm/atomic.h:54: 错误:types may not be defined in casts
/usr/include/asm/atomic.h: In function ‘void atomic_dec(volatile atomic_t*)’:
/usr/include/asm/atomic.h:61: 错误:types may not be defined in casts
/usr/include/asm/atomic.h:62: 错误:types may not be defined in casts
/usr/include/asm/atomic.h: In function ‘int atomic_dec_and_test(volatile atomic_t*)’:
/usr/include/asm/atomic.h:71: 错误:types may not be defined in casts
/usr/include/asm/atomic.h:72: 错误:types may not be defined in casts
/usr/include/asm/atomic.h: In function ‘int atomic_inc_and_test_greater_zero(volatile atomic_t*)’:
/usr/include/asm/atomic.h:82: 错误:types may not be defined in casts
/usr/include/asm/atomic.h:83: 错误:types may not be defined in casts
make[2]: *** [my_new.o] 错误 1
请问是怎么回事? |
|