Jump to content
  • 0
Miengo

not compile

Question

BFD: obj_all/conf.o: plugin needed to handle lto object
BFD: obj_all/db.o: plugin needed to handle lto object
BFD: obj_all/des.o: plugin needed to handle lto object
BFD: obj_all/ers.o: plugin needed to handle lto object
BFD: obj_all/grfio.o: plugin needed to handle lto object
BFD: obj_all/HPM.o: plugin needed to handle lto object
BFD: obj_all/mapindex.o: plugin needed to handle lto object
BFD: obj_all/md5calc.o: plugin needed to handle lto object
BFD: obj_all/mutex.o: plugin needed to handle lto object
BFD: obj_all/nullpo.o: plugin needed to handle lto object
BFD: obj_all/random.o: plugin needed to handle lto object
BFD: obj_all/showmsg.o: plugin needed to handle lto object
BFD: obj_all/strlib.o: plugin needed to handle lto object
BFD: obj_all/sysinfo.o: plugin needed to handle lto object
BFD: obj_all/thread.o: plugin needed to handle lto object
BFD: obj_all/timer.o: plugin needed to handle lto object
BFD: obj_all/utils.o: plugin needed to handle lto object
BFD: obj_all/console.o: plugin needed to handle lto object
BFD: obj_all/core.o: plugin needed to handle lto object
BFD: obj_all/malloc.o: plugin needed to handle lto object
BFD: obj_all/socket.o: plugin needed to handle lto object
  MKDIR obj_sql
  CC   sql.c
  AR   obj_sql/common_sql.a
BFD: obj_sql/sql.o: plugin needed to handle lto object
  CC   console.c
  CC   core.c
  CC   malloc.c
  CC   socket.c
  AR   obj_all/common_mini.a
BFD: obj_all/conf.o: plugin needed to handle lto object
BFD: obj_all/db.o: plugin needed to handle lto object
BFD: obj_all/des.o: plugin needed to handle lto object
BFD: obj_all/ers.o: plugin needed to handle lto object
BFD: obj_all/grfio.o: plugin needed to handle lto object
BFD: obj_all/HPM.o: plugin needed to handle lto object
BFD: obj_all/mapindex.o: plugin needed to handle lto object
BFD: obj_all/md5calc.o: plugin needed to handle lto object
BFD: obj_all/mutex.o: plugin needed to handle lto object
BFD: obj_all/nullpo.o: plugin needed to handle lto object
BFD: obj_all/random.o: plugin needed to handle lto object
BFD: obj_all/showmsg.o: plugin needed to handle lto object
BFD: obj_all/strlib.o: plugin needed to handle lto object
BFD: obj_all/sysinfo.o: plugin needed to handle lto object
BFD: obj_all/thread.o: plugin needed to handle lto object
BFD: obj_all/timer.o: plugin needed to handle lto object
BFD: obj_all/utils.o: plugin needed to handle lto object
BFD: obj_all/miniconsole.o: plugin needed to handle lto object
BFD: obj_all/minicore.o: plugin needed to handle lto object
BFD: obj_all/minimalloc.o: plugin needed to handle lto object
BFD: obj_all/minisocket.o: plugin needed to handle lto object
make[1]: Leaving directory '/root/emulador/src/common'
  MAKE   login_sql
make[1]: Entering directory '/root/emulador/src/login'
make[1]: *** No rule to make target '../common/mmo', needed by 'obj_sql/account_sql.o'.  Stop.
make[1]: Leaving directory '/root/emulador/src/login'
Makefile:96: recipe for target 'login_sql' failed
make: *** [login_sql] Error 2
 

Share this post


Link to post
Share on other sites

15 answers to this question

Recommended Posts

  • 0

you should run configure like this:


./configure --disable-lto 
Edited by 4144

Share this post


Link to post
Share on other sites
  • 0

ake[1]: Entering directory '/root/emulador/src/login'
make[1]: *** No rule to make target '../common/mmo', needed by 'obj_sql/account_sql.o'.  Stop.
make[1]: Leaving directory '/root/emulador/src/login'
Makefile:96: recipe for target 'login_sql' failed
make: *** [login_sql] Error 2
 

Share this post


Link to post
Share on other sites
  • 0

to recompile a plugins

 

make clean

make plugin

make sql

if make plugin doesn't work try to use make plugins

 

make clean

make plugin

make sql

Share this post


Link to post
Share on other sites
  • 0

pfff
make plugin

 

make[1]: Entering directory '/root/emulador/src/plugins'
make[1]: *** No rule to make target 'o'.  Stop.
make[1]: Leaving directory '/root/emulador/src/plugins'
Makefile:120: recipe for target 'plugin.o' failed
make: *** [plugin.o] Error 2
 

Windows compiles without errors

Edited by Miengo

Share this post


Link to post
Share on other sites
  • 0

That is a mistake somewhere plugin know, the issue is that a clean direct the revision gives this error github As I fix it?

Share this post


Link to post
Share on other sites
  • 0

make clean

make sql

 

 

^ Above will compile plugins too.

Share this post


Link to post
Share on other sites
  • 0

… make sql & make pluginMake SQL gives the same error mentioned before ...

 

Make pluglinmake[1]: Entering directory '/root/emulador/src/plugins'make[1]: *** No rule to make target 'o'. Stop.make[1]: Leaving directory '/root/emulador/src/plugins'Makefile:120: recipe for target 'plugin.o' failedmake: *** [plugin.o] Error 2Make sqlmake[1]: Entering directory '/root/emulador/src/plugins'make[1]: *** No rule to make target 'o'. Stop.make[1]: Leaving directory '/root/emulador/src/plugins'Makefile:120: recipe for target 'plugin.o' failedmake: *** [plugin.o] Error 2Makemake[1]: Entering directory '/root/emulador/src/plugins'make[1]: *** No rule to make target 'o'. Stop.make[1]: Leaving directory '/root/emulador/src/plugins'Makefile:120: recipe for target 'plugin.o' failedmake: *** [plugin.o] Error 2

Share this post


Link to post
Share on other sites
  • 0

… make sql & make pluginMake SQL gives the same error mentioned before ...Make pluglinmake[1]: Entering directory '/root/emulador/src/plugins'make[1]: *** No rule to make target 'o'. Stop.make[1]: Leaving directory '/root/emulador/src/plugins'Makefile:120: recipe for target 'plugin.o' failedmake: *** [plugin.o] Error 2Make sqlmake[1]: Entering directory '/root/emulador/src/plugins'make[1]: *** No rule to make target 'o'. Stop.make[1]: Leaving directory '/root/emulador/src/plugins'Makefile:120: recipe for target 'plugin.o' failedmake: *** [plugin.o] Error 2Makemake[1]: Entering directory '/root/emulador/src/plugins'make[1]: *** No rule to make target 'o'. Stop.make[1]: Leaving directory '/root/emulador/src/plugins'Makefile:120: recipe for target 'plugin.o' failedmake: *** [plugin.o] Error 2

This error is OK.

You are doing

make plugin

But correct is

make plugins

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

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