What could be the possible causes for a call to some function to generate an undefined reference in one place but not other of *same file*?
Say I have the following code:
1 int functionA()
2 {
3 /*functionX();*/
4 }
5
6 int functionB()
7 {
8 functionX();
9 }
If I uncomment line 3, I get
file.c:3:undefined reference to `functionX'
but line 8 never generates an error
Any ideas?
Thanks in advance
Grr
Say I have the following code:
1 int functionA()
2 {
3 /*functionX();*/
4 }
5
6 int functionB()
7 {
8 functionX();
9 }
If I uncomment line 3, I get
file.c:3:undefined reference to `functionX'
but line 8 never generates an error
Any ideas?
Thanks in advance
Grr