Не получилось собрать nano-X.
log прикрепить не получилось, привожу так
Compiling mwin/mwobjects/mwobjects.cc ...
cc1plus: предупреждение: ключ "-Wstrict-prototypes" годится для Ada/C/ObjC, но не для C++
cc1plus: предупреждение: ключ "-Wbad-function-cast" годится для C/ObjC, но не для C++
cc1plus: предупреждение: ключ "-Wmissing-prototypes" годится для Ada/C/ObjC, но не для C++
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/string:53,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/locale_classes.h:42,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/ios_base.h:43,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/ios:43,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/ostream:40,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/iostream:40,
from /nfsroot/at91/home/microwin/src/include/mwobjects.h:19,
from /nfsroot/at91/home/microwin/src/mwin/mwobjects/mwobjects.cc:11:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/basic_string.h: In member function ‘int std::basic_string<_CharT, _Traits, _Alloc>::compare(const std::basic_string<_CharT, _Traits, _Alloc>&) const’:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/basic_string.h:2026: ошибка: expected unqualified-id before ‘(’ token
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/string:56,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/locale_classes.h:42,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/ios_base.h:43,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/ios:43,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/ostream:40,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/iostream:40,
from /nfsroot/at91/home/microwin/src/include/mwobjects.h:19,
from /nfsroot/at91/home/microwin/src/mwin/mwobjects/mwobjects.cc:11:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/basic_string.tcc: In member function ‘typename std::basic_string<_CharT, _Traits, _Alloc>::size_type std::basic_string<_CharT, _Traits, _Alloc>::rfind(const _CharT*, typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type) const’:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/basic_string.tcc:762: ошибка: expected unqualified-id before ‘(’ token
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/basic_string.tcc: In member function ‘int std::basic_string<_CharT, _Traits, _Alloc>::compare(typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type, const std::basic_string<_CharT, _Traits, _Alloc>&) const’:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/basic_string.tcc:899: ошибка: expected unqualified-id before ‘(’ token
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/basic_string.tcc: In member function ‘int std::basic_string<_CharT, _Traits, _Alloc>::compare(typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type, const std::basic_string<_CharT, _Traits, _Alloc>&, typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type) const’:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/basic_string.tcc:916: ошибка: expected unqualified-id before ‘(’ token
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/basic_string.tcc: In member function ‘int std::basic_string<_CharT, _Traits, _Alloc>::compare(const _CharT*) const’:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/basic_string.tcc:932: ошибка: expected unqualified-id before ‘(’ token
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/basic_string.tcc: In member function ‘int std::basic_string<_CharT, _Traits, _Alloc>::compare(typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type, const _CharT*) const’:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/basic_string.tcc:948: ошибка: expected unqualified-id before ‘(’ token
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/basic_string.tcc: In member function ‘int std::basic_string<_CharT, _Traits, _Alloc>::compare(typename _Alloc::rebind<_CharT>::other::size_type, typename _Alloc::rebind<_CharT>::other::size_type, const _CharT*, typename _Alloc::rebind<_CharT>::other::size_type) const’:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/basic_string.tcc:964: ошибка: expected unqualified-id before ‘(’ token
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/streambuf:796,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/ios:44,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/ostream:40,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/iostream:40,
from /nfsroot/at91/home/microwin/src/include/mwobjects.h:19,
from /nfsroot/at91/home/microwin/src/mwin/mwobjects/mwobjects.cc:11:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/streambuf.tcc: In member function ‘virtual std::streamsize std::basic_streambuf<_CharT, _Traits>::xsgetn(_CharT*, std::streamsize)’:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/streambuf.tcc:54: ошибка: expected unqualified-id before ‘(’ token
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/streambuf.tcc: In member function ‘virtual std::streamsize std::basic_streambuf<_CharT, _Traits>::xsputn(const _CharT*, std::streamsize)’:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/streambuf.tcc:88: ошибка: expected unqualified-id before ‘(’ token
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/istream:830,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/iostream:41,
from /nfsroot/at91/home/microwin/src/include/mwobjects.h:19,
from /nfsroot/at91/home/microwin/src/mwin/mwobjects/mwobjects.cc:11:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/istream.tcc: In member function ‘std::streamsize std::basic_istream<_CharT, _Traits>::readsome(_CharT*, std::streamsize)’:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/bits/istream.tcc:641: ошибка: expected unqualified-id before ‘(’ token
In file included from /nfsroot/at91/home/microwin/src/mwin/mwobjects/mwobjects.cc:11:
/nfsroot/at91/home/microwin/src/include/mwobjects.h: At global scope:
/nfsroot/at91/home/microwin/src/include/mwobjects.h:84: ошибка: a class-key must be used when declaring a friend
/nfsroot/at91/home/microwin/src/include/mwobjects.h:84: ошибка: friend declaration does not name a class or function
/nfsroot/at91/home/microwin/src/include/mwobjects.h:203: ошибка: ISO C++ запрещает декларации ‘set’ без типа
/nfsroot/at91/home/microwin/src/include/mwobjects.h:203: ошибка: expected ‘;’ before ‘<’ token
/nfsroot/at91/home/microwin/src/include/mwobjects.h:264: ошибка: expected initializer before ‘&’ token
/nfsroot/at91/home/microwin/src/include/mwobjects.h: In constructor ‘MicroWindowsObjects::WindowClass::WindowClass(const CHAR*, UINT, int, int, void*, void*, hcursor*, hgdiobj*, const CHAR*)’:
/nfsroot/at91/home/microwin/src/include/mwobjects.h:189: ошибка: ‘static LRESULT MicroWindowsObjects::Window::WndProc(hwnd*, UINT, WPARAM, LPARAM)’ is private
/nfsroot/at91/home/microwin/src/mwin/mwobjects/mwobjects.cc:44: ошибка: в данном контексте
/nfsroot/at91/home/microwin/src/mwin/mwobjects/mwobjects.cc: In member function ‘virtual bool MicroWindowsObjects::Window::attach(int, MicroWindowsObjects::FileDescriptor&)’:
/nfsroot/at91/home/microwin/src/mwin/mwobjects/mwobjects.cc:154: ошибка: нет декларации ‘file_descriptors’ в этой области видимости
/nfsroot/at91/home/microwin/src/mwin/mwobjects/mwobjects.cc:161: ошибка: нет декларации ‘file_descriptors’ в этой области видимости
/nfsroot/at91/home/microwin/src/mwin/mwobjects/mwobjects.cc: In member function ‘virtual bool MicroWindowsObjects::Window::detach(MicroWindowsObjects::FileDescriptor&)’:
/nfsroot/at91/home/microwin/src/mwin/mwobjects/mwobjects.cc:180: ошибка: нет декларации ‘file_descriptors’ в этой области видимости
/nfsroot/at91/home/microwin/src/mwin/mwobjects/mwobjects.cc:187: ошибка: нет декларации ‘file_descriptors’ в этой области видимости
/nfsroot/at91/home/microwin/src/mwin/mwobjects/mwobjects.cc: In member function ‘virtual LRESULT MicroWindowsObjects::Window::message_handler(UINT, WPARAM, LPARAM)’:
/nfsroot/at91/home/microwin/src/mwin/mwobjects/mwobjects.cc:220: ошибка: нет декларации ‘set’ в этой области видимости
/nfsroot/at91/home/microwin/src/mwin/mwobjects/mwobjects.cc:220: ошибка: expected primary-expression before ‘*’ token
/nfsroot/at91/home/microwin/src/mwin/mwobjects/mwobjects.cc:220: ошибка: expected primary-expression before ‘>’ token
/nfsroot/at91/home/microwin/src/mwin/mwobjects/mwobjects.cc:220: ошибка: ‘::iterator’ has not been declared
/nfsroot/at91/home/microwin/src/mwin/mwobjects/mwobjects.cc:220: ошибка: expected ‘;’ before ‘file_descriptor’
/nfsroot/at91/home/microwin/src/mwin/mwobjects/mwobjects.cc:222: ошибка: нет декларации ‘file_descriptor’ в этой области видимости
/nfsroot/at91/home/microwin/src/mwin/mwobjects/mwobjects.cc:222: ошибка: нет декларации ‘file_descriptors’ в этой области видимости
/nfsroot/at91/home/microwin/src/mwin/mwobjects/mwobjects.cc:224: ошибка: нет декларации ‘find_if’ в этой области видимости
make[2]: *** [/nfsroot/at91/home/microwin/src/obj/mwin/mwobjects/mwobjects.o] Ошибка 1
make[1]: *** [subdir-/nfsroot/at91/home/microwin/src/mwin/mwobjects] Ошибка 2
make: *** [subdir-/nfsroot/at91/home/microwin/src/mwin] Ошибка 2 |