PunkBuster 5 Posted May 4, 2014 make[1]: Leaving directory `/home/rodev/Hercules/trunk/src/common' MAKE plugin.o make[1]: Entering directory `/home/rodev/Hercules/trunk/src/plugins' make[1]: *** No rule to make target `o'. Stop. make[1]: Leaving directory `/home/rodev/Hercules/trunk/src/plugins' make: *** [plugin.o] Error 2 I am trying to add plugins, but when I run "make plugin", it gives me this error. This is a freshly installed Hercules. Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted May 5, 2014 make[1]: Leaving directory `/home/rodev/Hercules/trunk/src/common' MAKE plugin.o make[1]: Entering directory `/home/rodev/Hercules/trunk/src/plugins' make[1]: *** No rule to make target `o'. Stop. make[1]: Leaving directory `/home/rodev/Hercules/trunk/src/plugins' make: *** [plugin.o] Error 2 I am trying to add plugins, but when I run "make plugin", it gives me this error. This is a freshly installed Hercules. it seems that you are typing wrong command.. you should type "make plugins", you are missing the last "s" 1 PunkBuster reacted to this Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted May 4, 2014 is your src/plugins/MakeFile.in modified? Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted May 4, 2014 Well then, you should alter it, give a glance to the first lines: # Copyright (c) Hercules Dev Team, licensed under GNU GPL.# See the LICENSE file################ PLUGIN CONFIGURATION ############################### ## When you add a plugin, add its name here: ## Example: if you have a plugin named my_cool_plugin.c and another ## one named my_second_plugin.c, add them to the list like this: ## ## MYPLUGINS = my_cool_plugin my_second_plugin ## ## This is only needed if you want to build your plugin through ## 'make plugins' or 'make all'. If you don't add it to this list, ## you will still be able to build your plugin through ## 'make plugin.my_plugin' ## ## Note: DO NOT include the .c extension!!! #MYPLUGINS =# ########## DO NOT EDIT ANYTHING BELOW THIS LINE!!! ################## Quote Share this post Link to post Share on other sites
0 PunkBuster 5 Posted May 5, 2014 Ah, indeed. I made it "make plugins" and it worked correctly. One more thing: In what order do I need to make stuff? Do I have to recompile with "make sql"? I do it before or after doing "make plugins"? Quote Share this post Link to post Share on other sites
0 WhiteEagle 6 Posted May 6, 2014 (edited) I have this problem too. I try to add the auraset plugin and I've add in src/plugins/MakeFile.in, Then I have recompile with make plugins. But I got this error: *** No rule to make target `auraset', needed by `all'. Stop. Fixed myself. Edited May 6, 2014 by WhiteEagle Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted May 6, 2014 Ah, indeed. I made it "make plugins" and it worked correctly. One more thing: In what order do I need to make stuff? Do I have to recompile with "make sql"? I do it before or after doing "make plugins"? You should have your server previously made (doesn't matter when) when making plugins. Not sure if it's how it works but AFAIK it helps you save from getting errors. Anyways you should have your server off to make plugins, so I'd make sql plugins and you'll always be 100% certain plugins will work unles there have been changes at HPM. Quote Share this post Link to post Share on other sites
0 PunkBuster 5 Posted May 6, 2014 Alright, so make sql first, then make plugins. Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted May 6, 2014 If you issue this: make sql plugins Will make both of them, in the order you specify #Tips. Quote Share this post Link to post Share on other sites
I am trying to add plugins, but when I run "make plugin", it gives me this error. This is a freshly installed Hercules.
Share this post
Link to post
Share on other sites