Jump to content
  • 0
JackTheGorrion

Need Make Plugins

Question

How fix this sir?

make[1]: Leaving directory /root/Hercules/src/common MAKE plugins

make[1]: Entering directory /root/Hercules/src/plugins

CC sample.c

/usr/bin/id: cannot open output file../../plugins/sample.so: No such file or directory collect2: error: id returned 1 exit status I

make[1]: * [../../plugins/sample.so] Error 1

make[1]: Leaving directory /root/Hercules/src/plugins make: * [plugins] Error 2

 

PD: I am using Centos 7 in Digital Ocean, I can compile in windows but not in Centos 7 can someone help me

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

for some reason you deleted plugins directory

create it as it was in hercules

 

Share this post


Link to post
Share on other sites
  • 0
3 hours ago, 4144 said:
3 hours ago, 4144 said:

for some reason you deleted plugins directory

create it as it was in hercules

 

 

I have the directory, the problem I have is when creating the example file market.so there is a failure to make plugins

Share this post


Link to post
Share on other sites
  • 0

if this is only errors what you got, it show you not have directory.

or may be it show other errors before.

 

Share this post


Link to post
Share on other sites
  • 0
1 hour ago, 4144 said:
1 hour ago, 4144 said:

if this is only errors what you got, it show you not have directory.

or may be it show other errors before.

 

 


make[1]: Entering directory `/root/Hercules/3rdparty/libconfig'
        CC      libconfig.c
        CC      grammar.c
        CC      scanctx.c
        CC      scanner.c
        CC      strbuf.c
make[1]: Leaving directory `/root/Hercules/3rdparty/libconfig'
        MAKE    common_sql
make[1]: Entering directory `/root/Hercules/src/common'
        AR      obj_all/common.a
        AR      obj_sql/common_sql.a
        AR      obj_all/common_mini.a
make[1]: Leaving directory `/root/Hercules/src/common'
        MAKE    plugins
make[1]: Entering directory `/root/Hercules/src/plugins'
        CC      sample.c
/usr/bin/ld: cannot open output file ../../plugins/sample.so: No such file or directory
collect2: error: ld returned 1 exit status
make[1]: *** [../../plugins/sample.so] Error 1
make[1]: Leaving directory `/root/Hercules/src/plugins'
make: *** [plugins] Error 2

 

these errors I have can you show me a way to fix this

Share this post


Link to post
Share on other sites
  • 0

yes here no any errors except missing plugins directory

run this command in your hercules directory for recreate deleted dir

mkdir plugins

 

Share this post


Link to post
Share on other sites
  • 0
11 minutes ago, 4144 said:

yes here no any errors except missing plugins directory

run this command in your hercules directory for recreate deleted dir

mkdir plugins


mkdir plugins

 

sir mkdir: cannot create directory ‘plugins’: File exists ,   The folder already existed, I don't know why it keeps giving an error

Share this post


Link to post
Share on other sites
  • 0
58 minutes ago, 4144 said:

show output from this commands

id pwd ls -la plugins


id
pwd
ls -la plugins

 

Thank you very much, I could solve it, thanks to you

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.