Jump to content
×
×
  • Create New...
  • 0

Compile mainline on FreeBSD 9.2


Yiv

Question

Dear community,

 

I tried to compile mainline on FreeBSD but I receive some errors:
bfcd7d9634.png

 

Someone knows a solution?

 

linking ../test
linking ../game_r123456_32....
OBJDIR/MarkImage.o: In function `CGuildMarkImage::GetData(unsigned int, unsigned int, unsigned int, unsigned int, void*)':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:128: undefined reference to `ilBindImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:129: undefined reference to `ilCopyPixels'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::PutData(unsigned int, unsigned int, unsigned int, unsigned int, void*)':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:122: undefined reference to `ilBindImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:123: undefined reference to `ilSetPixels'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::Save(char const*)':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:48: undefined reference to `ilEnable'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:49: undefined reference to `ilBindImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:51: undefined reference to `ilSave'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::Create()':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:43: undefined reference to `ilGenImages'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::Destroy()':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:34: undefined reference to `ilDeleteImages'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::Load(char const*)':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:92: undefined reference to `ilBindImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:93: undefined reference to `ilEnable'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:94: undefined reference to `ilOriginFunc'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:96: undefined reference to `ilLoad'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:102: undefined reference to `ilGetInteger'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:108: undefined reference to `ilGetInteger'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:114: undefined reference to `ilConvertImage'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::Build(char const*)':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:64: undefined reference to `ilBindImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:65: undefined reference to `ilEnable'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:66: undefined reference to `ilOriginFunc'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:71: undefined reference to `ilTexImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:79: undefined reference to `ilEnable'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:81: undefined reference to `ilSave'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::GetData(unsigned int, unsigned int, unsigned int, unsigned int, void*)':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:128: undefined reference to `ilBindImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:129: undefined reference to `ilCopyPixels'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::PutData(unsigned int, unsigned int, unsigned int, unsigned int, void*)':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:122: undefined reference to `ilBindImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:123: undefined reference to `ilSetPixels'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::Save(char const*)':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:48: undefined reference to `ilEnable'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:49: undefined reference to `ilBindImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:51: undefined reference to `ilSave'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::Create()':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:43: undefined reference to `ilGenImages'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::Destroy()':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:34: undefined reference to `ilDeleteImages'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::Load(char const*)':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:92: undefined reference to `ilBindImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:93: undefined reference to `ilEnable'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:94: undefined reference to `ilOriginFunc'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:96: undefined reference to `ilLoad'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:102: undefined reference to `ilGetInteger'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:108: undefined reference to `ilGetInteger'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:114: undefined reference to `ilConvertImage'
OBJDIR/MarkImage.o: In function `CGuildMarkImage::Build(char const*)':
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:64: undefined reference to `ilBindImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:65: undefined reference to `ilEnable'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:66: undefined reference to `ilOriginFunc'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:71: undefined reference to `ilTexImage'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:79: undefined reference to `ilEnable'
/usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:81: undefined reference to `ilSave'
OBJDIR/char_battle.o: In function `CHARACTER::Dead(CHARACTER*, bool, CHARACTER*)':
/usr/src/mainline/Srcs/Server/game/src/char_battle.cpp:1944: undefined reference to `CPartyBattle::OnDead(CParty*)'
OBJDIR/char_battle.o: In function `CHARACTER::Dead(CHARACTER*, bool, CHARACTER*)':
/usr/src/mainline/Srcs/Server/game/src/char_battle.cpp:1944: undefined reference to `CPartyBattle::OnDead(CParty*)'
OBJDIR/main.o: In function `main':
/usr/src/mainline/Srcs/Server/game/src/main.cpp:460: undefined reference to `ilInit'
gmake: *** [../test] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [../game_r123456_32] Error 1

 

Regards

 

P.S: Compiling on Windows works without problems!

Link to comment
Share on other sites

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

4 answers to this question

Recommended Posts

  • 0

I now managed to compile the game of mainline after I modified some things (my errors I did by myself and the libdevil linking). Tomorrow I try database because today I had too much to do!

Thank you guys.

Regards

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


  • Activity

    1. 9

      Viable protections against Layer7 attacks on servers

    2. 9

      Viable protections against Layer7 attacks on servers

    3. 9

      Viable protections against Layer7 attacks on servers

    4. 9

      Viable protections against Layer7 attacks on servers

    5. 9

      Viable protections against Layer7 attacks on servers

    6. 9

      Viable protections against Layer7 attacks on servers

    7. 9

      Viable protections against Layer7 attacks on servers

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.