Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sergey@COMPUTER:~/Рабочий стол/myOS5$ make run
- g++ -m32 -fno-use-cxa-atexit -nostdlib -fno-builtin -fno-rtti -fno-exceptions -fno-leading-underscore -o port.o -c port.cpp
- port.cpp: In member function ‘virtual uint8_t Port8Bit::Read()’:
- port.cpp:41:6: error: input operand constraint contains ‘=’
- );
- ^
- port.cpp: In constructor ‘Port8BitSlow::Port8BitSlow(uint16_t)’:
- port.cpp:48:3: error: type ‘Port’ is not a direct base of ‘Port8BitSlow’
- : Port(portnumber)
- ^
- port.cpp:48:18: error: no matching function for call to ‘Port8Bit::Port8Bit()’
- : Port(portnumber)
- ^
- port.cpp:16:1: note: candidate: Port8Bit::Port8Bit(uint16_t)
- Port8Bit::Port8Bit(uint16_t portnumber)
- ^
- port.cpp:16:1: note: candidate expects 1 argument, 0 provided
- In file included from port.cpp:2:0:
- port.h:17:11: note: candidate: Port8Bit::Port8Bit(const Port8Bit&)
- class Port8Bit : public Port
- ^
- port.h:17:11: note: candidate expects 1 argument, 0 provided
- port.cpp: In member function ‘virtual uint16_t Port16Bit::Read()’:
- port.cpp:94:6: error: input operand constraint contains ‘=’
- );
- ^
- port.cpp: In member function ‘virtual uint32_t Port32Bit::Read()’:
- port.cpp:128:6: error: input operand constraint contains ‘=’
- );
- ^
- port.cpp: In member function ‘virtual uint8_t Port8Bit::Read()’:
- port.cpp:41:6: error: input operand constraint contains ‘=’
- );
- ^
- port.cpp: In member function ‘virtual uint16_t Port16Bit::Read()’:
- port.cpp:94:6: error: input operand constraint contains ‘=’
- );
- ^
- port.cpp: In member function ‘virtual uint32_t Port32Bit::Read()’:
- port.cpp:128:6: error: input operand constraint contains ‘=’
- );
- ^
- Makefile:9: ошибка выполнения рецепта для цели «port.o»
- make: *** [port.o] Ошибка 1
- sergey@COMPUTER:~/Рабочий стол/myOS5$ make clean
- rm -f loader.o gdt.o port.o kernel.o mykernel.bin mykernel.iso
- sergey@COMPUTER:~/Рабочий стол/myOS5$ make run
- as --32 -o loader.o loader.s
- g++ -m32 -fno-use-cxa-atexit -nostdlib -fno-builtin -fno-rtti -fno-exceptions -fno-leading-underscore -o gdt.o -c gdt.cpp
- g++ -m32 -fno-use-cxa-atexit -nostdlib -fno-builtin -fno-rtti -fno-exceptions -fno-leading-underscore -o port.o -c port.cpp
- port.cpp: In member function ‘virtual uint8_t Port8Bit::Read()’:
- port.cpp:41:6: error: input operand constraint contains ‘=’
- );
- ^
- port.cpp: In constructor ‘Port8BitSlow::Port8BitSlow(uint16_t)’:
- port.cpp:48:3: error: type ‘Port’ is not a direct base of ‘Port8BitSlow’
- : Port(portnumber)
- ^
- port.cpp:48:18: error: no matching function for call to ‘Port8Bit::Port8Bit()’
- : Port(portnumber)
- ^
- port.cpp:16:1: note: candidate: Port8Bit::Port8Bit(uint16_t)
- Port8Bit::Port8Bit(uint16_t portnumber)
- ^
- port.cpp:16:1: note: candidate expects 1 argument, 0 provided
- In file included from port.cpp:2:0:
- port.h:17:11: note: candidate: Port8Bit::Port8Bit(const Port8Bit&)
- class Port8Bit : public Port
- ^
- port.h:17:11: note: candidate expects 1 argument, 0 provided
- port.cpp: In member function ‘virtual uint16_t Port16Bit::Read()’:
- port.cpp:94:6: error: input operand constraint contains ‘=’
- );
- ^
- port.cpp: In member function ‘virtual uint32_t Port32Bit::Read()’:
- port.cpp:128:6: error: input operand constraint contains ‘=’
- );
- ^
- port.cpp: In member function ‘virtual uint8_t Port8Bit::Read()’:
- port.cpp:41:6: error: input operand constraint contains ‘=’
- );
- ^
- port.cpp: In member function ‘virtual uint16_t Port16Bit::Read()’:
- port.cpp:94:6: error: input operand constraint contains ‘=’
- );
- ^
- port.cpp: In member function ‘virtual uint32_t Port32Bit::Read()’:
- port.cpp:128:6: error: input operand constraint contains ‘=’
- );
- ^
- Makefile:9: ошибка выполнения рецепта для цели «port.o»
- make: *** [port.o] Ошибка 1
- sergey@COMPUTER:~/Рабочий стол/myOS5$
Add Comment
Please, Sign In to add comment