Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: common/linux_siginfo.h:54:1: error: "LINUX_SI_TIMER" redefined



On Tue, Oct 21, 2008 at 09:53:28PM +0200, Erik Bertelsen wrote:
> On NetBSD/macppc current as of a few hours ago, I see:
> 
> dependall ===> usr.bin/kdump
>     compile  kdump/setemul.o
> *** Failed target:  setemul.o
> *** Failed command:
> /home/NetBSD/obj.powerpc/tools.4.99.73-powerpc/bin/powerpc--netbsd-gcc
> -O2 -fstack-protector -Wstack-protector --param ssp-buffer-size=1
> -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
> -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wreturn-type
> -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra
> -Wno-unused-parameter -Werror -I/home/NetBSD/src/usr.bin/ktrace
> -I/home/NetBSD/src/sys -nostdinc -isystem /usr/include
> -D_FORTIFY_SOURCE=2 -c /home/NetBSD/src/usr.bin/kdump/setemul.c
> *** Error code 1
> 
> This could like a fall-out of:
> 
> 
> Module Name:    src
> Committed By:   njoly
> Date:           Sun Oct 19 09:44:31 UTC 2008
> 
> Modified Files:
>        src/sys/compat/linux/arch/amd64: linux_machdep.c
>        src/sys/compat/linux/arch/i386: linux_machdep.c
>        src/sys/compat/linux/common: linux_siginfo.h linux_signal.c
>            linux_signal.h
>        src/sys/compat/linux32/arch/amd64: linux32_machdep.c
> 
> Log Message:
> Add native to linux siginfo si_code translation, mostly for negative
> values. Adjust amd64 and i386 accordingly, not sure about aother archs
> i can't test.

Yes, my bad. I think i just fixed it; please cvs up.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.


Home | Main Index | Thread Index | Old Index