gk7huki / kadc Goto Github PK
View Code? Open in Web Editor NEWKademlia Distributed Hash Table C library
Home Page: http://kadc.sourceforge.net/
Kademlia Distributed Hash Table C library
Home Page: http://kadc.sourceforge.net/
Hello!
There are some errors when I compiled Kadc. What shoud I do?
D:\resource\libkadc\KadC> scons
scons: Reading SConscript files ...
Looking for build directory for platform 'win32'
Found directory build\win32, will build there
scons: done reading SConscript files.
scons: Building targets ...
cl -o build\win32\bufio.obj -c /nologo -Wall -pedantic -include kadc.h -m32 -fno-pie -std=gnu99 -D_REENTRANT -D_GNU_SOURCE -Isrc -Iclients src\bufio.c
cl: 命令行 warning D9035 :“o”Option is rejected and will be removed in a future version
cl: 命令行 warning D9002 :ignore unknown options“-pedantic”
cl: 命令行 warning D9002 :ignore unknown options“-include”
cl: 命令行 warning D9002 :ignore unknown options“-m32”
cl: 命令行 warning D9002 :ignore unknown options“-fno-pie”
cl: 命令行 warning D9002 :ignore unknown options“-std=gnu99”
cl: 命令行 warning D9024 :unrecognized source file type“kadc.h”,assume object file
cl: 命令行 warning D9027 :source file“kadc.h”ignored
bufio.c
src\bufio.c(67): error C2079: “getipn”use undefined struct“in_addr”
src\bufio.c(68): error C2065: “in_addr_t”: undeclared identifier
src\bufio.c(68): error C2146: Syntax error: missing ';' (before identifier 'U')
src\bufio.c(68): warning C4555: unused expression results
src\bufio.c(68): error C2065: “u”: undeclared identifier
src\bufio.c(68): warning C4555: unused expression results
src\bufio.c(69): error C2065: “u”: undeclared identifie
src\bufio.c(70): error C2065: “u”: undeclared identifie
src\bufio.c(71): error C2065: “u”: undeclared identifie
src\bufio.c(72): error C2065: “u”: undeclared identifie
src\bufio.c(73): error C2065: “u”: undeclared identifie
src\bufio.c(74): error C2065: “u”: undeclared identifie
src\bufio.c(75): error C2065: “u”: undeclared identifie
src\bufio.c(76): error C2079: 'addr' uses undefined struct 'in'_ addr”
src\bufio.c(77): error C2224: “.s_ The left side of 'addr' must have a struct / union type
src\bufio.c(77): error C2065: “u”: undeclared identifie
src\bufio.c(78): error C2440: "return": cannot convert from "int" to "in_ addr”
src\bufio.c(104): error C2065: “in_addr_t”: undeclared identifie
src\bufio.c(104): error C2146: Syntax error: missing ';' (before identifier 'U')
src\bufio.c(104): warning C4555: unused expression results
src\bufio.c(104): error C2065: “u”: undeclared identifie
src\bufio.c(104): error C2037: “s_ The left part of "addr" specifies the undefined struct / Union "in_ addr”
src\bufio.c(105): error C2065: “u”: undeclared identifie
src\bufio.c(106): error C2065: “u”: undeclared identifie
src\bufio.c(107): error C2065: “u”: undeclared identifie
src\bufio.c(108): error C2065: “u”: undeclared identifie
scons: *** [build\win32\bufio.obj] Error 2
scons: building terminated because of errors.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.