Current-Users archive

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

Re: Build failure (SSP)



In article <20110216161055.GA16629@marx.bitnet>,
Jukka Ruohonen  <jruohonen%iki.fi@localhost> wrote:
>Hi.
>
>My amd64 build fails with:
>
>echo "set solib-absolute-prefix /usr/obj/destdir.amd64" > .gdbinit
>#   compile  mt/mt.o
>/usr/tools/bin/x86_64--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 -Wsign-compare -std=gnu99  -Werror
># -- - - - -nostdinc -isystem /usr/obj/destdir.amd64/usr/include
># -- - - - - -D_FORTIFY_SOURCE=2 -c    /usr/src/bin/mt/mt.c
>In file included from /usr/obj/destdir.amd64/usr/include/unistd.h:74,
>                 from /usr/src/bin/mt/mt.c:64:
>/usr/obj/destdir.amd64/usr/include/ssp/unistd.h:39: error: static
>declaration of 'rmtread' follows non-static declaration
>/usr/obj/destdir.amd64/usr/include/rmt.h:35: error: previous declaration of
>/  'rmtread' was here
>
>*** Failed target:  mt.o
>*** Failed command: /usr/tools/bin/x86_64--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
>*** - - - - -Wsign-compare -std=gnu99 -Werror -nostdinc -isystem
>*** - - - - - /usr/obj/destdir.amd64/usr/include -D_FORTIFY_SOURCE=2 -c
>*** - - - - - / /usr/src/bin/mt/mt.c
>*** Error code 1

Fixed.

christos



Home | Main Index | Thread Index | Old Index