Subject: Re: =?iso-8859-1?Q?FreeBSD=B4s_ioperm=28=29_vs=2E_NetBSD=B4s_i386=5Fset=5Fio?=
To: Nicolas Saurbier <Nicolas.Saurbier@biodata.de>
From: None <cube@cubidou.net>
List: netbsd-help
Date: 07/17/2003 13:02:38
On Thu, Jul 17, 2003 at 12:35:30PM +0200, Nicolas Saurbier wrote:
[...]
> 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

You need -li386.

> P.P.S: I´m not sure if this is the right mailing-list... ;-)

It is not.

Quentin Garnier.