This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Where to find library with __inb/__outb ?


pafka <pafka@freemail.nl> writes:

> Hi,
> 
>   I have a problem during linking of program that uses inb and outb
> functions. After linking I recieve a message:
> 
> 
> /tmp/ccc00180: In function `main':
> /tmp/ccc00180(.text+0x58): undefined reference to `__outbc'
> /tmp/ccc00180(.text+0x78): undefined reference to `__outb'
> /tmp/ccc00180(.text+0x96): undefined reference to `__inbc'
> /tmp/ccc00180(.text+0xb6): undefined reference to `__inb'
> 
> Does anyone know how to solve it ?

Did you compile with -O2 optimizations?

-- 
jvalenzu@subnet.org
If you waste your time cooking, you'll miss the next meal.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]