Subject: Re: CVS commit: src/sys/compat/linux
To: Dave Huang <khym@azeotrope.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: current-users
Date: 11/04/2005 22:15:29
On Sat, 5 Nov 2005, Dave Huang wrote:

> On Sat, Nov 05, 2005 at 12:47:27AM +0000, Emmanuel Dreyfus wrote:
>>
>> Module Name:	src
>> Committed By:	manu
>> Date:		Sat Nov  5 00:47:27 UTC 2005
>>
>> Modified Files:
>> 	src/sys/compat/linux/arch/amd64: linux_machdep.c linux_machdep.h
>> 	src/sys/compat/linux/common: linux_emuldata.h linux_exec.c
>> 	    linux_machdep.h linux_sched.c linux_time.c
>>
>> Log Message:
>> Instead of ifdef'ing __amd64__ all the Linux NPTL stuff, introduce an
>> ifdef LINUX_NPTL.
>> Also implement SETTLS flag to Linux clone()
>
> I now get this error trying to compile an i386 GENERIC kernel:
>
> /usr/src.local/sys/compat/linux/common/linux_exec.c: In function `linux_e_proc_fork':
> /usr/src.local/sys/compat/linux/common/linux_exec.c:310: warning: unused variable `e'
> *** [linux_exec.o] Error code 1

I'm not too sure, but just deleting that line appears to make it
compile.

-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte