🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42251

Looking for I/O functions

#42251
From: Tomas T. Peiser, CET
Date: Thu, 04 Jan 1996 00:00
28 lines
1520 bytes
I have been trying to complie a small I/O program hoever I have been 
running into a small problem. When I compile it the following errors 
appear:

/tmp/cca007001.o(.text+0x1d1): undefined reference to `__outbc'
/tmp/cca007001.o(.text+0x1e8): undefined reference to `__outb'
/tmp/cca007001.o(.text+0x226): undefined reference to `__inbc'
/tmp/cca007001.o(.text+0x246): undefined reference to `__inb'

these come from the sys/io.h header. I am running linux 1.2.1, but I 
am not sure what version of gcc came with the Slakware CD set. 

Does anyone know if inb and outb are in another header file or is 
there another include that should go with io.h ?

Much thank in advance.


Opinions expressed are mine and not those of my employer or any
ssociations or groups I am currently envolved with.

Tomas T.Peiser, CET                 __________________________
Chief Technician                   / "To err is human,
CFBC / CJYC Radio                 / to forgive ain't in my
Saint John, N.B., Canada         / ain't in my Job Description.
Preferred : ttp@fundycbl.com    /
Home      : tpeiser@mi.net     /
-------------------------------
Technical Details
Message-ID: <4cgdua$b1c_001@tpeiser.mi.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,9288a245a71c3d9b,start
X-Google-Attributes: gid11318c,public
From: tech@radio.mi.net (Tomas T. Peiser, CET)
Subject: Looking for I/O functions
Date: 1996/01/04
Message-ID: <4cgdua$b1c_001@tpeiser.mi.net>
X-Deja-AN: 134091037
organization: CFBC /CJYC Radio
newsgroups: gnu.gcc.help