From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,d1b62e35ba35b8b6,start X-Google-Attributes: gid111c93,public From: Jacob Gladish Subject: linking problems with I/O port operations Date: 1999/01/29 Message-ID: <36B24C42.EBB3DF77@psc.edu>#1/1 X-Deja-AN: 438528466 Content-Transfer-Encoding: 7bit Organization: University of Pittsburgh Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha I got some code the is supposed to be able to transer MP3's up and down from the diamond rio. and it built fine on a linux/intel box, but when I try to build it on my alpha, I get undefined references to _inb(unsigned long) ...and _outb(unsigned char, unsigned long) I have 1.) been using the __KERNEL__ macro 2.) turning on -O3 optimizations and -finline-functions I'm using gcc version egcs-2.91.57 19980901 (egcs-1.1 release) and kernel 2.1.122 on an alpha station 200. I have very little experience with device driver level code. Does anyone have any idea what is going on here. Thanks, Jake.