caboodles87
Programmer
to whom it may concern,
hi. my program compiles and runs. however, when i transferred it to linux/unix environment and compiled it using g++, i came across some errors. can someone help me out a bit, please. THANKS!!!
Sincerely,
Jennifer
heart:~> ssh linux
[jdejesua@ecs416lin214 ~]$ cd proj5
[jdejesua@ecs416lin214 ~/proj5]$ g++ proj5.cpp
/tmp/cclwXhTF.o: In function `main':
/tmp/cclwXhTF.o(.text+0x1c): undefined reference to `convert::convert(void)'
/tmp/cclwXhTF.o: In function `getInfixEx(convert &)':
/tmp/cclwXhTF.o(.text+0x37e): undefined reference to `convert::getInfix(char *)'
/tmp/cclwXhTF.o(.text+0x404): undefined reference to `convert::getInfix(char *)'
/tmp/cclwXhTF.o(.text+0x445): undefined reference to `convert::showInfix(char *)
'
/tmp/cclwXhTF.o(.text+0x486): undefined reference to `convert::convertToPostfix(
char *, char *)'
/tmp/cclwXhTF.o(.text+0x4b0): undefined reference to `convert::showPostfix(char
*)'
collect2: ld returned 1 exit status
[jdejesua@ecs416lin214 ~/proj5]$
my code is posted in here
hi. my program compiles and runs. however, when i transferred it to linux/unix environment and compiled it using g++, i came across some errors. can someone help me out a bit, please. THANKS!!!
Sincerely,
Jennifer
heart:~> ssh linux
[jdejesua@ecs416lin214 ~]$ cd proj5
[jdejesua@ecs416lin214 ~/proj5]$ g++ proj5.cpp
/tmp/cclwXhTF.o: In function `main':
/tmp/cclwXhTF.o(.text+0x1c): undefined reference to `convert::convert(void)'
/tmp/cclwXhTF.o: In function `getInfixEx(convert &)':
/tmp/cclwXhTF.o(.text+0x37e): undefined reference to `convert::getInfix(char *)'
/tmp/cclwXhTF.o(.text+0x404): undefined reference to `convert::getInfix(char *)'
/tmp/cclwXhTF.o(.text+0x445): undefined reference to `convert::showInfix(char *)
'
/tmp/cclwXhTF.o(.text+0x486): undefined reference to `convert::convertToPostfix(
char *, char *)'
/tmp/cclwXhTF.o(.text+0x4b0): undefined reference to `convert::showPostfix(char
*)'
collect2: ld returned 1 exit status
[jdejesua@ecs416lin214 ~/proj5]$
my code is posted in here