- 论坛徽章:
- 0
|
编译程序出错,请帮忙啊!
Yes!
I migration program from solaris 2.6 to 2.9, when I compile program without environment viriable "export CFLAGS="-xarch=native64 -xO3 -xbuiltin=%all" "
ld: fatal: file ct_cntr_ageing_list.o: wrong ELF class: ELFCLASS64
When I add the viriable, error message :
ld: fatal: file ct_cntr_ageing_list.o: wrong ELF class: ELFCLASS32
And I get the below information about the error:
:::::::::::::::::::::::::::::::::::::::::::::::::::::::
(I assume you want a 64-bit build. It'll run faster, but if you need
32-bits to be compatible with other stuff you can add "ABI=32" to the
configure. See the manual on ABI and ISA.)
How to add "ABI=32" to the configure ? |
|