OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Mar 29, 2024 8:21 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: the linker and outb
PostPosted: Fri Jan 31, 2003 4:56 pm 
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...


Top
  
 
 Post subject: Re:the linker and outb
PostPosted: Sat Feb 01, 2003 8:09 am 
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...


Top
  
 
 Post subject: Re:the linker and outb
PostPosted: Sat Feb 01, 2003 4:44 pm 
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...


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 37 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group