This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Where to find library with __inb/__outb ?
- To: help-gcc at gnu dot org
- Subject: Re: Where to find library with __inb/__outb ?
- From: jvalenzu at viasub dot net (Joseph I. Valenzuela)
- Date: Tue, 17 Aug 1999 19:24:17 GMT
- Distribution: world
- Newsgroups: gnu.gcc.help
- References: <37A00FB6.46150483@freemail.nl>
- Xref: wodc7nx0 gnu.gcc.help:545
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.