From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 30395 invoked from network); 10 Aug 1998 22:56:48 -0000 Received: from lonestar.rcclub.org (205.175.220.226) by mail2.redhat.com with SMTP; 10 Aug 1998 22:56:48 -0000 Received: from LoneStar.rcclub.org (LoneStar.rcclub.org [205.175.220.226]) by LoneStar.rcclub.org (8.8.8/8.6.9) with SMTP id RAA31843 for ; Mon, 10 Aug 1998 17:56:47 -0500 Date: Mon, 10 Aug 1998 17:56:47 -0500 (CDT) From: Larry Creech To: axp-list@redhat.com Subject: HW libs? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Is there a flag I'm missing to get this to link? g++ -O2 -o cRadio main.o hardware.o conf.o options.o timer.o cRadio.o alarm.o aclock.o -I/usr/lib/qt/include -lqt -L/usr/X11R6/lib hardware.o: In function `rtrack::cardWrite(int)': hardware.cpp(.text+0x2a4): undefined reference to `_outb(unsigned char, unsigned long)' hardware.cpp(.text+0x2a8): undefined reference to `_outb(unsigned char, unsigned long)' hardware.o: In function `rtrack::isTuned(void)': hardware.cpp(.text+0x7d8): undefined reference to `_inb(unsigned long)' hardware.cpp(.text+0x7dc): undefined reference to `_inb(unsigned long)' This is included and defined in /usr/include/asm/io.h: extern unsigned int _inb (unsigned long port); #ifndef inb # define inb(p) _inb((p)) ... extern void _outb (unsigned char b,unsigned long port); #ifndef outb # define outb(b,p) _outb((b),(p)) ...