Current-Users archive

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

Re: Build break on port-amd64 - related to sprintf clean-up?



On Mar 26,  2:55pm, paul%whooppee.com@localhost (Paul Goyette) wrote:
-- Subject: Build break on port-amd64 - related to sprintf clean-up?

| #   compile  lua/lobject.o
| /build/netbsd-local/tools/x86_64/amd64/bin/x86_64--netbsd-gcc -O2 -std=gnu99  
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-sign-compare  -Wno-traditional  -Wa,--fatal-warnings -Werror   
-ffreestanding  -fno-strict-aliasing -Wno-pointer-sign -mno-red-zone 
-mcmodel=kernel -fno-omit-frame-pointer  
-I/build/netbsd-local/src/common/include 
--sysroot=/build/netbsd-local/dest/amd64 
-I/build/netbsd-local/src/sys/../external/mit/lua/dist/src  
-I/build/netbsd-local/src/sys/sys -I/build/netbsd-local/src/common/include  
-nostdinc -I. -I/build/netbsd-local/src/sys/modules/lua -isystem 
/build/netbsd-local/src/sys -isystem /build/netbsd-local/src/sys/arch -isystem 
/build/netbsd-local/src/sys/../common/include -D_KERNEL -D_LKM -D_MODULE 
-DSYSCTL_INCLUDE_DESCR -c    
/build/netbsd-local/src/sys/../external/mit/lua/dist/src/lobject.c
| /build/netbsd-local/src/sys/../external/mit/lua/dist/src/lobject.c: In 
function 'luaO_pushvfstring':
| /build/netbsd-local/src/sys/../external/mit/lua/dist/src/lobject.c:147:9: 
error: implicit declaration of function 'sprintf' 
[-Werror=implicit-function-declaration]
|           sprintf(buff, "%p", va_arg(argp, void *));
|           ^

Fixed, thanks!

christos


Home | Main Index | Thread Index | Old Index