Current-Users archive

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

On-going npflog-related build breakage



With sources from 2013-03-13 at 10:20:02 UTC:

#   compile  libnpf/if_npflog.o
/test-bed/tools/bin/x86_64--netbsd-gcc -O2 -ffreestanding -fno-strict-aliasing 
-mno-red-zone -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 -Werror -Wno-format-zero-length 
-Wno-pointer-sign   -fstack-protector -Wstack-protector   --param 
ssp-buffer-size=1   -D_NPF_TESTING 
-I/test-bed/src/sys/rump/net/lib/libnpf/../../../librump/rumpvfs 
-I/test-bed/src/sys/rump/net/lib/libnpf/../../../librump/rumpkern 
-I/test-bed/src/sys/rump/net/lib/libnpf/../../../librump/rumpnet  
-I/test-bed/src/sys/rump/net/lib/libnpf/../../../librump/rumpnet/opt 
--sysroot=/test-bed/dst -D_RUMP_NATIVE_ABI -DMAXUSERS=32 -DCOMPAT_50=1 
-nostdinc -D_KERNEL -DMULTIPROCESSOR -D_MODULE -DMODULAR -DDEBUGPRINT 
-I/test-bed/src/sys/rump/net/lib/libnpf -I. 
-I/test-bed/src/sys/rump/net/lib/libnpf/../../../../../common/include 
-I/test-bed/src/sys/rump/net/lib/libnpf/../../../include 
-I/test-bed/src/sys/rump/net/lib/libnpf/../../../librump/rumpkern/opt 
-I/test-bed/src/sys/rump/net/lib/libnpf/../../../../arch 
-I/test-bed/src/sys/rump/net/lib/libnpf/../../../.. -DDIAGNOSTIC -D__NetBSD__   
-D_FORTIFY_SOURCE=2 -c    
/test-bed/src/sys/rump/net/lib/libnpf/../../../../net/npf/if_npflog.c -o 
if_npflog.o
/test-bed/src/sys/rump/net/lib/libnpf/../../../../net/npf/if_npflog.c:53:38: error: macro 
"MODULE" requires 3 arguments, but only 2 given
cc1: warnings being treated as errors
/test-bed/src/sys/rump/net/lib/libnpf/../../../../net/npf/if_npflog.c:53:1: 
error: data definition has no type or storage class
/test-bed/src/sys/rump/net/lib/libnpf/../../../../net/npf/if_npflog.c:53:1: 
error: type defaults to 'int' in declaration of 'MODULE'
/test-bed/src/sys/rump/net/lib/libnpf/../../../../net/npf/if_npflog.c:154:1: 
error: 'if_npflog_modcmd' defined but not used

*** Failed target:  if_npflog.o

-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index