Server Rebuild Issue, help :(

sygnum

New Member
Joined
Aug 26, 2015
Messages
6
After a successful server build, modifying lua and tre files.. I came to a point of needing to modify some /src/ files. I was told in order for these changes to take effect I would need to rebuild the server. The changes in the src files were in the playercreation files and dealing with the welcome email. That was all I wanted to change until I could test a rebuild of the server. After shutting down the server, and doing another makebuild I have received the following error.
Anyone able to help me figure out what the heck happened?

Code:
cd bin/conf && git log --pretty=format:'%h was %an, %ar, message: %s' -10 > rev.txt
cd build/unix && make -j4 UNITTEST_DIRECTIVES="" #CC=clang CXX=clang++
make[1]: Entering directory '/home/swgemu/workspace/Core3/MMOCoreORB/build/unix'
make all-recursive
make[2]: Entering directory '/home/swgemu/workspace/Core3/MMOCoreORB/build/unix'
Making all in src
make[3]: Entering directory '/home/swgemu/workspace/Core3/MMOCoreORB/build/unix/src'
depbase=`echo server/zone/managers/player/PlayerManagerImplementation.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I../../../src -I.. -I/usr/local/include -I/usr/local/include/mysql -I../../../../MMOEngine/include -I../../../../MMOEngine/src -I../../../utils -I/usr/local/include -I/usr/include/mysql -I/usr/local/BerkeleyDB.5.3/include -I/usr/include/db5.3 -I../../../utils/googletest-release-1.8.0/googletest/include -I../../../utils/googletest-release-1.8.0/googlemock/include -I../../../src/autogen -ggdb -Wall -Wextra -Wno-unused -Wno-sign-compare -Wno-multichar -DDEFAULT_DYNAMIC_CAST -Wno-unused-parameter -Wno-overloaded-virtual -Wno-missing-declarations -Werror -std=c++11 -march=native -DCOMPILE_CORE3_TESTS -O0 -MT server/zone/managers/player/PlayerManagerImplementation.o -MD -MP -MF $depbase.Tpo -c -o server/zone/managers/player/PlayerManagerImplementation.o ../../../src/server/zone/managers/player/PlayerManagerImplementation.cpp &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo server/zone/managers/auction/AuctionManagerImplementation.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I../../../src -I.. -I/usr/local/include -I/usr/local/include/mysql -I../../../../MMOEngine/include -I../../../../MMOEngine/src -I../../../utils -I/usr/local/include -I/usr/include/mysql -I/usr/local/BerkeleyDB.5.3/include -I/usr/include/db5.3 -I../../../utils/googletest-release-1.8.0/googletest/include -I../../../utils/googletest-release-1.8.0/googlemock/include -I../../../src/autogen -ggdb -Wall -Wextra -Wno-unused -Wno-sign-compare -Wno-multichar -DDEFAULT_DYNAMIC_CAST -Wno-unused-parameter -Wno-overloaded-virtual -Wno-missing-declarations -Werror -std=c++11 -march=native -DCOMPILE_CORE3_TESTS -O0 -MT server/zone/managers/auction/AuctionManagerImplementation.o -MD -MP -MF $depbase.Tpo -c -o server/zone/managers/auction/AuctionManagerImplementation.o ../../../src/server/zone/managers/auction/AuctionManagerImplementation.cpp &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo server/zone/managers/auction/AuctionsMapImplementation.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I../../../src -I.. -I/usr/local/include -I/usr/local/include/mysql -I../../../../MMOEngine/include -I../../../../MMOEngine/src -I../../../utils -I/usr/local/include -I/usr/include/mysql -I/usr/local/BerkeleyDB.5.3/include -I/usr/include/db5.3 -I../../../utils/googletest-release-1.8.0/googletest/include -I../../../utils/googletest-release-1.8.0/googlemock/include -I../../../src/autogen -ggdb -Wall -Wextra -Wno-unused -Wno-sign-compare -Wno-multichar -DDEFAULT_DYNAMIC_CAST -Wno-unused-parameter -Wno-overloaded-virtual -Wno-missing-declarations -Werror -std=c++11 -march=native -DCOMPILE_CORE3_TESTS -O0 -MT server/zone/managers/auction/AuctionsMapImplementation.o -MD -MP -MF $depbase.Tpo -c -o server/zone/managers/auction/AuctionsMapImplementation.o ../../../src/server/zone/managers/auction/AuctionsMapImplementation.cpp &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo server/zone/managers/minigames/FishingManagerImplementation.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I../../../src -I.. -I/usr/local/include -I/usr/local/include/mysql -I../../../../MMOEngine/include -I../../../../MMOEngine/src -I../../../utils -I/usr/local/include -I/usr/include/mysql -I/usr/local/BerkeleyDB.5.3/include -I/usr/include/db5.3 -I../../../utils/googletest-release-1.8.0/googletest/include -I../../../utils/googletest-release-1.8.0/googlemock/include -I../../../src/autogen -ggdb -Wall -Wextra -Wno-unused -Wno-sign-compare -Wno-multichar -DDEFAULT_DYNAMIC_CAST -Wno-unused-parameter -Wno-overloaded-virtual -Wno-missing-declarations -Werror -std=c++11 -march=native -DCOMPILE_CORE3_TESTS -O0 -MT server/zone/managers/minigames/FishingManagerImplementation.o -MD -MP -MF $depbase.Tpo -c -o server/zone/managers/minigames/FishingManagerImplementation.o ../../../src/server/zone/managers/minigames/FishingManagerImplementation.cpp &&\
mv -f $depbase.Tpo $depbase.Po
../../../src/server/zone/managers/player/PlayerManagerImplementation.cpp:113:30: error: ‘MAX_CHAR_ONLINE_COUNT’ in ‘class server::zone::managers::player::playerManagerImplementation’ does not name a type
PlayerManagerImplementation::MAX_CHAR_ONLINE_COUNT = 3;
^~~~~~~~~~~~~~~~~~~~~
depbase=`echo server/zone/managers/minigames/GamblingManagerImplementation.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I../../../src -I.. -I/usr/local/include -I/usr/local/include/mysql -I../../../../MMOEngine/include -I../../../../MMOEngine/src -I../../../utils -I/usr/local/include -I/usr/include/mysql -I/usr/local/BerkeleyDB.5.3/include -I/usr/include/db5.3 -I../../../utils/googletest-release-1.8.0/googletest/include -I../../../utils/googletest-release-1.8.0/googlemock/include -I../../../src/autogen -ggdb -Wall -Wextra -Wno-unused -Wno-sign-compare -Wno-multichar -DDEFAULT_DYNAMIC_CAST -Wno-unused-parameter -Wno-overloaded-virtual -Wno-missing-declarations -Werror -std=c++11 -march=native -DCOMPILE_CORE3_TESTS -O0 -MT server/zone/managers/minigames/GamblingManagerImplementation.o -MD -MP -MF $depbase.Tpo -c -o server/zone/managers/minigames/GamblingManagerImplementation.o ../../../src/server/zone/managers/minigames/GamblingManagerImplementation.cpp &&\
mv -f $depbase.Tpo $depbase.Po
Makefile:8057: recipe for target 'server/zone/managers/player/PlayerManagerImplementation.o' failed
make[3]: *** [server/zone/managers/player/PlayerManagerImplementation.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/swgemu/workspace/Core3/MMOCoreORB/build/unix/src'
Makefile:426: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/swgemu/workspace/Core3/MMOCoreORB/build/unix'
Makefile:367: recipe for target 'all' failed
 

sygnum

New Member
Joined
Aug 26, 2015
Messages
6
I believe I figured out the issue, however after fixing it I am now getting this error, as root.

../MMOEngine/bin/idlc -makefile src/Makefile.am -outdir autogen -cp ../MMOEngine/include -sd src anyadEclipse
make: execvp: ../MMOEngine/bin/idlc: Permission denied
Makefile:79: recipe for target 'idl' failed
make: *** [idl] Error 127
../MMOEngine/bin/idlc -makefile src/Makefile.am -outdir autogen -cp ../MMOEngine/include -sd src anyadEclipse
make: execvp: ../MMOEngine/bin/idlc: Permission denied
Makefile:79: recipe for target 'idl' failed
make: *** [idl] Error 127

Thoughts?
 

Aeryna

Moderator
Staff member
Moderator
Joined
Oct 10, 2017
Messages
359
Change:
PlayerManagerImplementation::MAX_CHAR_ONLINE_COUNT = 3;
for
//PlayerManagerImplementation::MAX_CHAR_ONLINE_COUNT = 3;
to become it like a Rem file, and try to rebuild again.
It doesn't fit just delete "//" part and continue looking for another solution.
 
Last edited:

sygnum

New Member
Joined
Aug 26, 2015
Messages
6
I got the Max Char issue fixed. My issue is now that I have fixed that.. All I get is
make: execvp: ../MMOEngine/bin/idlc: Permission denied
Makefile:79: recipe for target 'idl' failed
When trying to make clean and continue rebuilding the server..
 

Aeryna

Moderator
Staff member
Moderator
Joined
Oct 10, 2017
Messages
359
Yes. That problem was very common to me aswell. Issues with ilds and cpp.
So try to open a Root Terminal:

If you're using Zonama:

1) cd /home/vagrant/workspace/MMOCoreORB
2) make clean
3) make idl
4) make build

You'll have to wait some minutes but the server will be fixed.
(Or maybe your directory to work is: /home/swgemu/workspace/Core3/MMOCoreORB/)
 

sygnum

New Member
Joined
Aug 26, 2015
Messages
6
nah, its on its own server :) I like doing everything the hard way.. that way I actually learn something :)
 

gyrantol

Member
Joined
Jan 16, 2015
Messages
127
I got the Max Char issue fixed. My issue is now that I have fixed that.. All I get is
make: execvp: ../MMOEngine/bin/idlc: Permission denied
Makefile:79: recipe for target 'idl' failed
When trying to make clean and continue rebuilding the server..

That suggests to me that there is a permissions error for that file. go to your MMOEngine/bin/ folder and take a copy of the idlc file. Once copied to a new location (just incase) delete the file from that folder. Now open a terminal window and navigate to your MMOEngine folder then type make. It should create a new file with the correct permissions. If that fails you will need to run a chmod on the folder.
 
Top Bottom