I'm not sure if we're allowed to ask about building the shoddy battle 2 server yet, if not I apologize for posting this, I'm just anxious to give the server a try.
Anyways, I have the server under Ubuntu 8.10, and I've installed all the necessary libraries (I believe). The problem is that the .js files don't link correctly. For example:
g++ -ljs -lboost_thread-mt -lboost_regex -lboost_system-mt -lnspr4 -lxerces-c -lmysqlpp -c -g -Wall -I/usr/local/include/boost-1_38/ -I/usr/local/include/mysql++ -I/usr/include/mysql -I/usr/local/include/nspr -I/usr/local/include/boost -I/usr/local/include/js -MMD -MP -MF build/Debug/GNU-Linux-x86/resources/constants.o.d -o build/Debug/GNU-Linux-x86/resources/constants.o resources/constants.js
g++: resources/constants.js: linker input file unused because linking not done
I thought maybe the -c flag was causing the issues so i removed the -c flag and got:
g++ -ljs -lboost_thread-mt -lboost_regex -lboost_system-mt -lnspr4 -lxerces-c -lmysqlpp -Wl,-V -g -I/usr/local/include/boost-1_38/ -I/usr/local/include/mysql++ -I/usr/include/mysql -I/usr/local/include/nspr -I/usr/local/include/boost -I/usr/local/include/js -MMD -MP -MF build/Debug/GNU-Linux-x86/resources/constants.o.d -o build/Debug/GNU-Linux-x86/resources/constants.o resources/constants.js
GNU ld (GNU Binutils for Ubuntu) 2.18.93.20081009
Supported emulations:
elf_i386
i386linux
elf_x86_64
/usr/bin/ld:resources/constants.js: file format not recognized; treating as linker script
/usr/bin/ld:resources/constants.js:25: syntax error
collect2: ld returned 1 exit status
if anyone knows what the issues here is, I'd really appreciate some guidance here. Thanks in advance.
Anyways, I have the server under Ubuntu 8.10, and I've installed all the necessary libraries (I believe). The problem is that the .js files don't link correctly. For example:
g++ -ljs -lboost_thread-mt -lboost_regex -lboost_system-mt -lnspr4 -lxerces-c -lmysqlpp -c -g -Wall -I/usr/local/include/boost-1_38/ -I/usr/local/include/mysql++ -I/usr/include/mysql -I/usr/local/include/nspr -I/usr/local/include/boost -I/usr/local/include/js -MMD -MP -MF build/Debug/GNU-Linux-x86/resources/constants.o.d -o build/Debug/GNU-Linux-x86/resources/constants.o resources/constants.js
g++: resources/constants.js: linker input file unused because linking not done
I thought maybe the -c flag was causing the issues so i removed the -c flag and got:
g++ -ljs -lboost_thread-mt -lboost_regex -lboost_system-mt -lnspr4 -lxerces-c -lmysqlpp -Wl,-V -g -I/usr/local/include/boost-1_38/ -I/usr/local/include/mysql++ -I/usr/include/mysql -I/usr/local/include/nspr -I/usr/local/include/boost -I/usr/local/include/js -MMD -MP -MF build/Debug/GNU-Linux-x86/resources/constants.o.d -o build/Debug/GNU-Linux-x86/resources/constants.o resources/constants.js
GNU ld (GNU Binutils for Ubuntu) 2.18.93.20081009
Supported emulations:
elf_i386
i386linux
elf_x86_64
/usr/bin/ld:resources/constants.js: file format not recognized; treating as linker script
/usr/bin/ld:resources/constants.js:25: syntax error
collect2: ld returned 1 exit status
if anyone knows what the issues here is, I'd really appreciate some guidance here. Thanks in advance.