Current-Users archive

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

Re: netbsd-5 doesn't build



>>> Hisashi T Fujinaka <htodd%twofifty.com@localhost> 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   
>  /usr/src/usr.bin/pmap/main.c
> In file included from /usr/src/usr.bin/pmap/pmap.h:61,
>                   from /usr/src/usr.bin/pmap/main.c:51:
> /usr/obj/netbsd-5/amd64/destdir/usr/include/isofs/cd9660/cd9660_node.h:75: 
> error: expected ':', ',', ';', '}' or '__attribute__' bef
> ore '.' token
> *** [main.o] Error code 1
> 1 error

It requires some change like as attached.

-- Takeshi Nakayama
--- usr.bin/pmap/pmap.h.orig    2008-04-30 09:55:16.000000000 +0900
+++ usr.bin/pmap/pmap.h 2012-05-20 12:57:56.000000000 +0900
@@ -55,6 +55,9 @@
 #include <uvm/uvm_device.h>
 
 #include <ufs/ufs/inode.h>
+#undef i_endoff
+#undef i_diroff
+#undef i_offset
 #undef doff_t
 #undef IN_ACCESS
 #include <isofs/cd9660/iso.h>


Home | Main Index | Thread Index | Old Index