View Single Post
Old 05-08-2017, 03:20 AM   #10
TauTau
Human being with feelings
 
Join Date: Feb 2011
Posts: 83
Default

I fetched the current WDL version from git, but it doesn't compile with the downloaded ninjam source

Quote:
g++ -O2 -s -Wall -pthread -c -o ../../WDL/jnetlib/asyncdns.o ../../WDL/jnetlib/asyncdns.cpp
g++ -O2 -s -Wall -pthread -c -o ../../WDL/jnetlib/connection.o ../../WDL/jnetlib/connection.cpp
g++ -O2 -s -Wall -pthread -c -o ../../WDL/jnetlib/listen.o ../../WDL/jnetlib/listen.cpp
g++ -O2 -s -Wall -pthread -c -o ../../WDL/jnetlib/util.o ../../WDL/jnetlib/util.cpp
g++ -O2 -s -Wall -pthread -c -o ../../WDL/jnetlib/httpget.o ../../WDL/jnetlib/httpget.cpp
g++ -O2 -s -Wall -pthread -c -o ../../WDL/rng.o ../../WDL/rng.cpp
g++ -O2 -s -Wall -pthread -c -o ../../WDL/sha.o ../../WDL/sha.cpp
g++ -O2 -s -Wall -pthread -o ninjamsrv ../../WDL/jnetlib/asyncdns.o ../../WDL/jnetlib/connection.o ../../WDL/jnetlib/listen.o ../../WDL/jnetlib/util.o ../../WDL/jnetlib/httpget.o ../../WDL/rng.o ../../WDL/sha.o ../mpb.o ../netmsg.o usercon.o ninjamsrv.o
ninjamsrv.o: In function `onConfigChange(int, char**)':
ninjamsrv.cpp.text+0x824): undefined reference to `JNL_Listen::JNL_Listen(short, unsigned long)'
ninjamsrv.o: In function `main':
ninjamsrv.cpp.text.startup+0x4dc): undefined reference to `JNL_Listen::JNL_Listen(short, unsigned long)'
ninjamsrv.cpp.text.startup+0x61d): undefined reference to `JNL::addr_to_ipstr(unsigned long, char*, int)'
ninjamsrv.cpp.text.startup+0x928): undefined reference to `JNL::addr_to_ipstr(unsigned long, char*, int)'
usercon.o: In function `User_Connection::OnRunAuth(User_Group*)':
usercon.cpp.text+0x2994): undefined reference to `JNL::addr_to_ipstr(unsigned long, char*, int)'
usercon.o: In function `User_Connection::Run(User_Group*, int*)':
usercon.cpp.text+0x6b30): undefined reference to `JNL::addr_to_ipstr(unsigned long, char*, int)'
usercon.cpp.text+0x6c3e): undefined reference to `JNL::addr_to_ipstr(unsigned long, char*, int)'
usercon.o:usercon.cpp.text+0x7c74): more undefined references to `JNL::addr_to_ipstr(unsigned long, char*, int)' follow
collect2: error: ld returned 1 exit status
make: *** [ninjamsrv] Error 1
TauTau is offline   Reply With Quote