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

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -