Current-Users archive

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

Re: netbsd-5 doesn't build

On 5/20/12 3:35 AM, Takeshi Nakayama wrote:
Hisashi T Fujinaka<>  wrote
--- main.o ---
#   compile  pmap/main.o
/usr/obj/netbsd-5/amd64/tooldir/bin/x86_64--netbsd-gcc -O2  -fstack-protector 
-Wstack-protector --param ssp-buffer-size=1 -Wall -Wst
rict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare 
-Wno-traditional -Wa,--fatal-warnings  -Werror   -nostdinc -i
system /usr/obj/netbsd-5/amd64/destdir/usr/include   -D_FORTIFY_SOURCE=2 -c    
In file included from /usr/src/usr.bin/pmap/pmap.h:61,
                   from /usr/src/usr.bin/pmap/main.c:51:
error: expected ':', ',', ';', '}' or '__attribute__' bef
ore '.' token
*** [main.o] Error code 1
1 error
It requires some change like as attached.

-- Takeshi Nakayama

Thanks for spotting this, and for the fix. Your fix has been applied to the branch.


Home | Main Index | Thread Index | Old Index