Jump to content

  •  

cxx

Member Since 16 Jan 2016
Offline Last Active Mar 14 2016 07:56 PM
-----

Topics I've Started

Failing to compile plugins

16 January 2016 - 01:40 AM

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:

Spoiler

Make SQL:

Spoiler

Make plugins:

Spoiler

Makefile.in:

Spoiler

Plugins.conf:

Spoiler

 

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:

Spoiler

Thanks in advance.