Well, I've included some outb code in my project and I compile it with gcc fine. But when I go to link the thing, it doesn't recognize the references to outb (undefined reference to '_outb').
Anyone know where the problem is? I can't imagine that the linker wouldn't be able to recognize outb if gcc can...
the linker and outb
Re:the linker and outb
No, it's your fault
If you *only* compile your sources, nobody will worry if there is an unreferenced call, this happens when linking the files together...
So ld cannot find your outb() function..show us the code, please...
If you *only* compile your sources, nobody will worry if there is an unreferenced call, this happens when linking the files together...
So ld cannot find your outb() function..show us the code, please...
Re:the linker and outb
Oh yes, it was my fault, I got it figured out though, I didn't have the file on the computer, I left it on my laptop...sigh, I miss the easy things most of the time...