NetBSD-Users archive

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

I can not compile netbsd-6



I download src tarfiles for netbsd-6 and tried to compile it with such
mk.conf in src directory:

MKHTML=no
MKINET6=no
MKMANZ=yes
MKPOSTFIX=no
MKYP=no
MKKERBEROS=no
MKLDAP=no
MKLVM=yes

Whatever I do building stops always at this point:

#   compile  kernel/t_subr_prf.o
/home/user/NETBSD/src/obj/tooldir.Linux-3.5.0-x86_64/bin/i486--netbs
delf-gcc -O2 -std=gnu99  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointe
r-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 -Wno-missing-noreturn
-fPIC -D
PIC -fstack-protector-all -fstack-protector -Wstack-protector   --param
ssp-buff
er-size=1   --sysroot=/home/users/prezi/NETBSD/netbsd-6/obj/destdir.i386
 -D_FOR
TIFY_SOURCE=2 -c    t_subr_prf.c
t_subr_prf.c:106:1: error: expected declaration specifiers or '...'
before numer
ic constant
t_subr_prf.c:106:1: error: expected declaration specifiers or '...'
before '__bu
iltin_object_size'
cc1: warnings being treated as errors
t_subr_prf.c:106:1: error: conflicting types for built-in function
'__builtin___
snprintf_chk'
t_subr_prf.c:122:1: error: expected declaration specifiers or '...'
before numer
ic constant
t_subr_prf.c:122:1: error: expected declaration specifiers or '...'
before '__bu
iltin_object_size'
t_subr_prf.c:122:1: error: conflicting types for built-in function
'__builtin___
vsnprintf_chk'

*** Failed target:  t_subr_prf.o
*** Failed command: /home/user/NETBSD/src/obj/tooldir.Linux-3.5.0-x8
6_64/bin/i486--netbsdelf-gcc -O2 -std=gnu99 -Wall -Wstrict-prototypes
-Wmissing-
prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional
-Wa,--fatal-warnin
gs -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra
-Wno-unus
ed-parameter -Wno-sign-compare -Wsign-compare -Wformat=2 -Werror
-Wno-missing-no
return -fPIC -DPIC -fstack-protector-all -fstack-protector
-Wstack-protector --p
aram ssp-buffer-size=1
--sysroot=/home/users/prezi/NETBSD/netbsd-6/obj/destdir.i
386 -D_FORTIFY_SOURCE=2 -c t_subr_prf.c
*** Error code 1


I start build.sh such way:
./build.sh -m i386 -U release

As you see I try in on linux.

Michał


Home | Main Index | Thread Index | Old Index