Jump to content
  • Create New...
  • 0

error compile game



Hello every body, i've try to compile mainline game, but have a problem

gmake: *** [../test] Error 1
gmake: *** Waiting for unfinished jobs....
OBJDIR/main.o: In function `main':
/usr/src/mainline/Srcs/Server/game/src/main.cpp:456: undefined reference to `ilInit'
gmake: *** [../game_r40251_32] Error 1
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0
  • Moon

Open your makefile and search this 

LIBS += -lpng -ltiff -lmng -llcms -ljpeg

Replace like that.

LIBS += -lIL -lpng -ltiff -lmng -llcms -ljpeg

Someone say install devil libraries or copy novaline makefile to your Project. First check Libs.


Best Regards




  • Love 2

Do not be sorry, be better.

Link to comment
Share on other sites

  • 0

Copy the Makefile from novaline and try to compile with that.

$ uptime
1:26AM  up 732 days,  8:29, 1 user, load averages: 0.38, 0.31, 0.22

$ uname -srp
FreeBSD 9.1-RELEASE amd64

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

  • Activity

    1. 14

      CRK - Cronikal [Play now][Official start on April 24, 2022 at 16:00][11 languages available]

    2. 57

      Forever Metin2

    3. 1

      NPC direct item enchant

    4. 37

      Official Mailbox

    5. 0

      [Request] Underground-MT2 Serverfiles, Database , Homepage & Client

    6. 0

      3 countries 3 phrases

    7. 1

      NPC direct item enchant

    8. 0

      Origins2 Global | International | A new concept - 10.06.2022

  • Recently Browsing

    • No registered users viewing this page.

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.