Difference between revisions of "Team 7 Bugs Report"

From CDOT Wiki
Jump to: navigation, search
Line 26: Line 26:
  
 
jtwieb@matrix:~/btp300/assignments/assignment1> g++ a1test.cpp console.cpp consolelineedit.cpp
 
jtwieb@matrix:~/btp300/assignments/assignment1> g++ a1test.cpp console.cpp consolelineedit.cpp
 +
 
/tmp/ccGiJoUH.o: In function `cio::Console::Console()':
 
/tmp/ccGiJoUH.o: In function `cio::Console::Console()':
 +
 
console.cpp:(.text+0x7): undefined reference to `initscr'
 
console.cpp:(.text+0x7): undefined reference to `initscr'
 +
 
console.cpp:(.text+0xc): undefined reference to `noecho'
 
console.cpp:(.text+0xc): undefined reference to `noecho'
 +
 
console.cpp:(.text+0x11): undefined reference to `cbreak'
 
console.cpp:(.text+0x11): undefined reference to `cbreak'
 +
 
console.cpp:(.text+0x16): undefined reference to `stdscr'
 
console.cpp:(.text+0x16): undefined reference to `stdscr'
 +
 
console.cpp:(.text+0x26): undefined reference to `keypad'
 
console.cpp:(.text+0x26): undefined reference to `keypad'
 +
 
console.cpp:(.text+0x2c): undefined reference to `LINES'
 
console.cpp:(.text+0x2c): undefined reference to `LINES'
 +
 
console.cpp:(.text+0x38): undefined reference to `COLS'
 
console.cpp:(.text+0x38): undefined reference to `COLS'
 +
 
/tmp/ccGiJoUH.o: In function `cio::Console::~Console()':
 
/tmp/ccGiJoUH.o: In function `cio::Console::~Console()':
 +
 
console.cpp:(.text+0xcf): undefined reference to `endwin'
 
console.cpp:(.text+0xcf): undefined reference to `endwin'
 +
 
/tmp/ccGiJoUH.o: In function `cio::Console::clear()':
 
/tmp/ccGiJoUH.o: In function `cio::Console::clear()':
 +
 
console.cpp:(.text+0xdd): undefined reference to `erase'
 
console.cpp:(.text+0xdd): undefined reference to `erase'
 +
 
/tmp/ccGiJoUH.o: In function `cio::Console::getKey()':
 
/tmp/ccGiJoUH.o: In function `cio::Console::getKey()':
 +
 
console.cpp:(.text+0xf5): undefined reference to `refresh'
 
console.cpp:(.text+0xf5): undefined reference to `refresh'
 +
 
console.cpp:(.text+0xfa): undefined reference to `stdscr'
 
console.cpp:(.text+0xfa): undefined reference to `stdscr'
 +
 
console.cpp:(.text+0x102): undefined reference to `wgetch'
 
console.cpp:(.text+0x102): undefined reference to `wgetch'
 +
 
/tmp/ccGiJoUH.o: In function `cio::Console::setPosition(int, int)':
 
/tmp/ccGiJoUH.o: In function `cio::Console::setPosition(int, int)':
 +
 
console.cpp:(.text+0x25a): undefined reference to `move'
 
console.cpp:(.text+0x25a): undefined reference to `move'
 +
 
/tmp/ccGiJoUH.o: In function `cio::Console::drawCharacter()':
 
/tmp/ccGiJoUH.o: In function `cio::Console::drawCharacter()':
 +
 
console.cpp:(.text+0x294): undefined reference to `stdscr'
 
console.cpp:(.text+0x294): undefined reference to `stdscr'
 +
 
console.cpp:(.text+0x2a0): undefined reference to `waddch'
 
console.cpp:(.text+0x2a0): undefined reference to `waddch'
 +
 
/tmp/ccGiJoUH.o: In function `cio::operator<<(cio::Console&, char)':
 
/tmp/ccGiJoUH.o: In function `cio::operator<<(cio::Console&, char)':
 +
 
console.cpp:(.text+0x2b7): undefined reference to `stdscr'
 
console.cpp:(.text+0x2b7): undefined reference to `stdscr'
 +
 
console.cpp:(.text+0x2c3): undefined reference to `waddch'
 
console.cpp:(.text+0x2c3): undefined reference to `waddch'
 +
 
collect2: ld returned 1 exit status
 
collect2: ld returned 1 exit status

Revision as of 11:55, 27 September 2013

Week 2 (Sep 15 - 21)

Weekly Progress:

Completed the Display Function and for the moment seems to be Debugged Completed the consoleplus.h

Bug Report:

When complied by doing g++ a1test.cpp console.cpp consolelineedit.cpp errors not from the original console.cpp is shown:

console.cpp:29:74: error: operator '&&' has no right operand

console.cpp:44:1: error: expected unqualified-id before â--â token

console.cpp:365:1: error: expected unqualified-id before â--â token

Week 3 (Sep 22 - 28)

Weekly Progress:

Fixed previous errors and finished the logic for the edit function, debugged to the best of our ability, however the new bugs are stopping us for the moment as they all apparently have to do with console.cpp

Bug Report:


jtwieb@matrix:~/btp300/assignments/assignment1> g++ a1test.cpp console.cpp consolelineedit.cpp

/tmp/ccGiJoUH.o: In function `cio::Console::Console()':

console.cpp:(.text+0x7): undefined reference to `initscr'

console.cpp:(.text+0xc): undefined reference to `noecho'

console.cpp:(.text+0x11): undefined reference to `cbreak'

console.cpp:(.text+0x16): undefined reference to `stdscr'

console.cpp:(.text+0x26): undefined reference to `keypad'

console.cpp:(.text+0x2c): undefined reference to `LINES'

console.cpp:(.text+0x38): undefined reference to `COLS'

/tmp/ccGiJoUH.o: In function `cio::Console::~Console()':

console.cpp:(.text+0xcf): undefined reference to `endwin'

/tmp/ccGiJoUH.o: In function `cio::Console::clear()':

console.cpp:(.text+0xdd): undefined reference to `erase'

/tmp/ccGiJoUH.o: In function `cio::Console::getKey()':

console.cpp:(.text+0xf5): undefined reference to `refresh'

console.cpp:(.text+0xfa): undefined reference to `stdscr'

console.cpp:(.text+0x102): undefined reference to `wgetch'

/tmp/ccGiJoUH.o: In function `cio::Console::setPosition(int, int)':

console.cpp:(.text+0x25a): undefined reference to `move'

/tmp/ccGiJoUH.o: In function `cio::Console::drawCharacter()':

console.cpp:(.text+0x294): undefined reference to `stdscr'

console.cpp:(.text+0x2a0): undefined reference to `waddch'

/tmp/ccGiJoUH.o: In function `cio::operator<<(cio::Console&, char)':

console.cpp:(.text+0x2b7): undefined reference to `stdscr'

console.cpp:(.text+0x2c3): undefined reference to `waddch'

collect2: ld returned 1 exit status