Я хочу зробити додаток на 64 cpp в 32-бітний Ubuntu. Я отримую такі помилки під час компіляції:
In file included from /usr/include/c++/4.6/i686-linux-gnu/64/bits/os_defines.h:40:0,
from /usr/include/c++/4.6/i686-linux-gnu/64/bits/c++config.h:393,
from /usr/include/c++/4.6/string:40,
from ./util.h:4,
from cb/allBalances.cpp:4:
/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/4.6/i686-linux-gnu/64/bits/os_defines.h:40:0,
from /usr/include/c++/4.6/i686-linux-gnu/64/bits/c++config.h:393,
from /usr/include/c++/4.6/string:40,
from ./util.h:4,
from cb/dumpTX.cpp:4:
/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory
compilation terminated.
In file included from /usr/include/c++/4.6/i686-linux-gnu/64/bits/os_defines.h:40:0,
from /usr/include/c++/4.6/i686-linux-gnu/64/bits/c++config.h:393,
from /usr/include/c++/4.6/string:40,
from ./util.h:4,
from cb/closure.cpp:4:
/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory
compilation terminated.
c++ -- cb/rewards.cpp
In file included from /usr/include/c++/4.6/i686-linux-gnu/64/bits/os_defines.h:40:0,
from /usr/include/c++/4.6/i686-linux-gnu/64/bits/c++config.h:393,
from /usr/include/c++/4.6/bits/stl_algobase.h:60,
from /usr/include/c++/4.6/bits/stl_tree.h:63,
from /usr/include/c++/4.6/map:60,
from callback.cpp:2:
/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory
compilation terminated.
In file included from /usr/include/stdio.h:28:0,
from cb/help.cpp:4:
/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory
compilation terminated.
make: *** [.objs/dumpTX.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [.objs/allBalances.o] Error 1
make: *** [.objs/closure.o] Error 1
In file included from /usr/include/c++/4.6/i686-linux-gnu/64/bits/os_defines.h:40:0,
from /usr/include/c++/4.6/i686-linux-gnu/64/bits/c++config.h:393,
from /usr/include/c++/4.6/string:40,
from ./util.h:4,
from cb/pristine.cpp:4:
/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory
compilation terminated.
make: *** [.objs/callback.o] Error 1
In file included from /usr/include/c++/4.6/i686-linux-gnu/64/bits/os_defines.h:40:0,
from /usr/include/c++/4.6/i686-linux-gnu/64/bits/c++config.h:393,
from /usr/include/c++/4.6/string:40,
from ./util.h:4,
from cb/rewards.cpp:4:
/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory
compilation terminated.
Я думаю, що для цього є виправлення, завантаживши відповідне libc
середовище 64b . Це так? Як мені діяти?