Giter VIP home page Giter VIP logo

Comments (5)

mwarning avatar mwarning commented on September 22, 2024

ok, I haven't build kadnode with cygwin for quite a while.
But it's (somewhat) documented: https://github.com/mwarning/KadNode/tree/master/windows

from kadnode.

lostfile avatar lostfile commented on September 22, 2024

make
cc -Os -Wall -Wwrite-strings -pedantic -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -g -DDEBUG -DDNS -DNSS -DTLS -c -o build/main.o src/main.c
cc -Os -Wall -Wwrite-strings -pedantic -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -g -DDEBUG -DDNS -DNSS -DTLS -c -o build/searches.o src/searches.c
cc -Os -Wall -Wwrite-strings -pedantic -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -g -DDEBUG -DDNS -DNSS -DTLS -c -o build/kad.o src/kad.c
cc -Os -Wall -Wwrite-strings -pedantic -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -g -DDEBUG -DDNS -DNSS -DTLS -c -o build/log.o src/log.c
cc -Os -Wall -Wwrite-strings -pedantic -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -g -DDEBUG -DDNS -DNSS -DTLS -c -o build/conf.o src/conf.c
cc -Os -Wall -Wwrite-strings -pedantic -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -g -DDEBUG -DDNS -DNSS -DTLS -c -o build/net.o src/net.c
cc -Os -Wall -Wwrite-strings -pedantic -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -g -DDEBUG -DDNS -DNSS -DTLS -c -o build/utils.o src/utils.c
cc -Os -Wall -Wwrite-strings -pedantic -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -g -DDEBUG -DDNS -DNSS -DTLS -c -o build/announces.o src/announces.c
cc -Os -Wall -Wwrite-strings -pedantic -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -g -DDEBUG -DDNS -DNSS -DTLS -c -o build/peerfile.o src/peerfile.c
cc -Os -Wall -Wwrite-strings -pedantic -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -g -DDEBUG -DDNS -DNSS -DTLS -c -o build/unix.o src/unix.c
cc -Os -Wall -Wwrite-strings -pedantic -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -g -DDEBUG -DDNS -DNSS -DTLS -c -o build/windows.o src/windows.c
src/windows.c: In function ‘windows_service_start’:
src/windows.c:72:3: warning: implicit declaration of function ‘log_warn’; did you mean ‘log_warning’? [-Wimplicit-function-declaration]
log_warn("WIN: Can not start service: Error %d", GetLastError());
^~~~~~~~
log_warning
cc -Os -Wall -Wwrite-strings -pedantic -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -g -DDEBUG -DDNS -DNSS -DTLS -c -o build/ext-lpd.o src/ext-lpd.c
cc -Os -Wall -Wwrite-strings -pedantic -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -g -DDEBUG -DDNS -DNSS -DTLS -c -o build/ext-bob.o src/ext-bob.c
cc -Os -Wall -Wwrite-strings -pedantic -std=gnu99 -I/usr/local/include -DLPD -DBOB -DCMD -g -DDEBUG -DDNS -DNSS -DTLS -c -o build/ext-cmd.o src/ext-cmd.c
src/ext-cmd.c: In function ‘cmd_client’:
src/ext-cmd.c:431:53: error: ‘tv’ undeclared (first use in this function); did you mean ‘tm’?
size = select_read(sock, buffer, strlen(buffer), &tv);
^~
tm
src/ext-cmd.c:431:53: note: each undeclared identifier is reported only once for each function it appears in
make: *** [Makefile:82: build/ext-cmd.o] Error 1

from kadnode.

mwarning avatar mwarning commented on September 22, 2024

Thanks for the report. I pushed two commits that should fix the issue.

from kadnode.

lostfile avatar lostfile commented on September 22, 2024

np

from kadnode.

mwarning avatar mwarning commented on September 22, 2024

ok, on to the next issue. :-)

from kadnode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.