From: Larry Creech <lcreech@lonestar.rcclub.org>
To: axp-list@redhat.com
Subject: HW libs?
Date: Mon, 10 Aug 1998 17:56:47 -0500 (CDT) [thread overview]
Message-ID: <Pine.LNX.3.91.980810175038.31663B-100000@LoneStar.rcclub.org> (raw)
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))
...
next reply other threads:[~1998-08-10 22:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-08-10 22:56 Larry Creech [this message]
1998-08-11 6:08 ` HW libs? Jochen Kuepper
1998-08-11 7:12 ` Richard Henderson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox