NetBSD-Users archive

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

6.1_RC2 build fails



Hi All,

Once again, upgrading from 6.1_RC1 to 6.1_RC2 fails.
My first build I did not log it.
The error was something like main() is already defined at expr.c,
while linking ksh/ksh.ro.

The log below is my second attempt.
Apparently, it differs from the first build.
Any suggestion would be highly appreciated.
Thank you in advance.

# uname -a
NetBSD netbsd.localdomain 6.1_RC1 NetBSD 6.1_RC1 (GENERIC) #5: Fri Mar  8 
17:34:39 ICT 2013  
root@netbsd.localdomain:/usr/obj/sys/arch/i386/compile/GENERIC i386

# cd /usr/src
# nohup ./build.sh -r -O ../obj -T ../tools -U distribution > /var/tmp/build.log
# cat /var/tmp/build.log
...
#   compile  csh/str.o
/usr/src/../tools/bin/i486--netbsdelf-gcc -Os  -std=gnu99  -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 -Wno-sign-compare 
-Wsign-compare -Wformat=2 -Werror    --sysroot=/usr/src/../obj/destdir.i386 
-I/usr/src/bin/csh -I. -DBUILTIN -DFILEC -DNLS -DSHORT_STRINGS 
-DRESCUEDIR=\"/rescue\"  -c    /usr/src/bin/csh/str.c
#   compile  csh/time.o
/usr/src/../tools/bin/i486--netbsdelf-gcc -Os  -std=gnu99  -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 -Wno-sign-compare 
-Wsign-compare -Wformat=2 -Werror    --sysroot=/usr/src/../obj/destdir.i386 
-I/usr/src/bin/csh -I. -DBUILTIN -DFILEC -DNLS -DSHORT_STRINGS 
-DRESCUEDIR=\"/rescue\"  -c    /usr/src/bin/csh/time.c
#      link  csh/csh.ro
/usr/src/../tools/bin/i486--netbsdelf-gcc  
--sysroot=/usr/src/../obj/destdir.i386 -nostdlib -r -Wl,-dc -o csh.ro alloc.o 
char.o const.o csh.o dir.o dol.o err.o exec.o exp.o file.o func.o glob.o hist.o 
init.o lex.o misc.o parse.o printf.o proc.o sem.o set.o str.o time.o
*** Error code 1

Stop.
nbmake: stopped in /usr/obj/rescue
*** Error code 1

Stop.
nbmake: stopped in /usr/src/rescue
*** Error code 1

Stop.
nbmake: stopped in /usr/src/rescue
*** Error code 1

Stop.
nbmake: stopped in /usr/src/rescue
*** Error code 1

Stop.
nbmake: stopped in /usr/src
*** Error code 1

Stop.
nbmake: stopped in /usr/src
*** Error code 1

Stop.
nbmake: stopped in /usr/src
*** Error code 1

Stop.
nbmake: stopped in /usr/src

Thanks,
-- 
Pongthep Kulkrisada
 
"UNIX is basically a simple operating system,
but you have to be a genius to understand the simplicity."
-- Dennis M. Ritchie


Home | Main Index | Thread Index | Old Index