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

It=B4s working!

This seems to become a great day!


-----Urspr=FCngliche Nachricht-----
Von: Dublet []
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( 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
> Stop.

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

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