Pagina 1 din 1

Error libmysqlclient.a

Scris: Dum Aug 13, 2023 12:42 am
de YourSelf
Va Salut! Am o problema cu la compilare, mai exact cu /libmysqlclient.a se pare, nu i dau de cap, nu stiu ce trebuie facut, care este rezolvarea?
Folosesc freebsd 13.2 x64bit - svfile reference

compile main.cpp
compile minilzo.c
linking ../game....
ld: error: /usr/local/lib/mysql/libmysqlclient.a(client.c.o) is incompatible wit h elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(client_authentication.cc.o) is incompatible with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(client_plugin.c.o) is incompati ble with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(errmsg.c.o) is incompatible wit h elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(get_password.c.o) is incompatib le with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(libmysql.c.o) is incompatible w ith elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(my_time.c.o) is incompatible wi th elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(net_serv.cc.o) is incompatible with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(pack.c.o) is incompatible with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(password.c.o) is incompatible w ith elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(dbug.c.o) is incompatible with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(bchange.c.o) is incompatible wi th elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(bmove_upp.c.o) is incompatible with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(ctype-big5.c.o) is incompatible with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(ctype-bin.c.o) is incompatible with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(ctype-cp932.c.o) is incompatibl e with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(ctype-czech.c.o) is incompatibl e with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(ctype-euc_kr.c.o) is incompatib le with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(ctype-eucjpms.c.o) is incompati ble with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(ctype-extra.c.o) is incompatibl e with elf_i386_fbsd
ld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
clang++: error: linker command failed with exit code 1 (use -v to see invocation )
gmake: *** [Makefile:111: ../game] Error 1

Re: Error libmysqlclient.a

Scris: Dum Aug 13, 2023 6:52 am
de RazVan
YourSelf scrie: Dum Aug 13, 2023 12:42 am Va Salut! Am o problema cu la compilare, mai exact cu /libmysqlclient.a se pare, nu i dau de cap, nu stiu ce trebuie facut, care este rezolvarea?
Folosesc freebsd 13.2 x64bit - svfile reference

compile main.cpp
compile minilzo.c
linking ../game....
ld: error: /usr/local/lib/mysql/libmysqlclient.a(client.c.o) is incompatible wit h elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(client_authentication.cc.o) is incompatible with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(client_plugin.c.o) is incompati ble with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(errmsg.c.o) is incompatible wit h elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(get_password.c.o) is incompatib le with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(libmysql.c.o) is incompatible w ith elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(my_time.c.o) is incompatible wi th elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(net_serv.cc.o) is incompatible with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(pack.c.o) is incompatible with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(password.c.o) is incompatible w ith elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(dbug.c.o) is incompatible with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(bchange.c.o) is incompatible wi th elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(bmove_upp.c.o) is incompatible with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(ctype-big5.c.o) is incompatible with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(ctype-bin.c.o) is incompatible with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(ctype-cp932.c.o) is incompatibl e with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(ctype-czech.c.o) is incompatibl e with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(ctype-euc_kr.c.o) is incompatib le with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(ctype-eucjpms.c.o) is incompati ble with elf_i386_fbsd
ld: error: /usr/local/lib/mysql/libmysqlclient.a(ctype-extra.c.o) is incompatibl e with elf_i386_fbsd
ld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
clang++: error: linker command failed with exit code 1 (use -v to see invocation )
gmake: *** [Makefile:111: ../game] Error 1
Ce Serverfile folosești? Încerca cu un FreeBSD versiune mai veche 9.2

Re: Error libmysqlclient.a

Scris: Dum Aug 13, 2023 9:14 am
de YourSelf
Folosesc serverfile reference, am inteles ca se poate face un freebsd special pentru compilare pe windows, nu pe host

Re: Error libmysqlclient.a

Scris: Dum Aug 13, 2023 10:11 am
de RazVan
YourSelf scrie: Dum Aug 13, 2023 9:14 am Folosesc serverfile reference, am inteles ca se poate face un freebsd special pentru compilare pe windows, nu pe host
Da cu virtualbox

Re: Error libmysqlclient.a

Scris: Joi Aug 24, 2023 5:55 am
de RazVan
Autorul nu a mai dat nici un răspuns T/c !!!