Jump to content
  • 0
cxx

Failing to compile plugins

Question

Hey everyone,

 

Some background:

 

Debian 8. Fresh install, self managed dedi. Proceeded to install LAMP. RO Server works properly, website works properly.

 

Decided to add plugins, went to compile. make clean && make sql work fine. make plugins, on the other hand, throws an error. See attached screenshots: 

 

Just to clarify - it has nothing to do with AFK. It's simply whichever plugin is first in my makefile.in.

 

 MAKE    plugins
make[1]: Entering directory '/home/hercuser/Hercules/src/plugins'
        CC      sample.c
        PLUGIN  sample
        CC      db2sql.c
        PLUGIN  db2sql
        CC      HPMHooking.c (CHAR)
        PLUGIN  HPMHooking_char
        CC      HPMHooking.c (LOGIN)
        PLUGIN  HPMHooking_login
        CC      HPMHooking.c (MAP)
        PLUGIN  HPMHooking_map
make[1]: *** No rule to make target 'afk', needed by 'all'.  Stop.
make[1]: Leaving directory '/home/hercuser/Hercules/src/plugins'
Makefile:132: recipe for target 'plugins' failed
make: *** [plugins] Error 2

 

Make clean:

  Reveal hidden contents

 

Make SQL:

  Reveal hidden contents

 

Make plugins:

  Reveal hidden contents

 

Makefile.in:

  Reveal hidden contents

 

Plugins.conf:

  Reveal hidden contents

 

 

Just to confirm, here is me checking that I have all of the required packages installed on my dedi: 

 

apt-get install git make gcc mysql-server libmysqlclient-dev zlib1g-dev libpcre3-dev screen

returns:

 

  Reveal hidden contents

 

Thanks in advance.

Edited by cxx

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0
  On 1/16/2016 at 3:18 AM, Dastgir said:

They should be in hercules/src/plugins/ not in hercules/plugins

Thanks for your assistance. I'm embarrassed.  :huh:

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.