not compile

Miengo

New member
Messages
28
Points
0
Github
Miengo
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
 

 
you should run configure like this:

Code:
./configure --disable-lto
 
Last edited by a moderator:
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
 

 
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

 
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

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

 
make clean

make sql

^ Above will compile plugins too.

 
… 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

 
… 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

 
Topic solvedProblem from vps, install ubuntu from.virtual machine, compile emulator 0problems

 
Back
Top