linux - ld: skipping incompatible /projets/unidmi/liv/x86/lib/liblogversion.so when searching for -llogversion -
i getting following compilation error in linux environment:
/ld: skipping incompatible /projets/unidmi/liv/x86/lib/liblogversion.so
to solve above error have added following linker options in makefile:
-c -l/usr/lib64
.
but after including above linker option in makefile, following error: linker input file unused since linking not done.
if remove -c
option, following error:
/usr/lib64/librt.so: file not recognized: file format not recognized
if include -c
option, original error i.e.
linker input file unused since linking not done.
please let me know how solve above error!
Comments
Post a Comment