Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from ../kern/lock.h:62,
- from ../kern/debug.c:33:
- ../kern/debug.c: In function ‘Assert’:
- ../kern/lock.h:295:33: error: ‘simple_lock_data_t’ {aka ‘struct slock’} has no member named ‘slock’
- 295 | simple_lock_nocheck(&(l)->slock); \
- | ^~
- ./machine/lock.h:51:45: note: in definition of macro ‘_simple_lock_xchg_’
- 51 | : "0" (new_val), "m" (*(lock)) : "memory" \
- | ^~~~
- ../kern/lock.h:64:33: note: in expansion of macro ‘_simple_lock’
- 64 | #define simple_lock_nocheck _simple_lock
- | ^~~~~~~~~~~~
- ../kern/debug.c:57:19: note: in expansion of macro ‘simple_lock_irq’
- 57 | spl_t s = simple_lock_irq(&Assert_print_lock);
- | ^~~~~~~~~~~~~~~
- ../kern/lock.h:295:33: error: ‘simple_lock_data_t’ {aka ‘struct slock’} has no member named ‘slock’
- 295 | simple_lock_nocheck(&(l)->slock); \
- | ^~
- ./machine/lock.h:65:39: note: in definition of macro ‘_simple_lock’
- 65 | while (*(volatile int *)&(l)->lock_data) \
- | ^
- ../kern/debug.c:57:19: note: in expansion of macro ‘simple_lock_irq’
- 57 | spl_t s = simple_lock_irq(&Assert_print_lock);
- | ^~~~~~~~~~~~~~~
- ../kern/lock.h:299:35: error: ‘simple_lock_data_t’ {aka ‘struct slock’} has no member named ‘slock’
- 299 | simple_unlock_nocheck(&(l)->slock); \
- | ^~
- ./machine/lock.h:51:45: note: in definition of macro ‘_simple_lock_xchg_’
- 51 | : "0" (new_val), "m" (*(lock)) : "memory" \
- | ^~~~
- ../kern/lock.h:66:33: note: in expansion of macro ‘_simple_unlock’
- 66 | #define simple_unlock_nocheck _simple_unlock
- | ^~~~~~~~~~~~~~
- ../kern/debug.c:60:9: note: in expansion of macro ‘simple_unlock_irq’
- 60 | simple_unlock_irq(s, &Assert_print_lock);
- | ^~~~~~~~~~~~~~~~~
- make: *** [Makefile:5352: kern/debug.o] Error 1
- rm i386/i386/i386asm.symc.o i386/i386/i386asm.symc
Advertisement
Add Comment
Please, Sign In to add comment