Guest User

Untitled

a guest
Aug 12th, 2023
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. In file included from ../kern/lock.h:62,
  2. from ../kern/debug.c:33:
  3. ../kern/debug.c: In function ‘Assert’:
  4. ../kern/lock.h:295:33: error: ‘simple_lock_data_t’ {aka ‘struct slock’} has no member named ‘slock’
  5. 295 | simple_lock_nocheck(&(l)->slock); \
  6. | ^~
  7. ./machine/lock.h:51:45: note: in definition of macro ‘_simple_lock_xchg_’
  8. 51 | : "0" (new_val), "m" (*(lock)) : "memory" \
  9. | ^~~~
  10. ../kern/lock.h:64:33: note: in expansion of macro ‘_simple_lock’
  11. 64 | #define simple_lock_nocheck _simple_lock
  12. | ^~~~~~~~~~~~
  13. ../kern/debug.c:57:19: note: in expansion of macro ‘simple_lock_irq’
  14. 57 | spl_t s = simple_lock_irq(&Assert_print_lock);
  15. | ^~~~~~~~~~~~~~~
  16. ../kern/lock.h:295:33: error: ‘simple_lock_data_t’ {aka ‘struct slock’} has no member named ‘slock’
  17. 295 | simple_lock_nocheck(&(l)->slock); \
  18. | ^~
  19. ./machine/lock.h:65:39: note: in definition of macro ‘_simple_lock’
  20. 65 | while (*(volatile int *)&(l)->lock_data) \
  21. | ^
  22. ../kern/debug.c:57:19: note: in expansion of macro ‘simple_lock_irq’
  23. 57 | spl_t s = simple_lock_irq(&Assert_print_lock);
  24. | ^~~~~~~~~~~~~~~
  25. ../kern/lock.h:299:35: error: ‘simple_lock_data_t’ {aka ‘struct slock’} has no member named ‘slock’
  26. 299 | simple_unlock_nocheck(&(l)->slock); \
  27. | ^~
  28. ./machine/lock.h:51:45: note: in definition of macro ‘_simple_lock_xchg_’
  29. 51 | : "0" (new_val), "m" (*(lock)) : "memory" \
  30. | ^~~~
  31. ../kern/lock.h:66:33: note: in expansion of macro ‘_simple_unlock’
  32. 66 | #define simple_unlock_nocheck _simple_unlock
  33. | ^~~~~~~~~~~~~~
  34. ../kern/debug.c:60:9: note: in expansion of macro ‘simple_unlock_irq’
  35. 60 | simple_unlock_irq(s, &Assert_print_lock);
  36. | ^~~~~~~~~~~~~~~~~
  37. make: *** [Makefile:5352: kern/debug.o] Error 1
  38. rm i386/i386/i386asm.symc.o i386/i386/i386asm.symc
  39.  
Advertisement
Add Comment
Please, Sign In to add comment