Error libmysqlclient.a

Încuiat
Avatar utilizator
YourSelf
4Metin
4Metin
Mesaje: 3
Membru din: Joi Iul 27, 2023 11:57 pm
Status: Activ

Error libmysqlclient.a

Mesaj 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
Avatar utilizator
RazVan
Administrator
Administrator
Mesaje: 723
Membru din: Mie Oct 19, 2022 5:25 pm
Localitate: München
Status: Activ
Multumiri acordate: 12
Multumiri primite: 18
Contact:

Re: Error libmysqlclient.a

Mesaj 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
Imagine
Avatar utilizator
YourSelf
4Metin
4Metin
Mesaje: 3
Membru din: Joi Iul 27, 2023 11:57 pm
Status: Activ

Re: Error libmysqlclient.a

Mesaj de YourSelf »

Folosesc serverfile reference, am inteles ca se poate face un freebsd special pentru compilare pe windows, nu pe host
Avatar utilizator
RazVan
Administrator
Administrator
Mesaje: 723
Membru din: Mie Oct 19, 2022 5:25 pm
Localitate: München
Status: Activ
Multumiri acordate: 12
Multumiri primite: 18
Contact:

Re: Error libmysqlclient.a

Mesaj 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
Imagine
Avatar utilizator
RazVan
Administrator
Administrator
Mesaje: 723
Membru din: Mie Oct 19, 2022 5:25 pm
Localitate: München
Status: Activ
Multumiri acordate: 12
Multumiri primite: 18
Contact:

Re: Error libmysqlclient.a

Mesaj de RazVan »

Autorul nu a mai dat nici un răspuns T/c !!!
Imagine
Încuiat