Jump to content
  • 0
PunkBuster

No rule to make target `o'

Question

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.

Share this post


Link to post
Share on other sites

9 answers to this question

Recommended Posts

  • 0

 

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"

Share this post


Link to post
Share on other sites
  • 0

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!!! ##################

Share this post


Link to post
Share on other sites
  • 0

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"?

Share this post


Link to post
Share on other sites
  • 0

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. :D

Edited by WhiteEagle

Share this post


Link to post
Share on other sites
  • 0

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.

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.

Loading...

×
×
  • Create New...

Important Information

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