From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 5569 invoked from network); 11 Aug 1998 06:08:15 -0000 Received: from bacchus.pc1.uni-duesseldorf.de (root@134.99.152.11) by mail2.redhat.com with SMTP; 11 Aug 1998 06:08:14 -0000 Received: from bacchus.pc1.uni-duesseldorf.de (jochen@localhost [127.0.0.1]) by bacchus.pc1.uni-duesseldorf.de (8.8.7/8.8.7) with SMTP id IAA26056; Tue, 11 Aug 1998 08:08:11 +0200 From: Jochen Kuepper Reply-To: jochen@uni-duesseldorf.de To: axp-list@redhat.com, Larry Creech Subject: Re: HW libs? Date: Thu, 4 Jun 48409 06:45:44 +0200 X-Mailer: KMail [version 0.7.9] Content-Type: text/plain References: MIME-Version: 1.0 Message-Id: <98081108081000.26025@bacchus.pc1.uni-duesseldorf.de> Content-Transfer-Encoding: quoted-printable X-KMail-Mark: On Tue, 11 Aug 1998 Larry Creech wrote: >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=20 >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,=20 >unsigned long)' >hardware.cpp(.text+0x2a8): undefined reference to `_outb(unsigned char,=20 >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)' Heve you compiled all sources with optimization ( -O2 ) turned on ? IIRC that's needed for that asm/io stuff. Greetings, Jochen ----------------------------------------------------------------------- Jochen K"upper Heinrich-Heine-Universit"at D"usseldorf jochen@uni-duesseldorf.de Institut f"ur Physikalische Chemie I Universit"atsstr. 1, Geb 26.43 Raum 02.29 phone ++49-211-8113681 40225 D"usseldorf fax ++49-211-8115195 Germany http://www-public.rz.uni-duesseldorf.de/~jochen -----------------------------------------------------------------------