Current-Users archive

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

Cross-build failure on i386 in sh/init.c

I'm cross-building -CURRENT on an Ubuntu Linux host. I updated at
20080227 0659 GMT. My environment looks like:

export MACHINE=i386
export DESTDIR=/home/pi/netbsd/dest.i386
export RELEASEDIR=/home/pi/netbsd/release
export X11SRCDIR=/home/pi/netbsd/xsrc
export TOOLDIR=/home/pi/netbsd/tooldir.i386

and the command I'm using is:
./ -U -u -x -O ../obji386 build kernel=SNEAK release

The failure is as follows:
#   compile  sh/init.o
/home/pi/netbsd/tooldir.i386/bin/i386--netbsdelf-gcc -O2  -Wall 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare 
-Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings 
-Wextra -Wno-unused-parameter -std=gnu99  -Werror   -DSHELL -I. 
-I/home/pi/netbsd/src/bin/sh -nostdinc -isystem 
/home/pi/netbsd/dest.i386/usr/include   -c    init.c
cc1: warnings being treated as errors
init.c: In function 'reset':
init.c:235: warning: function declaration isn't a prototype
init.c:235: warning: declaration of 'initshellproc' shadows a global declaration
/home/pi/netbsd/src/bin/sh/init.h:39: warning: shadowed declaration is here
init.c:295: error: expected declaration or statement at end of input

*** Failed target:  init.o
*** Failed command: /home/pi/netbsd/tooldir.i386/bin/i386--netbsdelf-gcc -O2 
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wcast-qual 
-Wwrite-strings -Wextra -Wno-unused-parameter -std=gnu99 -Werror -DSHELL -I. 
-I/home/pi/netbsd/src/bin/sh -nostdinc -isystem 
/home/pi/netbsd/dest.i386/usr/include -c init.c
*** Error code 1

Is anyone else seeing this? I'm not familiar enough with the shell's build 
process to consider trying to fix it myself.


<@feem> i had someone claim to me the other day that pi was the longest
    irrational number in existence
<@feem> and someone else said no e was
<@feem> and i stared at them

Attachment: pgpqOmPnKCPPz.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index