Witam Próbuję dziś skompilować nowego demona lmsd, jednak mam problem w jednym module. Dostaję wynik: ------------------- make[3]: Entering directory `/home/xyz/lmsupgrade/updatelms/lms/daemon/modules/parser/extensions' ar rs tscript_extensions.a ../../../dbdrivers/mysql/db.o ../../../util.o tscript_exec.o tscript_string.o tscript_file.o tscript_sysinfo.o sql.o net.o syslog.o make[3]: Leaving directory `/home/xyz/lmsupgrade/updatelms/lms/daemon/modules/parser/extensions' gcc -shared parser.o lib/libtscript.a extensions/tscript_extensions.a -o parser.so -L/usr/lib/mysql/lib -lfl -lm -lmysqlclient -ldl /usr/bin/ld: i386 architecture of input file `lib/libtscript.a(tscript_context.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libtscript.a(tscript_compiler.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libtscript.a(tscript_interpreter.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libtscript.a(tscript_variables.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libtscript.a(tscript_parser.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libtscript.a(tscript_values.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libtscript.a(tscript_extensions.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libtscript.a(tscript_debug.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libtscript.a(tscript_lexical.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libtscript.a(tscript_ast.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `extensions/tscript_extensions.a(tscript_exec.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `extensions/tscript_extensions.a(tscript_string.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `extensions/tscript_extensions.a(tscript_file.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `extensions/tscript_extensions.a(tscript_sysinfo.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `extensions/tscript_extensions.a(sql.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `extensions/tscript_extensions.a(net.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `extensions/tscript_extensions.a(syslog.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `extensions/tscript_extensions.a(db.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `extensions/tscript_extensions.a(util.o)' is incompatible with i386:x86-64 output collect2: ld returned 1 exit status make[2]: *** [parser.so] Error 1
-------------------
Jak mogę rozwiązać ten problem?
Pozdrawiam
On 10.01.2013 23:02, Dariusz Raczkowski wrote:
Witam Próbuję dziś skompilować nowego demona lmsd, jednak mam problem w jednym module. Dostaję wynik:
make[3]: Entering directory `/home/xyz/lmsupgrade/updatelms/lms/daemon/modules/parser/extensions' ar rs tscript_extensions.a ../../../dbdrivers/mysql/db.o ../../../util.o tscript_exec.o tscript_string.o tscript_file.o tscript_sysinfo.o sql.o net.o syslog.o make[3]: Leaving directory `/home/xyz/lmsupgrade/updatelms/lms/daemon/modules/parser/extensions' gcc -shared parser.o lib/libtscript.a extensions/tscript_extensions.a -o parser.so -L/usr/lib/mysql/lib -lfl -lm -lmysqlclient -ldl /usr/bin/ld: i386 architecture of input file `lib/libtscript.a(tscript_context.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libtscript.a(tscript_compiler.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libtscript.a(tscript_interpreter.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libtscript.a(tscript_variables.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libtscript.a(tscript_parser.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libtscript.a(tscript_values.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libtscript.a(tscript_extensions.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libtscript.a(tscript_debug.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libtscript.a(tscript_lexical.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `lib/libtscript.a(tscript_ast.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `extensions/tscript_extensions.a(tscript_exec.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `extensions/tscript_extensions.a(tscript_string.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `extensions/tscript_extensions.a(tscript_file.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `extensions/tscript_extensions.a(tscript_sysinfo.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `extensions/tscript_extensions.a(sql.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `extensions/tscript_extensions.a(net.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `extensions/tscript_extensions.a(syslog.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `extensions/tscript_extensions.a(db.o)' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `extensions/tscript_extensions.a(util.o)' is incompatible with i386:x86-64 output collect2: ld returned 1 exit status make[2]: *** [parser.so] Error 1
Jak mogę rozwiązać ten problem?
Pozdrawiam
Pytanie nie ważne, pomogło make clean:)))
Pozdrawiam
uczestnicy (1)
-
Dariusz Raczkowski