|
Re: lug-bg: i/o port
- Subject: Re: lug-bg: i/o port
- From: stoev@xxxxxxxxxxxxxxxxx (Julian Stoev)
- Date: Sat, 12 Feb 2000 22:44:15 +0900
Ne sym spec po vyprosa, no spored men po-lesno shte e da pishesh (i
chetesh) ot /dev ustroistvata. Tova shte e po-bavno, no spored men
po-chist variant.
Za poveche:
http://www.linuxdoc.org/HOWTO/mini/IO-Port-Programming.html
i po-specialno tova:
http://www.linuxdoc.org/HOWTO/mini/IO-Port-Programming-8.html
(!!!!!!!)
Q2.
I can't find the in*(), out*() functions defined anywhere, and gcc
complains about undefined references.
A2.
You did not compile with optimisation turned on (-O), and thus gcc
could not resolve the macros in asm/io.h. Or
you did not #include <asm/io.h> at all.
Poznah li? :-)
--JS
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|