Subject: AW: FreeBSD?s ioperm() vs. NetBSD?s i386_set_ioperm()
To: Dublet <dublet@dublet.org>
From: Nicolas Saurbier <Nicolas.Saurbier@biodata.de>
List: tech-kern
Date: 07/17/2003 12:59:40
THANX MAN!!!

It=B4s working!

This seems to become a great day!

NIC

-----Urspr=FCngliche Nachricht-----
Von: Dublet [mailto:dublet@dublet.org]
Gesendet: Donnerstag, 17. Juli 2003 12:41
An: Nicolas Saurbier
Cc: tech-kern (E-Mail)
Betreff: Re: FreeBSD?s ioperm() vs. NetBSD?s i386_set_ioperm()


Nicolas Saurbier(Nicolas.Saurbier@biodata.de)@2003.07.17 12:35:30 +0000:
> Host1>make
> g++ -O1 -o meskalin meskalin.cpp
> /tmp/ccwqSvfh.o: In function `meskalin::startio(void)':
> /tmp/ccwqSvfh.o(.text+0x15b): undefined reference to `i386_get_ioperm'
> /tmp/ccwqSvfh.o(.text+0x16d): undefined reference to `i386_set_ioperm'
> collect2: ld returned 1 exit status
> *** Error code 1
>=20
> Stop.

you need to link with -li386:
g++ -O1 -o meskalin -li386 meskalin.cpp
That would probably make it work.



--=20
|>DUBLET: Digital Unit Built for Logical Exploration and =
Troubleshooting<|
"The California crunch really is the result of not enough power to
power the power of generating plants."
	--George W. Bush