[openib-general] mstflint doesn't build on x86_64
Hal Rosenstock
halr at voltaire.com
Sat Jul 2 04:20:39 PDT 2005
Hi,
mstflint doesn't build on x86_64. Here is the version of g++:
g++ -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,java,f77 --enable-java-awt=gtk --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
Thanks.
-- Hal
g++ -O2 -g -I. -fno-exceptions -Wall flint.cpp -o mstflint
flint.cpp:598: error: expected `0' before ""
flint.cpp:598: error: invalid initializer for virtual method `virtual bool Flash::read(u_int32_t, u_int32_t*)'
flint.cpp:598: error: expected `;' before ""
flint.cpp:615: error: expected `0' before ""
flint.cpp:615: error: invalid initializer for virtual method `virtual bool Flash::wait_ready(const char*)'
flint.cpp:615: error: expected `;' before ""
flint.cpp:673: error: expected `0' before ""
flint.cpp:673: error: invalid initializer for virtual method `virtual bool Flash::init_gpios()'
flint.cpp:673: error: expected `;' before ""
flint.cpp:675: error: expected `0' before ""
flint.cpp:675: error: invalid initializer for virtual method `virtual bool Flash::get_cmd_set()'
flint.cpp:675: error: expected `;' before ""
flint.cpp:680: error: expected `0' before ""
flint.cpp:680: error: invalid initializer for virtual method `virtual bool Flash::write_internal(u_int32_t, u_int8_t)'
flint.cpp:680: error: expected `;' before ""
flint.cpp:695: error: expected `0' before ""
flint.cpp:695: error: invalid initializer for virtual method `virtual bool Flash::CmdSet::write(u_int32_t, void*, int, bool, bool)'
flint.cpp:695: error: expected `;' before ""
flint.cpp:698: error: expected `0' before ""
flint.cpp:698: error: invalid initializer for virtual method `virtual bool Flash::CmdSet::erase_sector(u_int32_t)'
flint.cpp:698: error: expected `;' before ""
flint.cpp:700: error: expected `0' before ""
flint.cpp:700: error: invalid initializer for virtual method `virtual bool Flash::CmdSet::reset()'
flint.cpp:700: error: expected `;' before ""
flint.cpp:766: error: expected `0' before ""
flint.cpp:766: error: invalid initializer for virtual method `virtual bool Flash::set_bank_int(u_int32_t)'
flint.cpp:766: error: expected `;' before ""
flint.cpp: In member function `virtual bool Flash::erase_sector(u_int32_t)':
flint.cpp:620: error: 'class Flash::CmdSet' has no member named 'erase_sector'
flint.cpp: In member function `virtual bool Flash::open(const char*, bool)':
flint.cpp:1264: error: `init_gpios' undeclared (first use this function)
flint.cpp:1264: error: (Each undeclared identifier is reported only once for each function it appears in.)
flint.cpp:1268: error: `get_cmd_set' undeclared (first use this function)
flint.cpp:1272: error: 'class Flash::CmdSet' has no member named 'reset'
flint.cpp: In member function `virtual bool Flash::read(u_int32_t, void*, int, bool)':
flint.cpp:1344: error: no matching function for call to `Flash::read(u_int32_t&, u_int32_t*)'
flint.cpp:1324: note: candidates are: virtual bool Flash::read(u_int32_t, void*, int, bool)
flint.cpp: In member function `virtual bool Flash::write(u_int32_t, void*, int, bool, bool)':
flint.cpp:1388: error: 'class Flash::CmdSet' has no member named 'write'
flint.cpp: In member function `virtual bool Flash::write(u_int32_t, u_int32_t)':
flint.cpp:1413: error: no matching function for call to `Flash::read(u_int32_t&, u_int32_t*)'
flint.cpp:1324: note: candidates are: virtual bool Flash::read(u_int32_t, void*, int, bool)
flint.cpp: In member function `bool Flash::set_bank(u_int32_t)':
flint.cpp:1432: error: `set_bank_int' undeclared (first use this function)
flint.cpp: In function `bool repair(Flash&, int, int, bool)':
flint.cpp:3146: error: no matching function for call to `Flash::read(unsigned int, u_int32_t*)'
flint.cpp:1324: note: candidates are: virtual bool Flash::read(u_int32_t, void*, int, bool)
flint.cpp:3154: error: no matching function for call to `Flash::read(unsigned int, u_int32_t*)'
flint.cpp:1324: note: candidates are: virtual bool Flash::read(u_int32_t, void*, int, bool)
flint.cpp: In function `bool FailSafe_burn_internal(Flash&, void*, int, bool)':
flint.cpp:3321: error: no matching function for call to `Flash::read(unsigned int, u_int32_t*)'
flint.cpp:1324: note: candidates are: virtual bool Flash::read(u_int32_t, void*, int, bool)
flint.cpp: In function `bool FailSafe_burn(Flash&, void*, int, bool, bool)':
flint.cpp:3378: error: no matching function for call to `Flash::read(int, u_int32_t*)'
flint.cpp:1324: note: candidates are: virtual bool Flash::read(u_int32_t, void*, int, bool)
flint.cpp:3440: error: no matching function for call to `Flash::read(unsigned int, u_int32_t*)'
flint.cpp:1324: note: candidates are: virtual bool Flash::read(u_int32_t, void*, int, bool)
flint.cpp:3541: error: no matching function for call to `Flash::read(unsigned int, u_int32_t*)'
flint.cpp:1324: note: candidates are: virtual bool Flash::read(u_int32_t, void*, int, bool)
flint.cpp: In function `void TerminationHandler(int)':
flint.cpp:4686: error: 'class Flash' has no member named 'wait_ready'
flint.cpp: In function `int main(int, char**)':
flint.cpp:5153: error: no matching function for call to `Flash::read(u_int32_t&, u_int32_t*)'
flint.cpp:1324: note: candidates are: virtual bool Flash::read(u_int32_t, void*, int, bool)
make: *** [mstflint] Error 1
More information about the general
mailing list