Guest User

Untitled

a guest
May 24th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.01 KB | None | 0 0
  1. sergey@COMPUTER:~/Рабочий стол/myOS5$ make run
  2. g++ -m32 -fno-use-cxa-atexit -nostdlib -fno-builtin -fno-rtti -fno-exceptions -fno-leading-underscore -o port.o -c port.cpp
  3. port.cpp: In member function ‘virtual uint8_t Port8Bit::Read()’:
  4. port.cpp:41:6: error: input operand constraint contains ‘=’
  5. );
  6. ^
  7. port.cpp: In constructor ‘Port8BitSlow::Port8BitSlow(uint16_t)’:
  8. port.cpp:48:3: error: type ‘Port’ is not a direct base of ‘Port8BitSlow’
  9. : Port(portnumber)
  10. ^
  11. port.cpp:48:18: error: no matching function for call to ‘Port8Bit::Port8Bit()’
  12. : Port(portnumber)
  13. ^
  14. port.cpp:16:1: note: candidate: Port8Bit::Port8Bit(uint16_t)
  15. Port8Bit::Port8Bit(uint16_t portnumber)
  16. ^
  17. port.cpp:16:1: note: candidate expects 1 argument, 0 provided
  18. In file included from port.cpp:2:0:
  19. port.h:17:11: note: candidate: Port8Bit::Port8Bit(const Port8Bit&)
  20. class Port8Bit : public Port
  21. ^
  22. port.h:17:11: note: candidate expects 1 argument, 0 provided
  23. port.cpp: In member function ‘virtual uint16_t Port16Bit::Read()’:
  24. port.cpp:94:6: error: input operand constraint contains ‘=’
  25. );
  26. ^
  27. port.cpp: In member function ‘virtual uint32_t Port32Bit::Read()’:
  28. port.cpp:128:6: error: input operand constraint contains ‘=’
  29. );
  30. ^
  31. port.cpp: In member function ‘virtual uint8_t Port8Bit::Read()’:
  32. port.cpp:41:6: error: input operand constraint contains ‘=’
  33. );
  34. ^
  35. port.cpp: In member function ‘virtual uint16_t Port16Bit::Read()’:
  36. port.cpp:94:6: error: input operand constraint contains ‘=’
  37. );
  38. ^
  39. port.cpp: In member function ‘virtual uint32_t Port32Bit::Read()’:
  40. port.cpp:128:6: error: input operand constraint contains ‘=’
  41. );
  42. ^
  43. Makefile:9: ошибка выполнения рецепта для цели «port.o»
  44. make: *** [port.o] Ошибка 1
  45. sergey@COMPUTER:~/Рабочий стол/myOS5$ make clean
  46. rm -f loader.o gdt.o port.o kernel.o mykernel.bin mykernel.iso
  47. sergey@COMPUTER:~/Рабочий стол/myOS5$ make run
  48. as --32 -o loader.o loader.s
  49. g++ -m32 -fno-use-cxa-atexit -nostdlib -fno-builtin -fno-rtti -fno-exceptions -fno-leading-underscore -o gdt.o -c gdt.cpp
  50. g++ -m32 -fno-use-cxa-atexit -nostdlib -fno-builtin -fno-rtti -fno-exceptions -fno-leading-underscore -o port.o -c port.cpp
  51. port.cpp: In member function ‘virtual uint8_t Port8Bit::Read()’:
  52. port.cpp:41:6: error: input operand constraint contains ‘=’
  53. );
  54. ^
  55. port.cpp: In constructor ‘Port8BitSlow::Port8BitSlow(uint16_t)’:
  56. port.cpp:48:3: error: type ‘Port’ is not a direct base of ‘Port8BitSlow’
  57. : Port(portnumber)
  58. ^
  59. port.cpp:48:18: error: no matching function for call to ‘Port8Bit::Port8Bit()’
  60. : Port(portnumber)
  61. ^
  62. port.cpp:16:1: note: candidate: Port8Bit::Port8Bit(uint16_t)
  63. Port8Bit::Port8Bit(uint16_t portnumber)
  64. ^
  65. port.cpp:16:1: note: candidate expects 1 argument, 0 provided
  66. In file included from port.cpp:2:0:
  67. port.h:17:11: note: candidate: Port8Bit::Port8Bit(const Port8Bit&)
  68. class Port8Bit : public Port
  69. ^
  70. port.h:17:11: note: candidate expects 1 argument, 0 provided
  71. port.cpp: In member function ‘virtual uint16_t Port16Bit::Read()’:
  72. port.cpp:94:6: error: input operand constraint contains ‘=’
  73. );
  74. ^
  75. port.cpp: In member function ‘virtual uint32_t Port32Bit::Read()’:
  76. port.cpp:128:6: error: input operand constraint contains ‘=’
  77. );
  78. ^
  79. port.cpp: In member function ‘virtual uint8_t Port8Bit::Read()’:
  80. port.cpp:41:6: error: input operand constraint contains ‘=’
  81. );
  82. ^
  83. port.cpp: In member function ‘virtual uint16_t Port16Bit::Read()’:
  84. port.cpp:94:6: error: input operand constraint contains ‘=’
  85. );
  86. ^
  87. port.cpp: In member function ‘virtual uint32_t Port32Bit::Read()’:
  88. port.cpp:128:6: error: input operand constraint contains ‘=’
  89. );
  90. ^
  91. Makefile:9: ошибка выполнения рецепта для цели «port.o»
  92. make: *** [port.o] Ошибка 1
  93. sergey@COMPUTER:~/Рабочий стол/myOS5$
Add Comment
Please, Sign In to add comment