Hi,
I'm trying to get coreboot running on a A8V-E SE MOBO with a Athlon64 3800+ on it, I have Suse 11.0 running on it and tried to compile coreboot. The first make worked fine I set up all the option I think necessary. But at the second time I execute make it stops with multiple errors: GEN build.h CC lib/version.o AR coreboot.a CC coreboot_ram.o CC coreboot_ram /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: warning: .note.gnu.build-id section discarded, --build-id ignored. HOSTCXX util/cbfstool/minilzma.o /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:25:33: error: C/Common/MyInitGuid.h: No existe el fichero o el directorio /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:26:46: error: C/7zip/Compress/LZMA/LZMAEncoder.h: No existe el fichero o el directorio /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:212:42: error: C/7zip/Decompress/LzmaDecode.h: No existe el fichero o el directorio /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:213:42: error: C/7zip/Decompress/LzmaDecode.c: No existe el fichero o el directorio /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:68: error: ‘UInt32’ does not name a type /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:102: error: expected class-name before ‘,’ token /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:103: error: expected class-name before ‘{’ token /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:107: error: ‘MY_UNKNOWN_IMP’ does not name a type /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:114: error: ‘Read’ has not been declared /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:114: error: ‘UInt32’ has not been declared /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:114: error: ‘UInt32’ has not been declared /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:114: error: ISO C++ forbids declaration of ‘STDMETHOD’ with no type /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:114: error: ‘STDMETHOD’ declared as function returning a function /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:117: error: ‘STDMETHODIMP’ does not name a type /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:130: error: expected class-name before ‘,’ token /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:131: error: expected class-name before ‘{’ token /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:132: error: ‘Byte’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:132: error: template argument 1 is invalid /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:132: error: template argument 2 is invalid /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:135: error: ‘MY_UNKNOWN_IMP’ does not name a type /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:141: error: ‘Byte’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:141: error: template argument 1 is invalid /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:141: error: template argument 2 is invalid /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:143: error: ‘HRESULT’ does not name a type /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:150: error: ‘Write’ has not been declared /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:150: error: ‘UInt32’ has not been declared /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:150: error: ‘UInt32’ has not been declared /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:150: error: ISO C++ forbids declaration of ‘STDMETHOD’ with no type /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:150: error: ‘STDMETHOD’ declared as function returning a function /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc: In member function ‘void COutStreamRam::Reserve(unsigned int)’: /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:140: error: request for member ‘reserve’ in ‘((COutStreamRam*)this)->COutStreamRam::result’, which is of non-class type ‘int’ /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc: At global scope: /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:153: error: ‘STDMETHODIMP’ does not name a type /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc: In function ‘const std::vector<unsigned char, std::allocator<unsigned char> > LZMACompress(const std::vector<unsigned char, std::allocator<unsigned char> >&)’: /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:167: error: ‘UInt32’ does not name a type /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:169: error: ‘NCompress’ has not been declared /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:169: error: ‘encoderSpec’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:169: error: expected type-specifier before ‘NCompress’ /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:169: error: expected `;' before ‘NCompress’ /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:170: error: ‘CMyComPtr’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:170: error: ‘ICompressCoder’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:170: error: ‘encoder’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:171: error: ‘PROPID’ does not name a type /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:177: error: ‘propIDs’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:178: error: ‘PROPVARIANT’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:178: error: expected `;' before ‘properties’ /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:179: error: ‘properties’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:179: error: ‘VT_UI4’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:179: error: ‘UInt32’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:179: error: expected `;' before numeric constant /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:180: error: expected `;' before ‘dictionarysize’ /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:181: error: expected `;' before numeric constant /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:183: error: ‘S_OK’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:190: error: ‘ISequentialOutStream’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:190: error: ‘outStream’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:191: error: no matching function for call to ‘CInStreamRam::CInStreamRam(const std::vector<unsigned char, std::allocator<unsigned char> >&)’ /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:103: note: candidates are: CInStreamRam::CInStreamRam() /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:103: note: CInStreamRam::CInStreamRam(const CInStreamRam&) /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:192: error: ‘ISequentialInStream’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:192: error: ‘inStream’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:196: error: ‘S_OK’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:200: error: ‘UInt64’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:200: error: expected `;' before ‘t’ /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:201: error: ‘class COutStreamRam’ has no member named ‘WriteByte’ /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:201: error: ‘Byte’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:201: error: ‘t’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:204: error: ‘HRESULT’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:204: error: expected `;' before ‘lzmaResult’ /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:205: error: ‘lzmaResult’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:205: error: ‘S_OK’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:207: error: conversion from ‘const int’ to non-scalar type ‘const std::vector<unsigned char, std::allocator<unsigned char> >’ requested /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc: In function ‘const std::vector<unsigned char, std::allocator<unsigned char> > LZMADeCompress(const std::vector<unsigned char, std::allocator<unsigned char> >&)’: /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:224: error: ‘CLzmaDecoderState’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:224: error: expected `;' before ‘state’ /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:225: error: ‘state’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:225: error: ‘LZMA_PROPERTIES_SIZE’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:225: error: ‘LzmaDecodeProperties’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:226: error: expected type-specifier before ‘CProb’ /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:226: error: expected `;' before ‘CProb’ /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:228: error: ‘SizeT’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:228: error: expected `;' before ‘in_done’ /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:229: error: expected `;' before ‘out_done’ /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:230: error: ‘in_done’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:231: error: ‘out_done’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:231: error: ‘LzmaDecode’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc: In function ‘void do_lzma_uncompress(char*, int, char*, int)’: /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:306: error: ‘SizeT’ was not declared in this scope /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:306: error: expected `)' before ‘dst_len’ make: *** [/home/knut/Documents/trunk1/build/util/cbfstool/minilzma.o] Error 1
(sorry for the long output)
Am I'm missing some libraries that have to be installed?
Thanks in advanced and have a nice weekend :)
Knut Kujat wrote:
Hi,
I'm trying to get coreboot running on a A8V-E SE MOBO with a Athlon64 3800+ on it, I have Suse 11.0 running on it and tried to compile coreboot. The first make worked fine I set up all the option I think necessary. But at the second time I execute make it stops with multiple errors: GEN build.h CC lib/version.o AR coreboot.a CC coreboot_ram.o CC coreboot_ram /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: warning: .note.gnu.build-id section discarded, --build-id ignored. HOSTCXX util/cbfstool/minilzma.o /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:25:33: error: C/Common/MyInitGuid.h: No existe el fichero o el directorio /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:26:46: error: C/7zip/Compress/LZMA/LZMAEncoder.h: No existe el fichero o el directorio /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:212:42: error: C/7zip/Decompress/LzmaDecode.h: No existe el fichero o el directorio /home/knut/Documents/trunk1/util/cbfstool/lzma/minilzma.cc:213:42: error: C/7zip/Decompress/LzmaDecode.c: No existe el fichero o el directorio
(sorry for the long output)
Am I'm missing some libraries that have to be installed?
Looks like your coreboot tree is incomplete.
Stefan