Jump to content
  • 0

[solved!] Make (compile) Error


Coolfox

Question

Hello guys,

I'll get an error while make during a fresh install on unbuntu 12.10 (server). I have followed the how to compile guide in the Help & Support section. Who can help me with this problem. There must be something that i looked over.

Regards,

Linking CXX static library libdetour.a
[  2%] Built target detour
Scanning dependencies of target g3dlite
[  2%] Building CXX object dep/src/g3dlite/CMakeFiles/g3dlite.dir/AABox.cpp.o
In file included from /home/mangos/server/dep/include/g3dlite/G3D/Random.h:17:0,
                from /home/mangos/server/dep/include/g3dlite/G3D/Vector3.h:19,
                from /home/mangos/server/dep/include/g3dlite/G3D/AABox.h:19,
                from /home/mangos/server/dep/src/g3dlite/AABox.cpp:11:
/home/mangos/server/dep/include/g3dlite/G3D/GMutex.h: In memberfunctie âbool G3D::Spinlock::lock()â:
/home/mangos/server/dep/include/g3dlite/G3D/GMutex.h:51:25: fout: âusleepâ was not declared in this scope
make[2]: *** [dep/src/g3dlite/CMakeFiles/g3dlite.dir/AABox.cpp.o] Fout 1
make[1]: *** [dep/src/g3dlite/CMakeFiles/g3dlite.dir/all] Fout 2
make: *** [all] Fout 2
[email protected]:~/mangos/server/objdir$

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

That's odd. This is a shot in the dark, but try starting your build from a folder that doesn't require root permissions, just make sure you run it as su when you go to make into your opt folder. It's really a shot in the dark, but never hurts to try right?

Sorry. Just saw where you were building from. Disregard my last. I'm at a loss, We might need someone a bit further up the food chain then me for this one. :)

Link to comment
Share on other sites

Okey,

little update here. while trying to compile the mangos-wotlk core, i'll get a similar error. so there must be somthing missing on my server. can't figure out yet.

Making install in PerlACE
[  2%] Completed 'ACE_Project'
[  2%] Built target ACE_Project
[  3%] Built target detour
[  3%] Building CXX object dep/src/g3dlite/CMakeFiles/g3dlite.dir/AABox.cpp.o
In file included from /home/mangos/wotlk/mangos/dep/include/g3dlite/G3D/Random.h:17:0,
                from /home/mangos/wotlk/mangos/dep/include/g3dlite/G3D/Vector3.h:19,
                from /home/mangos/wotlk/mangos/dep/include/g3dlite/G3D/AABox.h:19,
                from /home/mangos/wotlk/mangos/dep/src/g3dlite/AABox.cpp:11:
/home/mangos/wotlk/mangos/dep/include/g3dlite/G3D/GMutex.h: In memberfunctie âbool G3D::Spinlock::lock()â:
/home/mangos/wotlk/mangos/dep/include/g3dlite/G3D/GMutex.h:51:25: fout: âusleepâ was not declared in this scope
make[2]: *** [dep/src/g3dlite/CMakeFiles/g3dlite.dir/AABox.cpp.o] Fout 1
make[1]: *** [dep/src/g3dlite/CMakeFiles/g3dlite.dir/all] Fout 2
make: *** [all] Fout 2

Link to comment
Share on other sites

Try removing your old mangos-wotlk clone and recloning if you haven't. It could possibly be something didn't clone right. I see

fout: âusleepâ was not declared in this scope

Which is something I've never seen by the way, but it makes me think something's missing. I could be completely off on that, but I couldn't find anything on Google or Bing. They both fail my challenge. Anyways. Recloning takes all of 3 minutes and could possibly fix the issue. Also how are you building your server? IE.

sudo make -DPREFIX=/opt/server/mangos-wotlk

Let Make Run

sudo make install

Is how I built mine on my linux box and it worked with no issues. Possibly give it a try?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use