Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- make -C ndless-sdk
- make[1]: Entering directory '/Ndless/ndless-sdk'
- make -C libsyscalls
- make[2]: Entering directory '/Ndless/ndless-sdk/libsyscalls'
- make[2]: Nothing to be done for 'all'.
- make[2]: Leaving directory '/Ndless/ndless-sdk/libsyscalls'
- make -C libndls
- make[2]: Entering directory '/Ndless/ndless-sdk/libndls'
- make[2]: Leaving directory '/Ndless/ndless-sdk/libndls'
- make -C thirdparty
- make[2]: Entering directory '/Ndless/ndless-sdk/thirdparty'
- make -C nspire-io lib
- make[3]: Entering directory '/Ndless/ndless-sdk/thirdparty/nspire-io'
- make[3]: Nothing to be done for 'lib'.
- make[3]: Leaving directory '/Ndless/ndless-sdk/thirdparty/nspire-io'
- make ../lib/libnspireio.a ../include/nspireio2.h ../include/nspireio/console.hpp ../include/nspireio/file.hpp ../include/nspireio/ios_base.hpp ../include/nspireio/ios_base.ipp ../include/nspireio/nspireio.h ../include/nspireio/platform-nspire.h ../include/nspireio/platform-prizm.h ../include/nspireio/platform.h ../include/nspireio/queue.h ../include/nspireio/uart.hpp
- make[3]: Entering directory '/Ndless/ndless-sdk/thirdparty'
- make[3]: '../lib/libnspireio.a' is up to date.
- make[3]: '../include/nspireio2.h' is up to date.
- make[3]: '../include/nspireio/console.hpp' is up to date.
- make[3]: '../include/nspireio/file.hpp' is up to date.
- make[3]: '../include/nspireio/ios_base.hpp' is up to date.
- make[3]: '../include/nspireio/ios_base.ipp' is up to date.
- make[3]: '../include/nspireio/nspireio.h' is up to date.
- make[3]: '../include/nspireio/platform-nspire.h' is up to date.
- make[3]: '../include/nspireio/platform-prizm.h' is up to date.
- make[3]: '../include/nspireio/platform.h' is up to date.
- make[3]: '../include/nspireio/queue.h' is up to date.
- make[3]: '../include/nspireio/uart.hpp' is up to date.
- make[3]: Leaving directory '/Ndless/ndless-sdk/thirdparty'
- cd zlib && (make libz.a || (CC=nspire-gcc CHOST=arm-none-eabi CFLAGS="-O3 -c" ./configure --static && make libz.a))
- make[3]: Entering directory '/Ndless/ndless-sdk/thirdparty/zlib'
- make[3]: 'libz.a' is up to date.
- make[3]: Leaving directory '/Ndless/ndless-sdk/thirdparty/zlib'
- make ../lib/libz.a ../include/zlib.h ../include/zconf.h
- make[3]: Entering directory '/Ndless/ndless-sdk/thirdparty'
- make[3]: '../lib/libz.a' is up to date.
- make[3]: '../include/zlib.h' is up to date.
- make[3]: '../include/zconf.h' is up to date.
- make[3]: Leaving directory '/Ndless/ndless-sdk/thirdparty'
- make -C freetype2 CC=nspire-gcc ANSIFLAGS="-O2 -Wall -Wextra -DFT_CONFIG_OPTION_SYSTEM_ZLIB" AR="/Ndless/ndless-sdk/toolchain/install/bin/arm-none-eabi-ar" SYSTEM_ZLIB=yes library
- make[3]: Entering directory '/Ndless/ndless-sdk/thirdparty/freetype2'
- make[3]: Nothing to be done for 'library'.
- make[3]: Leaving directory '/Ndless/ndless-sdk/thirdparty/freetype2'
- make ../lib/libfreetype.a ../include/freetype2/ft2build.h ../include/freetype2/freetype/freetype.h ../include/freetype2/freetype/ftadvanc.h ../include/freetype2/freetype/ftautoh.h ../include/freetype2/freetype/ftbbox.h ../include/freetype2/freetype/ftbdf.h ../include/freetype2/freetype/ftbitmap.h ../include/freetype2/freetype/ftbzip2.h ../include/freetype2/freetype/ftcache.h ../include/freetype2/freetype/ftcffdrv.h ../include/freetype2/freetype/ftchapters.h ../include/freetype2/freetype/ftcid.h ../include/freetype2/freetype/fterrdef.h ../include/freetype2/freetype/fterrors.h ../include/freetype2/freetype/ftfntfmt.h ../include/freetype2/freetype/ftgasp.h ../include/freetype2/freetype/ftglyph.h ../include/freetype2/freetype/ftgxval.h ../include/freetype2/freetype/ftgzip.h ../include/freetype2/freetype/ftimage.h ../include/freetype2/freetype/ftincrem.h ../include/freetype2/freetype/ftlcdfil.h ../include/freetype2/freetype/ftlist.h ../include/freetype2/freetype/ftlzw.h ../include/freetype2/freetype/ftmac.h ../include/freetype2/freetype/ftmm.h ../include/freetype2/freetype/ftmodapi.h ../include/freetype2/freetype/ftmoderr.h ../include/freetype2/freetype/ftotval.h ../include/freetype2/freetype/ftoutln.h ../include/freetype2/freetype/ftpfr.h ../include/freetype2/freetype/ftrender.h ../include/freetype2/freetype/ftsizes.h ../include/freetype2/freetype/ftsnames.h ../include/freetype2/freetype/ftstroke.h ../include/freetype2/freetype/ftsynth.h ../include/freetype2/freetype/ftsystem.h ../include/freetype2/freetype/fttrigon.h ../include/freetype2/freetype/ftttdrv.h ../include/freetype2/freetype/fttypes.h ../include/freetype2/freetype/ftwinfnt.h ../include/freetype2/freetype/t1tables.h ../include/freetype2/freetype/ttnameid.h ../include/freetype2/freetype/tttables.h ../include/freetype2/freetype/tttags.h ../include/freetype2/freetype/ttunpat.h ../include/freetype2/freetype/config/ftconfig.h ../include/freetype2/freetype/config/ftheader.h ../include/freetype2/freetype/config/ftmodule.h ../include/freetype2/freetype/config/ftoption.h ../include/freetype2/freetype/config/ftstdlib.h
- make[3]: Entering directory '/Ndless/ndless-sdk/thirdparty'
- make[3]: '../lib/libfreetype.a' is up to date.
- make[3]: '../include/freetype2/ft2build.h' is up to date.
- make[3]: '../include/freetype2/freetype/freetype.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftadvanc.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftautoh.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftbbox.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftbdf.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftbitmap.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftbzip2.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftcache.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftcffdrv.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftchapters.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftcid.h' is up to date.
- make[3]: '../include/freetype2/freetype/fterrdef.h' is up to date.
- make[3]: '../include/freetype2/freetype/fterrors.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftfntfmt.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftgasp.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftglyph.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftgxval.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftgzip.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftimage.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftincrem.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftlcdfil.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftlist.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftlzw.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftmac.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftmm.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftmodapi.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftmoderr.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftotval.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftoutln.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftpfr.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftrender.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftsizes.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftsnames.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftstroke.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftsynth.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftsystem.h' is up to date.
- make[3]: '../include/freetype2/freetype/fttrigon.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftttdrv.h' is up to date.
- make[3]: '../include/freetype2/freetype/fttypes.h' is up to date.
- make[3]: '../include/freetype2/freetype/ftwinfnt.h' is up to date.
- make[3]: '../include/freetype2/freetype/t1tables.h' is up to date.
- make[3]: '../include/freetype2/freetype/ttnameid.h' is up to date.
- make[3]: '../include/freetype2/freetype/tttables.h' is up to date.
- make[3]: '../include/freetype2/freetype/tttags.h' is up to date.
- make[3]: '../include/freetype2/freetype/ttunpat.h' is up to date.
- make[3]: '../include/freetype2/freetype/config/ftconfig.h' is up to date.
- make[3]: '../include/freetype2/freetype/config/ftheader.h' is up to date.
- make[3]: '../include/freetype2/freetype/config/ftmodule.h' is up to date.
- make[3]: '../include/freetype2/freetype/config/ftoption.h' is up to date.
- make[3]: '../include/freetype2/freetype/config/ftstdlib.h' is up to date.
- make[3]: Leaving directory '/Ndless/ndless-sdk/thirdparty'
- make[2]: Leaving directory '/Ndless/ndless-sdk/thirdparty'
- make -C tools
- make[2]: Entering directory '/Ndless/ndless-sdk/tools'
- make all in luna...
- make[3]: Entering directory '/Ndless/ndless-sdk/tools/luna'
- make[3]: Nothing to be done for 'all'.
- make[3]: Leaving directory '/Ndless/ndless-sdk/tools/luna'
- make all in genzehn...
- make[3]: Entering directory '/Ndless/ndless-sdk/tools/genzehn'
- g++ -Wall -Wextra -std=c++11 -I elfio-3.2 genzehn.cpp -lboost_program_options -lz -o ../../bin/genzehn || g++ -Wall -Wextra -std=c++11 -I elfio-3.2 genzehn.cpp -lboost_program_options-mt -lz -o ../../bin/genzehn
- In file included from genzehn.cpp:12:
- zehn.h:1:1: error: expected unqualified-id before ‘.’ token
- 1 | ../../include/zehn.h
- | ^
- genzehn.cpp: In function ‘int main(int, char**)’:
- genzehn.cpp:96:9: error: ‘Zehn_header’ was not declared in this scope; did you mean ‘gz_header’?
- 96 | Zehn_header header;
- | ^~~~~~~~~~~
- | gz_header
- genzehn.cpp:110:29: error: ‘ZEHN_SIGNATURE’ was not declared in this scope
- 110 | if(buffer[i] == ZEHN_SIGNATURE && buffer[i + 1] == ZEHN_VERSION)
- | ^~~~~~~~~~~~~~
- genzehn.cpp:110:64: error: ‘ZEHN_VERSION’ was not declared in this scope; did you mean ‘ZLIB_VERSION’?
- 110 | if(buffer[i] == ZEHN_SIGNATURE && buffer[i + 1] == ZEHN_VERSION)
- | ^~~~~~~~~~~~
- | ZLIB_VERSION
- genzehn.cpp:126:53: error: ‘header’ was not declared in this scope; did you mean ‘gz_header’?
- 126 | if(!zehn_file.read(reinterpret_cast<char*>(&header), sizeof(header)))
- | ^~~~~~
- | gz_header
- genzehn.cpp:135:25: error: ‘header’ was not declared in this scope; did you mean ‘gz_header’?
- 135 | << header.reloc_count << "\trelocations" << std::endl
- | ^~~~~~
- | gz_header
- genzehn.cpp:143:21: error: ‘Zehn_reloc’ was not declared in this scope
- 143 | std::vector<Zehn_reloc> relocs(header.reloc_count);
- | ^~~~~~~~~~
- genzehn.cpp:143:31: error: template argument 1 is invalid
- 143 | std::vector<Zehn_reloc> relocs(header.reloc_count);
- | ^
- genzehn.cpp:143:31: error: template argument 2 is invalid
- genzehn.cpp:144:21: error: ‘Zehn_flag’ was not declared in this scope
- 144 | std::vector<Zehn_flag> flags(header.flag_count);
- | ^~~~~~~~~
- genzehn.cpp:144:30: error: template argument 1 is invalid
- 144 | std::vector<Zehn_flag> flags(header.flag_count);
- | ^
- genzehn.cpp:144:30: error: template argument 2 is invalid
- genzehn.cpp:147:59: error: request for member ‘data’ in ‘relocs’, which is of non-class type ‘int’
- 147 | if(!zehn_file.read(reinterpret_cast<char*>(relocs.data()), sizeof(Zehn_reloc) * header.reloc_count))
- | ^~~~
- genzehn.cpp:153:58: error: request for member ‘data’ in ‘flags’, which is of non-class type ‘int’
- 153 | if(!zehn_file.read(reinterpret_cast<char*>(flags.data()), sizeof(Zehn_flag) * header.flag_count))
- | ^~~~
- genzehn.cpp:165:45: error: invalid types ‘int[int]’ for array subscript
- 165 | if(header.reloc_count != 0 && relocs[0].type == Zehn_reloc_type::FILE_COMPRESSED)
- | ^
- genzehn.cpp:165:57: error: ‘Zehn_reloc_type’ has not been declared
- 165 | if(header.reloc_count != 0 && relocs[0].type == Zehn_reloc_type::FILE_COMPRESSED)
- | ^~~~~~~~~~~~~~~
- genzehn.cpp:166:68: error: invalid types ‘int[int]’ for array subscript
- 166 | std::cout << "This file is compressed (type " << relocs[0].offset << ")" << std::endl;
- | ^
- genzehn.cpp:169:25: error: ‘begin’ was not declared in this scope
- 169 | for(auto flag : flags)
- | ^~~~~
- genzehn.cpp:169:25: note: suggested alternatives:
- In file included from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/string:54,
- from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/bits/locale_classes.h:40,
- from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/bits/ios_base.h:41,
- from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/ios:42,
- from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/ostream:38,
- from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/iostream:39,
- from genzehn.cpp:4:
- /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/bits/range_access.h:90:5: note: ‘std::begin’
- 90 | begin(_Tp (&__arr)[_Nm])
- | ^~~~~
- In file included from /usr/include/boost/mpl/list/aux_/begin_end.hpp:17,
- from /usr/include/boost/mpl/list/list0.hpp:27,
- from /usr/include/boost/mpl/list/list10.hpp:18,
- from /usr/include/boost/mpl/list/list20.hpp:18,
- from /usr/include/boost/mpl/list.hpp:36,
- from /usr/include/boost/math/policies/policy.hpp:9,
- from /usr/include/boost/math/special_functions/math_fwd.hpp:29,
- from /usr/include/boost/math/special_functions/sign.hpp:17,
- from /usr/include/boost/lexical_cast/detail/inf_nan.hpp:34,
- from /usr/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63,
- from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:54,
- from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:42,
- from /usr/include/boost/lexical_cast.hpp:32,
- from /usr/include/boost/program_options/value_semantic.hpp:14,
- from /usr/include/boost/program_options/options_description.hpp:13,
- from /usr/include/boost/program_options.hpp:15,
- from genzehn.cpp:8:
- /usr/include/boost/mpl/begin_end_fwd.hpp:22:38: note: ‘boost::mpl::begin’
- 22 | template< typename Sequence > struct begin;
- | ^~~~~
- In file included from /usr/include/boost/range/functions.hpp:18,
- from /usr/include/boost/range/iterator_range_core.hpp:38,
- from /usr/include/boost/lexical_cast.hpp:30,
- from /usr/include/boost/program_options/value_semantic.hpp:14,
- from /usr/include/boost/program_options/options_description.hpp:13,
- from /usr/include/boost/program_options.hpp:15,
- from genzehn.cpp:8:
- /usr/include/boost/range/begin.hpp:106:61: note: ‘boost::range_adl_barrier::begin’
- 106 | inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type begin( const T& r )
- | ^~~~~
- genzehn.cpp:169:25: error: ‘end’ was not declared in this scope
- 169 | for(auto flag : flags)
- | ^~~~~
- genzehn.cpp:169:25: note: suggested alternatives:
- In file included from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/string:54,
- from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/bits/locale_classes.h:40,
- from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/bits/ios_base.h:41,
- from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/ios:42,
- from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/ostream:38,
- from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/iostream:39,
- from genzehn.cpp:4:
- /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/bits/range_access.h:100:5: note: ‘std::end’
- 100 | end(_Tp (&__arr)[_Nm])
- | ^~~
- In file included from /usr/include/boost/mpl/list/aux_/begin_end.hpp:17,
- from /usr/include/boost/mpl/list/list0.hpp:27,
- from /usr/include/boost/mpl/list/list10.hpp:18,
- from /usr/include/boost/mpl/list/list20.hpp:18,
- from /usr/include/boost/mpl/list.hpp:36,
- from /usr/include/boost/math/policies/policy.hpp:9,
- from /usr/include/boost/math/special_functions/math_fwd.hpp:29,
- from /usr/include/boost/math/special_functions/sign.hpp:17,
- from /usr/include/boost/lexical_cast/detail/inf_nan.hpp:34,
- from /usr/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63,
- from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:54,
- from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:42,
- from /usr/include/boost/lexical_cast.hpp:32,
- from /usr/include/boost/program_options/value_semantic.hpp:14,
- from /usr/include/boost/program_options/options_description.hpp:13,
- from /usr/include/boost/program_options.hpp:15,
- from genzehn.cpp:8:
- /usr/include/boost/mpl/begin_end_fwd.hpp:23:38: note: ‘boost::mpl::end’
- 23 | template< typename Sequence > struct end;
- | ^~~
- In file included from /usr/include/boost/range/functions.hpp:19,
- from /usr/include/boost/range/iterator_range_core.hpp:38,
- from /usr/include/boost/lexical_cast.hpp:30,
- from /usr/include/boost/program_options/value_semantic.hpp:14,
- from /usr/include/boost/program_options/options_description.hpp:13,
- from /usr/include/boost/program_options.hpp:15,
- from genzehn.cpp:8:
- /usr/include/boost/range/end.hpp:100:61: note: ‘boost::range_adl_barrier::end’
- 100 | inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type end( const T& r )
- | ^~~
- genzehn.cpp:173:18: error: ‘Zehn_flag_type’ has not been declared
- 173 | case Zehn_flag_type::EXECUTABLE_NAME:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:176:18: error: ‘Zehn_flag_type’ has not been declared
- 176 | case Zehn_flag_type::EXECUTABLE_VERSION:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:179:18: error: ‘Zehn_flag_type’ has not been declared
- 179 | case Zehn_flag_type::EXECUTABLE_AUTHOR:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:182:18: error: ‘Zehn_flag_type’ has not been declared
- 182 | case Zehn_flag_type::EXECUTABLE_NOTICE:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:185:18: error: ‘Zehn_flag_type’ has not been declared
- 185 | case Zehn_flag_type::NDLESS_VERSION_MAX:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:186:18: error: ‘Zehn_flag_type’ has not been declared
- 186 | case Zehn_flag_type::NDLESS_VERSION_MIN:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:187:18: error: ‘Zehn_flag_type’ has not been declared
- 187 | case Zehn_flag_type::NDLESS_REVISION_MAX:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:188:18: error: ‘Zehn_flag_type’ has not been declared
- 188 | case Zehn_flag_type::NDLESS_REVISION_MIN:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:189:18: error: ‘Zehn_flag_type’ has not been declared
- 189 | case Zehn_flag_type::RUNS_ON_32MB:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:190:18: error: ‘Zehn_flag_type’ has not been declared
- 190 | case Zehn_flag_type::RUNS_ON_CLICKPAD:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:191:18: error: ‘Zehn_flag_type’ has not been declared
- 191 | case Zehn_flag_type::RUNS_ON_COLOR:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:192:18: error: ‘Zehn_flag_type’ has not been declared
- 192 | case Zehn_flag_type::RUNS_ON_TOUCHPAD:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:195:18: error: ‘Zehn_flag_type’ has not been declared
- 195 | case Zehn_flag_type::RUNS_ON_HWW:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:199:18: error: ‘Zehn_flag_type’ has not been declared
- 199 | case Zehn_flag_type::USES_LCD_BLIT:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:221:5: error: ‘elfio’ was not declared in this scope; did you mean ‘ELFIO::elfio’?
- 221 | elfio input_reader;
- | ^~~~~
- | ELFIO::elfio
- In file included from genzehn.cpp:10:
- elfio-3.2/elfio/elfio.hpp:71:7: note: ‘ELFIO::elfio’ declared here
- 71 | class elfio
- | ^~~~~
- genzehn.cpp:223:9: error: ‘input_reader’ was not declared in this scope
- 223 | if(!input_reader.load(args["input"].as<std::string>()))
- | ^~~~~~~~~~~~
- genzehn.cpp:229:8: error: ‘input_reader’ was not declared in this scope
- 229 | if(input_reader.get_machine() != EM_ARM)
- | ^~~~~~~~~~~~
- genzehn.cpp:243:5: error: ‘Zehn_header’ was not declared in this scope; did you mean ‘gz_header’?
- 243 | Zehn_header header;
- | ^~~~~~~~~~~
- | gz_header
- genzehn.cpp:245:17: error: ‘Zehn_reloc’ was not declared in this scope
- 245 | std::vector<Zehn_reloc> reloc_table;
- | ^~~~~~~~~~
- genzehn.cpp:245:27: error: template argument 1 is invalid
- 245 | std::vector<Zehn_reloc> reloc_table;
- | ^
- genzehn.cpp:245:27: error: template argument 2 is invalid
- genzehn.cpp:246:17: error: ‘Zehn_flag’ was not declared in this scope
- 246 | std::vector<Zehn_flag> flag_table;
- | ^~~~~~~~~
- genzehn.cpp:246:26: error: template argument 1 is invalid
- 246 | std::vector<Zehn_flag> flag_table;
- | ^
- genzehn.cpp:246:26: error: template argument 2 is invalid
- genzehn.cpp:251:14: error: ‘Elf_Xword’ was not declared in this scope; did you mean ‘ELFIO::Elf_Xword’?
- 251 | std::set<Elf_Xword> undefined_symbols; uint32_t got_address = 0; std::set<uint32_t> undo_relocs;
- | ^~~~~~~~~
- | ELFIO::Elf_Xword
- In file included from elfio-3.2/elfio/elfio.hpp:42,
- from genzehn.cpp:10:
- elfio-3.2/elfio/elf_types.hpp:54:18: note: ‘ELFIO::Elf_Xword’ declared here
- 54 | typedef uint64_t Elf_Xword;
- | ^~~~~~~~~
- genzehn.cpp:251:23: error: template argument 1 is invalid
- 251 | std::set<Elf_Xword> undefined_symbols; uint32_t got_address = 0; std::set<uint32_t> undo_relocs;
- | ^
- genzehn.cpp:251:23: error: template argument 2 is invalid
- genzehn.cpp:251:23: error: template argument 3 is invalid
- genzehn.cpp:254:58: error: ‘ZEHN_VERSION’ was not declared in this scope; did you mean ‘ZLIB_VERSION’?
- 254 | std::cout << "Generating Zehn file, version " << ZEHN_VERSION << "." << std::endl;
- | ^~~~~~~~~~~~
- | ZLIB_VERSION
- genzehn.cpp:256:5: error: ‘header’ was not declared in this scope; did you mean ‘gz_header’?
- 256 | header.signature = ZEHN_SIGNATURE;
- | ^~~~~~
- | gz_header
- genzehn.cpp:256:24: error: ‘ZEHN_SIGNATURE’ was not declared in this scope
- 256 | header.signature = ZEHN_SIGNATURE;
- | ^~~~~~~~~~~~~~
- genzehn.cpp:257:22: error: ‘ZEHN_VERSION’ was not declared in this scope; did you mean ‘ZLIB_VERSION’?
- 257 | header.version = ZEHN_VERSION;
- | ^~~~~~~~~~~~
- | ZLIB_VERSION
- genzehn.cpp:258:27: error: ‘input_reader’ was not declared in this scope
- 258 | header.entry_offset = input_reader.get_entry();
- | ^~~~~~~~~~~~
- genzehn.cpp:265:20: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 265 | flag_table.push_back({Zehn_flag_type::EXECUTABLE_NAME, zehn_extra_string(args["name"].as<std::string>(), extra_data)});
- | ^~~~~~~~~
- genzehn.cpp:265:31: error: ‘Zehn_flag_type’ has not been declared
- 265 | flag_table.push_back({Zehn_flag_type::EXECUTABLE_NAME, zehn_extra_string(args["name"].as<std::string>(), extra_data)});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:267:20: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 267 | flag_table.push_back({Zehn_flag_type::EXECUTABLE_AUTHOR, zehn_extra_string(args["author"].as<std::string>(), extra_data)});
- | ^~~~~~~~~
- genzehn.cpp:267:31: error: ‘Zehn_flag_type’ has not been declared
- 267 | flag_table.push_back({Zehn_flag_type::EXECUTABLE_AUTHOR, zehn_extra_string(args["author"].as<std::string>(), extra_data)});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:269:20: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 269 | flag_table.push_back({Zehn_flag_type::EXECUTABLE_VERSION, args["version"].as<uint32_t>()});
- | ^~~~~~~~~
- genzehn.cpp:269:31: error: ‘Zehn_flag_type’ has not been declared
- 269 | flag_table.push_back({Zehn_flag_type::EXECUTABLE_VERSION, args["version"].as<uint32_t>()});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:271:20: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 271 | flag_table.push_back({Zehn_flag_type::EXECUTABLE_NOTICE, zehn_extra_string(args["notice"].as<std::string>(), extra_data)});
- | ^~~~~~~~~
- genzehn.cpp:271:31: error: ‘Zehn_flag_type’ has not been declared
- 271 | flag_table.push_back({Zehn_flag_type::EXECUTABLE_NOTICE, zehn_extra_string(args["notice"].as<std::string>(), extra_data)});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:274:20: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 274 | flag_table.push_back({Zehn_flag_type::NDLESS_VERSION_MIN, args["ndless-min"].as<uint32_t>()});
- | ^~~~~~~~~
- genzehn.cpp:274:31: error: ‘Zehn_flag_type’ has not been declared
- 274 | flag_table.push_back({Zehn_flag_type::NDLESS_VERSION_MIN, args["ndless-min"].as<uint32_t>()});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:276:20: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 276 | flag_table.push_back({Zehn_flag_type::NDLESS_REVISION_MIN, args["ndless-rev-min"].as<uint32_t>()});
- | ^~~~~~~~~
- genzehn.cpp:276:31: error: ‘Zehn_flag_type’ has not been declared
- 276 | flag_table.push_back({Zehn_flag_type::NDLESS_REVISION_MIN, args["ndless-rev-min"].as<uint32_t>()});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:278:20: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 278 | flag_table.push_back({Zehn_flag_type::NDLESS_VERSION_MAX, args["ndless-max"].as<uint32_t>()});
- | ^~~~~~~~~
- genzehn.cpp:278:31: error: ‘Zehn_flag_type’ has not been declared
- 278 | flag_table.push_back({Zehn_flag_type::NDLESS_VERSION_MAX, args["ndless-max"].as<uint32_t>()});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:280:20: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 280 | flag_table.push_back({Zehn_flag_type::NDLESS_REVISION_MAX, args["ndless-rev-max"].as<uint32_t>()});
- | ^~~~~~~~~
- genzehn.cpp:280:31: error: ‘Zehn_flag_type’ has not been declared
- 280 | flag_table.push_back({Zehn_flag_type::NDLESS_REVISION_MAX, args["ndless-rev-max"].as<uint32_t>()});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:282:16: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 282 | flag_table.push_back({Zehn_flag_type::RUNS_ON_COLOR, args["color-support"].as<bool>()});
- | ^~~~~~~~~
- genzehn.cpp:282:27: error: ‘Zehn_flag_type’ has not been declared
- 282 | flag_table.push_back({Zehn_flag_type::RUNS_ON_COLOR, args["color-support"].as<bool>()});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:283:16: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 283 | flag_table.push_back({Zehn_flag_type::RUNS_ON_CLICKPAD, args["clickpad-support"].as<bool>()});
- | ^~~~~~~~~
- genzehn.cpp:283:27: error: ‘Zehn_flag_type’ has not been declared
- 283 | flag_table.push_back({Zehn_flag_type::RUNS_ON_CLICKPAD, args["clickpad-support"].as<bool>()});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:284:16: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 284 | flag_table.push_back({Zehn_flag_type::RUNS_ON_TOUCHPAD, args["touchpad-support"].as<bool>()});
- | ^~~~~~~~~
- genzehn.cpp:284:27: error: ‘Zehn_flag_type’ has not been declared
- 284 | flag_table.push_back({Zehn_flag_type::RUNS_ON_TOUCHPAD, args["touchpad-support"].as<bool>()});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:285:16: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 285 | flag_table.push_back({Zehn_flag_type::RUNS_ON_32MB, args["32MB-support"].as<bool>()});
- | ^~~~~~~~~
- genzehn.cpp:285:27: error: ‘Zehn_flag_type’ has not been declared
- 285 | flag_table.push_back({Zehn_flag_type::RUNS_ON_32MB, args["32MB-support"].as<bool>()});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:293:9: error: ‘section’ was not declared in this scope; did you mean ‘ELFIO::section’?
- 293 | section *s = input_reader.sections[i];
- | ^~~~~~~
- | ELFIO::section
- In file included from elfio-3.2/elfio/elfio.hpp:45,
- from genzehn.cpp:10:
- elfio-3.2/elfio/elfio_section.hpp:31:7: note: ‘ELFIO::section’ declared here
- 31 | class section
- | ^~~~~~~
- genzehn.cpp:293:18: error: ‘s’ was not declared in this scope
- 293 | section *s = input_reader.sections[i];
- | ^
- genzehn.cpp:300:13: error: ‘symbol_section_accessor’ was not declared in this scope; did you mean ‘ELFIO::symbol_section_accessor’?
- 300 | symbol_section_accessor ssa(input_reader, s);
- | ^~~~~~~~~~~~~~~~~~~~~~~
- | ELFIO::symbol_section_accessor
- In file included from elfio-3.2/elfio/elfio.hpp:839,
- from genzehn.cpp:10:
- elfio-3.2/elfio/elfio_symbols.hpp:29:7: note: ‘ELFIO::symbol_section_accessor’ declared here
- 29 | class symbol_section_accessor
- | ^~~~~~~~~~~~~~~~~~~~~~~
- genzehn.cpp:301:22: error: expected ‘;’ before ‘count’
- 301 | Elf_Xword count = ssa.get_symbols_num();
- | ^~~~~~
- | ;
- genzehn.cpp:302:26: error: expected ‘;’ before ‘i’
- 302 | for(Elf_Xword i = 0; i < count; ++i)
- | ^~
- | ;
- genzehn.cpp:302:38: error: ‘count’ was not declared in this scope; did you mean ‘std::count’?
- 302 | for(Elf_Xword i = 0; i < count; ++i)
- | ^~~~~
- | std::count
- In file included from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/algorithm:62,
- from genzehn.cpp:5:
- /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/bits/stl_algo.h:4077:5: note: ‘std::count’ declared here
- 4077 | count(_InputIterator __first, _InputIterator __last, const _Tp& __value)
- | ^~~~~
- genzehn.cpp:304:17: error: ‘Elf_Half’ was not declared in this scope; did you mean ‘ELFIO::Elf_Half’?
- 304 | Elf_Half section; std::string name; unsigned char bind, type;
- | ^~~~~~~~
- | ELFIO::Elf_Half
- In file included from elfio-3.2/elfio/elfio.hpp:42,
- from genzehn.cpp:10:
- elfio-3.2/elfio/elf_types.hpp:51:18: note: ‘ELFIO::Elf_Half’ declared here
- 51 | typedef uint16_t Elf_Half;
- | ^~~~~~~~
- genzehn.cpp:305:17: error: ‘Elf64_Addr’ was not declared in this scope; did you mean ‘ELFIO::Elf64_Addr’?
- 305 | Elf64_Addr u1; Elf_Xword u2; unsigned char u3; //Unused
- | ^~~~~~~~~~
- | ELFIO::Elf64_Addr
- In file included from elfio-3.2/elfio/elfio.hpp:42,
- from genzehn.cpp:10:
- elfio-3.2/elfio/elf_types.hpp:59:18: note: ‘ELFIO::Elf64_Addr’ declared here
- 59 | typedef uint64_t Elf64_Addr;
- | ^~~~~~~~~~
- genzehn.cpp:305:41: error: expected ‘;’ before ‘u2’
- 305 | Elf64_Addr u1; Elf_Xword u2; unsigned char u3; //Unused
- | ^~~
- | ;
- genzehn.cpp:306:21: error: ‘ssa’ was not declared in this scope
- 306 | if(!ssa.get_symbol(i, name, u1, u2, bind, type, section, u3))
- | ^~~
- genzehn.cpp:306:45: error: ‘u1’ was not declared in this scope; did you mean ‘u3’?
- 306 | if(!ssa.get_symbol(i, name, u1, u2, bind, type, section, u3))
- | ^~
- | u3
- genzehn.cpp:306:49: error: ‘u2’ was not declared in this scope; did you mean ‘u3’?
- 306 | if(!ssa.get_symbol(i, name, u1, u2, bind, type, section, u3))
- | ^~
- | u3
- genzehn.cpp:323:39: error: request for member ‘insert’ in ‘undefined_symbols’, which is of non-class type ‘int’
- 323 | undefined_symbols.insert(i);
- | ^~~~~~
- genzehn.cpp:404:16: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 404 | flag_table.push_back({Zehn_flag_type::USES_LCD_BLIT, uses_lcd_blit});
- | ^~~~~~~~~
- genzehn.cpp:404:27: error: ‘Zehn_flag_type’ has not been declared
- 404 | flag_table.push_back({Zehn_flag_type::USES_LCD_BLIT, uses_lcd_blit});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:414:16: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 414 | flag_table.push_back({Zehn_flag_type::RUNS_ON_HWW, hww_compat});
- | ^~~~~~~~~
- genzehn.cpp:414:27: error: ‘Zehn_flag_type’ has not been declared
- 414 | flag_table.push_back({Zehn_flag_type::RUNS_ON_HWW, hww_compat});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:422:9: error: ‘section’ was not declared in this scope; did you mean ‘ELFIO::section’?
- 422 | section *s = input_reader.sections[i];
- | ^~~~~~~
- | ELFIO::section
- In file included from elfio-3.2/elfio/elfio.hpp:45,
- from genzehn.cpp:10:
- elfio-3.2/elfio/elfio_section.hpp:31:7: note: ‘ELFIO::section’ declared here
- 31 | class section
- | ^~~~~~~
- genzehn.cpp:422:18: error: ‘s’ was not declared in this scope
- 422 | section *s = input_reader.sections[i];
- | ^
- genzehn.cpp:441:25: error: request for member ‘push_back’ in ‘reloc_table’, which is of non-class type ‘int’
- 441 | reloc_table.push_back({Zehn_reloc_type::ADD_BASE_GOT, static_cast<uint32_t>(s->get_address())});
- | ^~~~~~~~~
- genzehn.cpp:441:36: error: ‘Zehn_reloc_type’ has not been declared
- 441 | reloc_table.push_back({Zehn_reloc_type::ADD_BASE_GOT, static_cast<uint32_t>(s->get_address())});
- | ^~~~~~~~~~~~~~~
- genzehn.cpp:474:61: error: ‘Elf32_Rel’ was not declared in this scope; did you mean ‘ELFIO::Elf32_Rel’?
- 474 | unsigned int entries_count = s->get_size() / sizeof(Elf32_Rel);
- | ^~~~~~~~~
- | ELFIO::Elf32_Rel
- In file included from elfio-3.2/elfio/elfio.hpp:42,
- from genzehn.cpp:10:
- elfio-3.2/elfio/elf_types.hpp:699:8: note: ‘ELFIO::Elf32_Rel’ declared here
- 699 | struct Elf32_Rel {
- | ^~~~~~~~~
- genzehn.cpp:480:15: error: ‘Elf32_Rel’ does not name a type; did you mean ‘Elf32_Half’?
- 480 | const Elf32_Rel *entries = reinterpret_cast<const Elf32_Rel*>(s->get_data()), *entries_end = entries + entries_count;
- | ^~~~~~~~~
- | Elf32_Half
- genzehn.cpp:481:19: error: ‘Elf32_Rel’ does not name a type; did you mean ‘Elf32_Half’?
- 481 | for(const Elf32_Rel *entry = entries; entry < entries_end; ++entry)
- | ^~~~~~~~~
- | Elf32_Half
- genzehn.cpp:481:46: error: expected ‘;’ before ‘entry’
- 481 | for(const Elf32_Rel *entry = entries; entry < entries_end; ++entry)
- | ^~~~~~
- | ;
- genzehn.cpp:481:47: error: ‘entry’ was not declared in this scope
- 481 | for(const Elf32_Rel *entry = entries; entry < entries_end; ++entry)
- | ^~~~~
- genzehn.cpp:481:55: error: ‘entries_end’ was not declared in this scope; did you mean ‘entries_count’?
- 481 | for(const Elf32_Rel *entry = entries; entry < entries_end; ++entry)
- | ^~~~~~~~~~~
- | entries_count
- genzehn.cpp:483:34: error: request for member ‘find’ in ‘undefined_symbols’, which is of non-class type ‘int’
- 483 | if(undefined_symbols.find(ELF32_R_SYM(entry->r_info)) != undefined_symbols.end())
- | ^~~~
- genzehn.cpp:483:88: error: request for member ‘end’ in ‘undefined_symbols’, which is of non-class type ‘int’
- 483 | if(undefined_symbols.find(ELF32_R_SYM(entry->r_info)) != undefined_symbols.end())
- | ^~~
- genzehn.cpp:521:37: error: request for member ‘push_back’ in ‘reloc_table’, which is of non-class type ‘int’
- 521 | reloc_table.push_back({Zehn_reloc_type::UNALIGNED_RELOC, 0});
- | ^~~~~~~~~
- genzehn.cpp:521:48: error: ‘Zehn_reloc_type’ has not been declared
- 521 | reloc_table.push_back({Zehn_reloc_type::UNALIGNED_RELOC, 0});
- | ^~~~~~~~~~~~~~~
- genzehn.cpp:527:29: error: request for member ‘push_back’ in ‘reloc_table’, which is of non-class type ‘int’
- 527 | reloc_table.push_back({Zehn_reloc_type::ADD_BASE, static_cast<uint32_t>(entry->r_offset)});
- | ^~~~~~~~~
- genzehn.cpp:527:40: error: ‘Zehn_reloc_type’ has not been declared
- 527 | reloc_table.push_back({Zehn_reloc_type::ADD_BASE, static_cast<uint32_t>(entry->r_offset)});
- | ^~~~~~~~~~~~~~~
- genzehn.cpp:535:21: error: request for member ‘push_back’ in ‘reloc_table’, which is of non-class type ‘int’
- 535 | reloc_table.push_back({Zehn_reloc_type::SET_ZERO, offset});
- | ^~~~~~~~~
- genzehn.cpp:535:32: error: ‘Zehn_reloc_type’ has not been declared
- 535 | reloc_table.push_back({Zehn_reloc_type::SET_ZERO, offset});
- | ^~~~~~~~~~~~~~~
- genzehn.cpp:559:21: error: request for member ‘insert’ in ‘reloc_table’, which is of non-class type ‘int’
- 559 | reloc_table.insert(reloc_table.begin(), {Zehn_reloc_type::FILE_COMPRESSED, static_cast<uint32_t>(Zehn_compress_type::ZLIB)});
- | ^~~~~~
- genzehn.cpp:559:40: error: request for member ‘begin’ in ‘reloc_table’, which is of non-class type ‘int’
- 559 | reloc_table.insert(reloc_table.begin(), {Zehn_reloc_type::FILE_COMPRESSED, static_cast<uint32_t>(Zehn_compress_type::ZLIB)});
- | ^~~~~
- genzehn.cpp:559:50: error: ‘Zehn_reloc_type’ has not been declared
- 559 | reloc_table.insert(reloc_table.begin(), {Zehn_reloc_type::FILE_COMPRESSED, static_cast<uint32_t>(Zehn_compress_type::ZLIB)});
- | ^~~~~~~~~~~~~~~
- genzehn.cpp:559:106: error: ‘Zehn_compress_type’ has not been declared
- 559 | reloc_table.insert(reloc_table.begin(), {Zehn_reloc_type::FILE_COMPRESSED, static_cast<uint32_t>(Zehn_compress_type::ZLIB)});
- | ^~~~~~~~~~~~~~~~~~
- genzehn.cpp:565:38: error: request for member ‘size’ in ‘reloc_table’, which is of non-class type ‘int’
- 565 | header.reloc_count = reloc_table.size();
- | ^~~~
- genzehn.cpp:566:36: error: request for member ‘size’ in ‘flag_table’, which is of non-class type ‘int’
- 566 | header.flag_count = flag_table.size();
- | ^~~~
- genzehn.cpp:570:35: error: request for member ‘size’ in ‘reloc_table’, which is of non-class type ‘int’
- 570 | + reloc_table.size() * sizeof(Zehn_reloc)
- | ^~~~
- genzehn.cpp:571:34: error: request for member ‘size’ in ‘flag_table’, which is of non-class type ‘int’
- 571 | + flag_table.size() * sizeof(Zehn_flag)
- | ^~~~
- genzehn.cpp:598:67: error: request for member ‘data’ in ‘reloc_table’, which is of non-class type ‘int’
- 598 | output_writer.write(reinterpret_cast<const char*>(reloc_table.data()), reloc_table.size() * sizeof(Zehn_reloc));
- | ^~~~
- genzehn.cpp:598:88: error: request for member ‘size’ in ‘reloc_table’, which is of non-class type ‘int’
- 598 | output_writer.write(reinterpret_cast<const char*>(reloc_table.data()), reloc_table.size() * sizeof(Zehn_reloc));
- | ^~~~
- genzehn.cpp:599:66: error: request for member ‘data’ in ‘flag_table’, which is of non-class type ‘int’
- 599 | output_writer.write(reinterpret_cast<const char*>(flag_table.data()), flag_table.size() * sizeof(Zehn_flag));
- | ^~~~
- genzehn.cpp:599:86: error: request for member ‘size’ in ‘flag_table’, which is of non-class type ‘int’
- 599 | output_writer.write(reinterpret_cast<const char*>(flag_table.data()), flag_table.size() * sizeof(Zehn_flag));
- | ^~~~
- In file included from genzehn.cpp:12:
- zehn.h:1:1: error: expected unqualified-id before ‘.’ token
- 1 | ../../include/zehn.h
- | ^
- genzehn.cpp: In function ‘int main(int, char**)’:
- genzehn.cpp:96:9: error: ‘Zehn_header’ was not declared in this scope; did you mean ‘gz_header’?
- 96 | Zehn_header header;
- | ^~~~~~~~~~~
- | gz_header
- genzehn.cpp:110:29: error: ‘ZEHN_SIGNATURE’ was not declared in this scope
- 110 | if(buffer[i] == ZEHN_SIGNATURE && buffer[i + 1] == ZEHN_VERSION)
- | ^~~~~~~~~~~~~~
- genzehn.cpp:110:64: error: ‘ZEHN_VERSION’ was not declared in this scope; did you mean ‘ZLIB_VERSION’?
- 110 | if(buffer[i] == ZEHN_SIGNATURE && buffer[i + 1] == ZEHN_VERSION)
- | ^~~~~~~~~~~~
- | ZLIB_VERSION
- genzehn.cpp:126:53: error: ‘header’ was not declared in this scope; did you mean ‘gz_header’?
- 126 | if(!zehn_file.read(reinterpret_cast<char*>(&header), sizeof(header)))
- | ^~~~~~
- | gz_header
- genzehn.cpp:135:25: error: ‘header’ was not declared in this scope; did you mean ‘gz_header’?
- 135 | << header.reloc_count << "\trelocations" << std::endl
- | ^~~~~~
- | gz_header
- genzehn.cpp:143:21: error: ‘Zehn_reloc’ was not declared in this scope
- 143 | std::vector<Zehn_reloc> relocs(header.reloc_count);
- | ^~~~~~~~~~
- genzehn.cpp:143:31: error: template argument 1 is invalid
- 143 | std::vector<Zehn_reloc> relocs(header.reloc_count);
- | ^
- genzehn.cpp:143:31: error: template argument 2 is invalid
- genzehn.cpp:144:21: error: ‘Zehn_flag’ was not declared in this scope
- 144 | std::vector<Zehn_flag> flags(header.flag_count);
- | ^~~~~~~~~
- genzehn.cpp:144:30: error: template argument 1 is invalid
- 144 | std::vector<Zehn_flag> flags(header.flag_count);
- | ^
- genzehn.cpp:144:30: error: template argument 2 is invalid
- genzehn.cpp:147:59: error: request for member ‘data’ in ‘relocs’, which is of non-class type ‘int’
- 147 | if(!zehn_file.read(reinterpret_cast<char*>(relocs.data()), sizeof(Zehn_reloc) * header.reloc_count))
- | ^~~~
- genzehn.cpp:153:58: error: request for member ‘data’ in ‘flags’, which is of non-class type ‘int’
- 153 | if(!zehn_file.read(reinterpret_cast<char*>(flags.data()), sizeof(Zehn_flag) * header.flag_count))
- | ^~~~
- genzehn.cpp:165:45: error: invalid types ‘int[int]’ for array subscript
- 165 | if(header.reloc_count != 0 && relocs[0].type == Zehn_reloc_type::FILE_COMPRESSED)
- | ^
- genzehn.cpp:165:57: error: ‘Zehn_reloc_type’ has not been declared
- 165 | if(header.reloc_count != 0 && relocs[0].type == Zehn_reloc_type::FILE_COMPRESSED)
- | ^~~~~~~~~~~~~~~
- genzehn.cpp:166:68: error: invalid types ‘int[int]’ for array subscript
- 166 | std::cout << "This file is compressed (type " << relocs[0].offset << ")" << std::endl;
- | ^
- genzehn.cpp:169:25: error: ‘begin’ was not declared in this scope
- 169 | for(auto flag : flags)
- | ^~~~~
- genzehn.cpp:169:25: note: suggested alternatives:
- In file included from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/string:54,
- from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/bits/locale_classes.h:40,
- from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/bits/ios_base.h:41,
- from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/ios:42,
- from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/ostream:38,
- from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/iostream:39,
- from genzehn.cpp:4:
- /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/bits/range_access.h:90:5: note: ‘std::begin’
- 90 | begin(_Tp (&__arr)[_Nm])
- | ^~~~~
- In file included from /usr/include/boost/mpl/list/aux_/begin_end.hpp:17,
- from /usr/include/boost/mpl/list/list0.hpp:27,
- from /usr/include/boost/mpl/list/list10.hpp:18,
- from /usr/include/boost/mpl/list/list20.hpp:18,
- from /usr/include/boost/mpl/list.hpp:36,
- from /usr/include/boost/math/policies/policy.hpp:9,
- from /usr/include/boost/math/special_functions/math_fwd.hpp:29,
- from /usr/include/boost/math/special_functions/sign.hpp:17,
- from /usr/include/boost/lexical_cast/detail/inf_nan.hpp:34,
- from /usr/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63,
- from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:54,
- from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:42,
- from /usr/include/boost/lexical_cast.hpp:32,
- from /usr/include/boost/program_options/value_semantic.hpp:14,
- from /usr/include/boost/program_options/options_description.hpp:13,
- from /usr/include/boost/program_options.hpp:15,
- from genzehn.cpp:8:
- /usr/include/boost/mpl/begin_end_fwd.hpp:22:38: note: ‘boost::mpl::begin’
- 22 | template< typename Sequence > struct begin;
- | ^~~~~
- In file included from /usr/include/boost/range/functions.hpp:18,
- from /usr/include/boost/range/iterator_range_core.hpp:38,
- from /usr/include/boost/lexical_cast.hpp:30,
- from /usr/include/boost/program_options/value_semantic.hpp:14,
- from /usr/include/boost/program_options/options_description.hpp:13,
- from /usr/include/boost/program_options.hpp:15,
- from genzehn.cpp:8:
- /usr/include/boost/range/begin.hpp:106:61: note: ‘boost::range_adl_barrier::begin’
- 106 | inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type begin( const T& r )
- | ^~~~~
- genzehn.cpp:169:25: error: ‘end’ was not declared in this scope
- 169 | for(auto flag : flags)
- | ^~~~~
- genzehn.cpp:169:25: note: suggested alternatives:
- In file included from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/string:54,
- from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/bits/locale_classes.h:40,
- from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/bits/ios_base.h:41,
- from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/ios:42,
- from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/ostream:38,
- from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/iostream:39,
- from genzehn.cpp:4:
- /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/bits/range_access.h:100:5: note: ‘std::end’
- 100 | end(_Tp (&__arr)[_Nm])
- | ^~~
- In file included from /usr/include/boost/mpl/list/aux_/begin_end.hpp:17,
- from /usr/include/boost/mpl/list/list0.hpp:27,
- from /usr/include/boost/mpl/list/list10.hpp:18,
- from /usr/include/boost/mpl/list/list20.hpp:18,
- from /usr/include/boost/mpl/list.hpp:36,
- from /usr/include/boost/math/policies/policy.hpp:9,
- from /usr/include/boost/math/special_functions/math_fwd.hpp:29,
- from /usr/include/boost/math/special_functions/sign.hpp:17,
- from /usr/include/boost/lexical_cast/detail/inf_nan.hpp:34,
- from /usr/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63,
- from /usr/include/boost/lexical_cast/detail/converter_lexical.hpp:54,
- from /usr/include/boost/lexical_cast/try_lexical_convert.hpp:42,
- from /usr/include/boost/lexical_cast.hpp:32,
- from /usr/include/boost/program_options/value_semantic.hpp:14,
- from /usr/include/boost/program_options/options_description.hpp:13,
- from /usr/include/boost/program_options.hpp:15,
- from genzehn.cpp:8:
- /usr/include/boost/mpl/begin_end_fwd.hpp:23:38: note: ‘boost::mpl::end’
- 23 | template< typename Sequence > struct end;
- | ^~~
- In file included from /usr/include/boost/range/functions.hpp:19,
- from /usr/include/boost/range/iterator_range_core.hpp:38,
- from /usr/include/boost/lexical_cast.hpp:30,
- from /usr/include/boost/program_options/value_semantic.hpp:14,
- from /usr/include/boost/program_options/options_description.hpp:13,
- from /usr/include/boost/program_options.hpp:15,
- from genzehn.cpp:8:
- /usr/include/boost/range/end.hpp:100:61: note: ‘boost::range_adl_barrier::end’
- 100 | inline BOOST_DEDUCED_TYPENAME range_iterator<const T>::type end( const T& r )
- | ^~~
- genzehn.cpp:173:18: error: ‘Zehn_flag_type’ has not been declared
- 173 | case Zehn_flag_type::EXECUTABLE_NAME:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:176:18: error: ‘Zehn_flag_type’ has not been declared
- 176 | case Zehn_flag_type::EXECUTABLE_VERSION:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:179:18: error: ‘Zehn_flag_type’ has not been declared
- 179 | case Zehn_flag_type::EXECUTABLE_AUTHOR:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:182:18: error: ‘Zehn_flag_type’ has not been declared
- 182 | case Zehn_flag_type::EXECUTABLE_NOTICE:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:185:18: error: ‘Zehn_flag_type’ has not been declared
- 185 | case Zehn_flag_type::NDLESS_VERSION_MAX:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:186:18: error: ‘Zehn_flag_type’ has not been declared
- 186 | case Zehn_flag_type::NDLESS_VERSION_MIN:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:187:18: error: ‘Zehn_flag_type’ has not been declared
- 187 | case Zehn_flag_type::NDLESS_REVISION_MAX:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:188:18: error: ‘Zehn_flag_type’ has not been declared
- 188 | case Zehn_flag_type::NDLESS_REVISION_MIN:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:189:18: error: ‘Zehn_flag_type’ has not been declared
- 189 | case Zehn_flag_type::RUNS_ON_32MB:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:190:18: error: ‘Zehn_flag_type’ has not been declared
- 190 | case Zehn_flag_type::RUNS_ON_CLICKPAD:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:191:18: error: ‘Zehn_flag_type’ has not been declared
- 191 | case Zehn_flag_type::RUNS_ON_COLOR:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:192:18: error: ‘Zehn_flag_type’ has not been declared
- 192 | case Zehn_flag_type::RUNS_ON_TOUCHPAD:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:195:18: error: ‘Zehn_flag_type’ has not been declared
- 195 | case Zehn_flag_type::RUNS_ON_HWW:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:199:18: error: ‘Zehn_flag_type’ has not been declared
- 199 | case Zehn_flag_type::USES_LCD_BLIT:
- | ^~~~~~~~~~~~~~
- genzehn.cpp:221:5: error: ‘elfio’ was not declared in this scope; did you mean ‘ELFIO::elfio’?
- 221 | elfio input_reader;
- | ^~~~~
- | ELFIO::elfio
- In file included from genzehn.cpp:10:
- elfio-3.2/elfio/elfio.hpp:71:7: note: ‘ELFIO::elfio’ declared here
- 71 | class elfio
- | ^~~~~
- genzehn.cpp:223:9: error: ‘input_reader’ was not declared in this scope
- 223 | if(!input_reader.load(args["input"].as<std::string>()))
- | ^~~~~~~~~~~~
- genzehn.cpp:229:8: error: ‘input_reader’ was not declared in this scope
- 229 | if(input_reader.get_machine() != EM_ARM)
- | ^~~~~~~~~~~~
- genzehn.cpp:243:5: error: ‘Zehn_header’ was not declared in this scope; did you mean ‘gz_header’?
- 243 | Zehn_header header;
- | ^~~~~~~~~~~
- | gz_header
- genzehn.cpp:245:17: error: ‘Zehn_reloc’ was not declared in this scope
- 245 | std::vector<Zehn_reloc> reloc_table;
- | ^~~~~~~~~~
- genzehn.cpp:245:27: error: template argument 1 is invalid
- 245 | std::vector<Zehn_reloc> reloc_table;
- | ^
- genzehn.cpp:245:27: error: template argument 2 is invalid
- genzehn.cpp:246:17: error: ‘Zehn_flag’ was not declared in this scope
- 246 | std::vector<Zehn_flag> flag_table;
- | ^~~~~~~~~
- genzehn.cpp:246:26: error: template argument 1 is invalid
- 246 | std::vector<Zehn_flag> flag_table;
- | ^
- genzehn.cpp:246:26: error: template argument 2 is invalid
- genzehn.cpp:251:14: error: ‘Elf_Xword’ was not declared in this scope; did you mean ‘ELFIO::Elf_Xword’?
- 251 | std::set<Elf_Xword> undefined_symbols; uint32_t got_address = 0; std::set<uint32_t> undo_relocs;
- | ^~~~~~~~~
- | ELFIO::Elf_Xword
- In file included from elfio-3.2/elfio/elfio.hpp:42,
- from genzehn.cpp:10:
- elfio-3.2/elfio/elf_types.hpp:54:18: note: ‘ELFIO::Elf_Xword’ declared here
- 54 | typedef uint64_t Elf_Xword;
- | ^~~~~~~~~
- genzehn.cpp:251:23: error: template argument 1 is invalid
- 251 | std::set<Elf_Xword> undefined_symbols; uint32_t got_address = 0; std::set<uint32_t> undo_relocs;
- | ^
- genzehn.cpp:251:23: error: template argument 2 is invalid
- genzehn.cpp:251:23: error: template argument 3 is invalid
- genzehn.cpp:254:58: error: ‘ZEHN_VERSION’ was not declared in this scope; did you mean ‘ZLIB_VERSION’?
- 254 | std::cout << "Generating Zehn file, version " << ZEHN_VERSION << "." << std::endl;
- | ^~~~~~~~~~~~
- | ZLIB_VERSION
- genzehn.cpp:256:5: error: ‘header’ was not declared in this scope; did you mean ‘gz_header’?
- 256 | header.signature = ZEHN_SIGNATURE;
- | ^~~~~~
- | gz_header
- genzehn.cpp:256:24: error: ‘ZEHN_SIGNATURE’ was not declared in this scope
- 256 | header.signature = ZEHN_SIGNATURE;
- | ^~~~~~~~~~~~~~
- genzehn.cpp:257:22: error: ‘ZEHN_VERSION’ was not declared in this scope; did you mean ‘ZLIB_VERSION’?
- 257 | header.version = ZEHN_VERSION;
- | ^~~~~~~~~~~~
- | ZLIB_VERSION
- genzehn.cpp:258:27: error: ‘input_reader’ was not declared in this scope
- 258 | header.entry_offset = input_reader.get_entry();
- | ^~~~~~~~~~~~
- genzehn.cpp:265:20: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 265 | flag_table.push_back({Zehn_flag_type::EXECUTABLE_NAME, zehn_extra_string(args["name"].as<std::string>(), extra_data)});
- | ^~~~~~~~~
- genzehn.cpp:265:31: error: ‘Zehn_flag_type’ has not been declared
- 265 | flag_table.push_back({Zehn_flag_type::EXECUTABLE_NAME, zehn_extra_string(args["name"].as<std::string>(), extra_data)});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:267:20: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 267 | flag_table.push_back({Zehn_flag_type::EXECUTABLE_AUTHOR, zehn_extra_string(args["author"].as<std::string>(), extra_data)});
- | ^~~~~~~~~
- genzehn.cpp:267:31: error: ‘Zehn_flag_type’ has not been declared
- 267 | flag_table.push_back({Zehn_flag_type::EXECUTABLE_AUTHOR, zehn_extra_string(args["author"].as<std::string>(), extra_data)});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:269:20: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 269 | flag_table.push_back({Zehn_flag_type::EXECUTABLE_VERSION, args["version"].as<uint32_t>()});
- | ^~~~~~~~~
- genzehn.cpp:269:31: error: ‘Zehn_flag_type’ has not been declared
- 269 | flag_table.push_back({Zehn_flag_type::EXECUTABLE_VERSION, args["version"].as<uint32_t>()});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:271:20: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 271 | flag_table.push_back({Zehn_flag_type::EXECUTABLE_NOTICE, zehn_extra_string(args["notice"].as<std::string>(), extra_data)});
- | ^~~~~~~~~
- genzehn.cpp:271:31: error: ‘Zehn_flag_type’ has not been declared
- 271 | flag_table.push_back({Zehn_flag_type::EXECUTABLE_NOTICE, zehn_extra_string(args["notice"].as<std::string>(), extra_data)});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:274:20: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 274 | flag_table.push_back({Zehn_flag_type::NDLESS_VERSION_MIN, args["ndless-min"].as<uint32_t>()});
- | ^~~~~~~~~
- genzehn.cpp:274:31: error: ‘Zehn_flag_type’ has not been declared
- 274 | flag_table.push_back({Zehn_flag_type::NDLESS_VERSION_MIN, args["ndless-min"].as<uint32_t>()});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:276:20: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 276 | flag_table.push_back({Zehn_flag_type::NDLESS_REVISION_MIN, args["ndless-rev-min"].as<uint32_t>()});
- | ^~~~~~~~~
- genzehn.cpp:276:31: error: ‘Zehn_flag_type’ has not been declared
- 276 | flag_table.push_back({Zehn_flag_type::NDLESS_REVISION_MIN, args["ndless-rev-min"].as<uint32_t>()});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:278:20: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 278 | flag_table.push_back({Zehn_flag_type::NDLESS_VERSION_MAX, args["ndless-max"].as<uint32_t>()});
- | ^~~~~~~~~
- genzehn.cpp:278:31: error: ‘Zehn_flag_type’ has not been declared
- 278 | flag_table.push_back({Zehn_flag_type::NDLESS_VERSION_MAX, args["ndless-max"].as<uint32_t>()});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:280:20: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 280 | flag_table.push_back({Zehn_flag_type::NDLESS_REVISION_MAX, args["ndless-rev-max"].as<uint32_t>()});
- | ^~~~~~~~~
- genzehn.cpp:280:31: error: ‘Zehn_flag_type’ has not been declared
- 280 | flag_table.push_back({Zehn_flag_type::NDLESS_REVISION_MAX, args["ndless-rev-max"].as<uint32_t>()});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:282:16: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 282 | flag_table.push_back({Zehn_flag_type::RUNS_ON_COLOR, args["color-support"].as<bool>()});
- | ^~~~~~~~~
- genzehn.cpp:282:27: error: ‘Zehn_flag_type’ has not been declared
- 282 | flag_table.push_back({Zehn_flag_type::RUNS_ON_COLOR, args["color-support"].as<bool>()});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:283:16: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 283 | flag_table.push_back({Zehn_flag_type::RUNS_ON_CLICKPAD, args["clickpad-support"].as<bool>()});
- | ^~~~~~~~~
- genzehn.cpp:283:27: error: ‘Zehn_flag_type’ has not been declared
- 283 | flag_table.push_back({Zehn_flag_type::RUNS_ON_CLICKPAD, args["clickpad-support"].as<bool>()});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:284:16: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 284 | flag_table.push_back({Zehn_flag_type::RUNS_ON_TOUCHPAD, args["touchpad-support"].as<bool>()});
- | ^~~~~~~~~
- genzehn.cpp:284:27: error: ‘Zehn_flag_type’ has not been declared
- 284 | flag_table.push_back({Zehn_flag_type::RUNS_ON_TOUCHPAD, args["touchpad-support"].as<bool>()});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:285:16: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 285 | flag_table.push_back({Zehn_flag_type::RUNS_ON_32MB, args["32MB-support"].as<bool>()});
- | ^~~~~~~~~
- genzehn.cpp:285:27: error: ‘Zehn_flag_type’ has not been declared
- 285 | flag_table.push_back({Zehn_flag_type::RUNS_ON_32MB, args["32MB-support"].as<bool>()});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:293:9: error: ‘section’ was not declared in this scope; did you mean ‘ELFIO::section’?
- 293 | section *s = input_reader.sections[i];
- | ^~~~~~~
- | ELFIO::section
- In file included from elfio-3.2/elfio/elfio.hpp:45,
- from genzehn.cpp:10:
- elfio-3.2/elfio/elfio_section.hpp:31:7: note: ‘ELFIO::section’ declared here
- 31 | class section
- | ^~~~~~~
- genzehn.cpp:293:18: error: ‘s’ was not declared in this scope
- 293 | section *s = input_reader.sections[i];
- | ^
- genzehn.cpp:300:13: error: ‘symbol_section_accessor’ was not declared in this scope; did you mean ‘ELFIO::symbol_section_accessor’?
- 300 | symbol_section_accessor ssa(input_reader, s);
- | ^~~~~~~~~~~~~~~~~~~~~~~
- | ELFIO::symbol_section_accessor
- In file included from elfio-3.2/elfio/elfio.hpp:839,
- from genzehn.cpp:10:
- elfio-3.2/elfio/elfio_symbols.hpp:29:7: note: ‘ELFIO::symbol_section_accessor’ declared here
- 29 | class symbol_section_accessor
- | ^~~~~~~~~~~~~~~~~~~~~~~
- genzehn.cpp:301:22: error: expected ‘;’ before ‘count’
- 301 | Elf_Xword count = ssa.get_symbols_num();
- | ^~~~~~
- | ;
- genzehn.cpp:302:26: error: expected ‘;’ before ‘i’
- 302 | for(Elf_Xword i = 0; i < count; ++i)
- | ^~
- | ;
- genzehn.cpp:302:38: error: ‘count’ was not declared in this scope; did you mean ‘std::count’?
- 302 | for(Elf_Xword i = 0; i < count; ++i)
- | ^~~~~
- | std::count
- In file included from /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/algorithm:62,
- from genzehn.cpp:5:
- /usr/lib/gcc/x86_64-pc-cygwin/10/include/c++/bits/stl_algo.h:4077:5: note: ‘std::count’ declared here
- 4077 | count(_InputIterator __first, _InputIterator __last, const _Tp& __value)
- | ^~~~~
- genzehn.cpp:304:17: error: ‘Elf_Half’ was not declared in this scope; did you mean ‘ELFIO::Elf_Half’?
- 304 | Elf_Half section; std::string name; unsigned char bind, type;
- | ^~~~~~~~
- | ELFIO::Elf_Half
- In file included from elfio-3.2/elfio/elfio.hpp:42,
- from genzehn.cpp:10:
- elfio-3.2/elfio/elf_types.hpp:51:18: note: ‘ELFIO::Elf_Half’ declared here
- 51 | typedef uint16_t Elf_Half;
- | ^~~~~~~~
- genzehn.cpp:305:17: error: ‘Elf64_Addr’ was not declared in this scope; did you mean ‘ELFIO::Elf64_Addr’?
- 305 | Elf64_Addr u1; Elf_Xword u2; unsigned char u3; //Unused
- | ^~~~~~~~~~
- | ELFIO::Elf64_Addr
- In file included from elfio-3.2/elfio/elfio.hpp:42,
- from genzehn.cpp:10:
- elfio-3.2/elfio/elf_types.hpp:59:18: note: ‘ELFIO::Elf64_Addr’ declared here
- 59 | typedef uint64_t Elf64_Addr;
- | ^~~~~~~~~~
- genzehn.cpp:305:41: error: expected ‘;’ before ‘u2’
- 305 | Elf64_Addr u1; Elf_Xword u2; unsigned char u3; //Unused
- | ^~~
- | ;
- genzehn.cpp:306:21: error: ‘ssa’ was not declared in this scope
- 306 | if(!ssa.get_symbol(i, name, u1, u2, bind, type, section, u3))
- | ^~~
- genzehn.cpp:306:45: error: ‘u1’ was not declared in this scope; did you mean ‘u3’?
- 306 | if(!ssa.get_symbol(i, name, u1, u2, bind, type, section, u3))
- | ^~
- | u3
- genzehn.cpp:306:49: error: ‘u2’ was not declared in this scope; did you mean ‘u3’?
- 306 | if(!ssa.get_symbol(i, name, u1, u2, bind, type, section, u3))
- | ^~
- | u3
- genzehn.cpp:323:39: error: request for member ‘insert’ in ‘undefined_symbols’, which is of non-class type ‘int’
- 323 | undefined_symbols.insert(i);
- | ^~~~~~
- genzehn.cpp:404:16: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 404 | flag_table.push_back({Zehn_flag_type::USES_LCD_BLIT, uses_lcd_blit});
- | ^~~~~~~~~
- genzehn.cpp:404:27: error: ‘Zehn_flag_type’ has not been declared
- 404 | flag_table.push_back({Zehn_flag_type::USES_LCD_BLIT, uses_lcd_blit});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:414:16: error: request for member ‘push_back’ in ‘flag_table’, which is of non-class type ‘int’
- 414 | flag_table.push_back({Zehn_flag_type::RUNS_ON_HWW, hww_compat});
- | ^~~~~~~~~
- genzehn.cpp:414:27: error: ‘Zehn_flag_type’ has not been declared
- 414 | flag_table.push_back({Zehn_flag_type::RUNS_ON_HWW, hww_compat});
- | ^~~~~~~~~~~~~~
- genzehn.cpp:422:9: error: ‘section’ was not declared in this scope; did you mean ‘ELFIO::section’?
- 422 | section *s = input_reader.sections[i];
- | ^~~~~~~
- | ELFIO::section
- In file included from elfio-3.2/elfio/elfio.hpp:45,
- from genzehn.cpp:10:
- elfio-3.2/elfio/elfio_section.hpp:31:7: note: ‘ELFIO::section’ declared here
- 31 | class section
- | ^~~~~~~
- genzehn.cpp:422:18: error: ‘s’ was not declared in this scope
- 422 | section *s = input_reader.sections[i];
- | ^
- genzehn.cpp:441:25: error: request for member ‘push_back’ in ‘reloc_table’, which is of non-class type ‘int’
- 441 | reloc_table.push_back({Zehn_reloc_type::ADD_BASE_GOT, static_cast<uint32_t>(s->get_address())});
- | ^~~~~~~~~
- genzehn.cpp:441:36: error: ‘Zehn_reloc_type’ has not been declared
- 441 | reloc_table.push_back({Zehn_reloc_type::ADD_BASE_GOT, static_cast<uint32_t>(s->get_address())});
- | ^~~~~~~~~~~~~~~
- genzehn.cpp:474:61: error: ‘Elf32_Rel’ was not declared in this scope; did you mean ‘ELFIO::Elf32_Rel’?
- 474 | unsigned int entries_count = s->get_size() / sizeof(Elf32_Rel);
- | ^~~~~~~~~
- | ELFIO::Elf32_Rel
- In file included from elfio-3.2/elfio/elfio.hpp:42,
- from genzehn.cpp:10:
- elfio-3.2/elfio/elf_types.hpp:699:8: note: ‘ELFIO::Elf32_Rel’ declared here
- 699 | struct Elf32_Rel {
- | ^~~~~~~~~
- genzehn.cpp:480:15: error: ‘Elf32_Rel’ does not name a type; did you mean ‘Elf32_Half’?
- 480 | const Elf32_Rel *entries = reinterpret_cast<const Elf32_Rel*>(s->get_data()), *entries_end = entries + entries_count;
- | ^~~~~~~~~
- | Elf32_Half
- genzehn.cpp:481:19: error: ‘Elf32_Rel’ does not name a type; did you mean ‘Elf32_Half’?
- 481 | for(const Elf32_Rel *entry = entries; entry < entries_end; ++entry)
- | ^~~~~~~~~
- | Elf32_Half
- genzehn.cpp:481:46: error: expected ‘;’ before ‘entry’
- 481 | for(const Elf32_Rel *entry = entries; entry < entries_end; ++entry)
- | ^~~~~~
- | ;
- genzehn.cpp:481:47: error: ‘entry’ was not declared in this scope
- 481 | for(const Elf32_Rel *entry = entries; entry < entries_end; ++entry)
- | ^~~~~
- genzehn.cpp:481:55: error: ‘entries_end’ was not declared in this scope; did you mean ‘entries_count’?
- 481 | for(const Elf32_Rel *entry = entries; entry < entries_end; ++entry)
- | ^~~~~~~~~~~
- | entries_count
- genzehn.cpp:483:34: error: request for member ‘find’ in ‘undefined_symbols’, which is of non-class type ‘int’
- 483 | if(undefined_symbols.find(ELF32_R_SYM(entry->r_info)) != undefined_symbols.end())
- | ^~~~
- genzehn.cpp:483:88: error: request for member ‘end’ in ‘undefined_symbols’, which is of non-class type ‘int’
- 483 | if(undefined_symbols.find(ELF32_R_SYM(entry->r_info)) != undefined_symbols.end())
- | ^~~
- genzehn.cpp:521:37: error: request for member ‘push_back’ in ‘reloc_table’, which is of non-class type ‘int’
- 521 | reloc_table.push_back({Zehn_reloc_type::UNALIGNED_RELOC, 0});
- | ^~~~~~~~~
- genzehn.cpp:521:48: error: ‘Zehn_reloc_type’ has not been declared
- 521 | reloc_table.push_back({Zehn_reloc_type::UNALIGNED_RELOC, 0});
- | ^~~~~~~~~~~~~~~
- genzehn.cpp:527:29: error: request for member ‘push_back’ in ‘reloc_table’, which is of non-class type ‘int’
- 527 | reloc_table.push_back({Zehn_reloc_type::ADD_BASE, static_cast<uint32_t>(entry->r_offset)});
- | ^~~~~~~~~
- genzehn.cpp:527:40: error: ‘Zehn_reloc_type’ has not been declared
- 527 | reloc_table.push_back({Zehn_reloc_type::ADD_BASE, static_cast<uint32_t>(entry->r_offset)});
- | ^~~~~~~~~~~~~~~
- genzehn.cpp:535:21: error: request for member ‘push_back’ in ‘reloc_table’, which is of non-class type ‘int’
- 535 | reloc_table.push_back({Zehn_reloc_type::SET_ZERO, offset});
- | ^~~~~~~~~
- genzehn.cpp:535:32: error: ‘Zehn_reloc_type’ has not been declared
- 535 | reloc_table.push_back({Zehn_reloc_type::SET_ZERO, offset});
- | ^~~~~~~~~~~~~~~
- genzehn.cpp:559:21: error: request for member ‘insert’ in ‘reloc_table’, which is of non-class type ‘int’
- 559 | reloc_table.insert(reloc_table.begin(), {Zehn_reloc_type::FILE_COMPRESSED, static_cast<uint32_t>(Zehn_compress_type::ZLIB)});
- | ^~~~~~
- genzehn.cpp:559:40: error: request for member ‘begin’ in ‘reloc_table’, which is of non-class type ‘int’
- 559 | reloc_table.insert(reloc_table.begin(), {Zehn_reloc_type::FILE_COMPRESSED, static_cast<uint32_t>(Zehn_compress_type::ZLIB)});
- | ^~~~~
- genzehn.cpp:559:50: error: ‘Zehn_reloc_type’ has not been declared
- 559 | reloc_table.insert(reloc_table.begin(), {Zehn_reloc_type::FILE_COMPRESSED, static_cast<uint32_t>(Zehn_compress_type::ZLIB)});
- | ^~~~~~~~~~~~~~~
- genzehn.cpp:559:106: error: ‘Zehn_compress_type’ has not been declared
- 559 | reloc_table.insert(reloc_table.begin(), {Zehn_reloc_type::FILE_COMPRESSED, static_cast<uint32_t>(Zehn_compress_type::ZLIB)});
- | ^~~~~~~~~~~~~~~~~~
- genzehn.cpp:565:38: error: request for member ‘size’ in ‘reloc_table’, which is of non-class type ‘int’
- 565 | header.reloc_count = reloc_table.size();
- | ^~~~
- genzehn.cpp:566:36: error: request for member ‘size’ in ‘flag_table’, which is of non-class type ‘int’
- 566 | header.flag_count = flag_table.size();
- | ^~~~
- genzehn.cpp:570:35: error: request for member ‘size’ in ‘reloc_table’, which is of non-class type ‘int’
- 570 | + reloc_table.size() * sizeof(Zehn_reloc)
- | ^~~~
- genzehn.cpp:571:34: error: request for member ‘size’ in ‘flag_table’, which is of non-class type ‘int’
- 571 | + flag_table.size() * sizeof(Zehn_flag)
- | ^~~~
- genzehn.cpp:598:67: error: request for member ‘data’ in ‘reloc_table’, which is of non-class type ‘int’
- 598 | output_writer.write(reinterpret_cast<const char*>(reloc_table.data()), reloc_table.size() * sizeof(Zehn_reloc));
- | ^~~~
- genzehn.cpp:598:88: error: request for member ‘size’ in ‘reloc_table’, which is of non-class type ‘int’
- 598 | output_writer.write(reinterpret_cast<const char*>(reloc_table.data()), reloc_table.size() * sizeof(Zehn_reloc));
- | ^~~~
- genzehn.cpp:599:66: error: request for member ‘data’ in ‘flag_table’, which is of non-class type ‘int’
- 599 | output_writer.write(reinterpret_cast<const char*>(flag_table.data()), flag_table.size() * sizeof(Zehn_flag));
- | ^~~~
- genzehn.cpp:599:86: error: request for member ‘size’ in ‘flag_table’, which is of non-class type ‘int’
- 599 | output_writer.write(reinterpret_cast<const char*>(flag_table.data()), flag_table.size() * sizeof(Zehn_flag));
- | ^~~~
- make[3]: *** [Makefile:4: ../../bin/genzehn] Error 1
- make[3]: Leaving directory '/Ndless/ndless-sdk/tools/genzehn'
- make[2]: *** [Makefile:4: all] Error 1
- make[2]: Leaving directory '/Ndless/ndless-sdk/tools'
- make[1]: *** [Makefile:14: build-tools] Error 2
- make[1]: Leaving directory '/Ndless/ndless-sdk'
- make: *** [Makefile:19: build-ndless-sdk] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement