Current-Users archive

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

One more build break - usr.sbin/cpuctl



Cross-building on an amd64 host system, with a mips target...

#   compile  cpuctl/noarch.o
/build/netbsd-local/tools/x86_64/mipseb-evbmips/bin/mipseb--netbsd-gcc -O2  
-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 -Wsign-compare -Wformat=2   -Wno-format-zero-length  -Werror  
  --sysroot=/build/netbsd-local/dest/mipseb-evbmips  -c    
/build/netbsd-local/src/usr.sbin/cpuctl/arch/noarch.c
cc1: warnings being treated as errors
In file included from 
/build/netbsd-local/src/usr.sbin/cpuctl/arch/noarch.c:38:0:
/build/netbsd-local/src/usr.sbin/cpuctl/arch/../cpuctl.h:37:35: error: 'struct 
cpu_ucode' declared inside parameter list
/build/netbsd-local/src/usr.sbin/cpuctl/arch/../cpuctl.h:37:35: error: its 
scope is only this definition or declaration, which is probably not what you 
want
/build/netbsd-local/src/usr.sbin/cpuctl/arch/noarch.c:48:31: error: 'struct 
cpu_ucode' declared inside parameter list
/build/netbsd-local/src/usr.sbin/cpuctl/arch/noarch.c:48:1: error: conflicting 
types for 'ucodeupdate_check'
/build/netbsd-local/src/usr.sbin/cpuctl/arch/../cpuctl.h:37:5: note: previous 
declaration of 'ucodeupdate_check' was here
/build/netbsd-local/src/usr.sbin/cpuctl/arch/noarch.c: In function 
'ucodeupdate_check':
/build/netbsd-local/src/usr.sbin/cpuctl/arch/noarch.c:48:1: error: parameter 
name omitted

cpuctl builds successfully on the same host, with amd64 target.


-------------------------------------------------------------------------
| 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