Portál AbcLinuxu, 14. května 2025 01:34
device_db.cpp:(.text+0x99f): undefined reference to `ost::XMLStream::~XMLStream()'
device_db.cpp:(.text+0xa2f): undefined reference to `ost::XMLStream::~XMLStream()'
device_db.cpp:(.text+0xb1d): undefined reference to `ost::XMLStream::parse(char const*)'
device_db.cpp:(.text+0xba7): undefined reference to `ost::XMLStream::~XMLStream()'
device_db.cpp:(.text+0xaa7): undefined reference to `ost::XMLStream::~XMLStream()'
device_db.cpp:(.text+0xc37): undefined reference to `ost::XMLStream::~XMLStream()'
CMakeFiles/eval_brd_a.dir/device_db.o:(.rodata._ZTV9Device_db[vtable for Device_db]+0x20): undefined reference to `ost::XMLStream::open(char const*)'
CMakeFiles/eval_brd_a.dir/device_db.o:(.rodata._ZTV9Device_db[vtable for Device_db]+0x28): undefined reference to `ost::XMLStream::close()'
CMakeFiles/eval_brd_a.dir/device_db.o:(.rodata._ZTV9Device_db[vtable for Device_db]+0x30): undefined reference to `ost::XMLStream::getLogging()'
CMakeFiles/eval_brd_a.dir/device_db.o:(.rodata._ZTV9Device_db[vtable for Device_db]+0x38): undefined reference to `ost::XMLStream::comment(unsigned char const*, unsigned long)'
CMakeFiles/eval_brd_a.dir/device_db.o:(.rodata._ZTV9Device_db[vtable for Device_db]+0x50): undefined reference to `ost::XMLStream::startDocument()'
CMakeFiles/eval_brd_a.dir/device_db.o:(.rodata._ZTV9Device_db[vtable for Device_db]+0x58): undefined reference to `ost::XMLStream::endDocument()'
CMakeFiles/eval_brd_a.dir/device_db.o:(.rodata._ZTV9Device_db[vtable for Device_db]+0x68): undefined reference to `Device_db::endElement(unsigned char const*)'
CMakeFiles/eval_brd_a.dir/device_db.o:(.rodata._ZTI9Device_db[typeinfo for Device_db]+0x10): undefined reference to `typeinfo for ost::XMLStream'
Akorát to napsalo, že to ten soubor nemůže najít.Tak jste to musel napsat blbě. To pak nebude chyba CMake a ani autotools to zázračně nevyřeší.
/usr/include/cc++/objlink.h /usr/include/cc++/objmap.h /usr/include/cc++/objsync.h /usr/include/cc++/oststring.h /usr/include/cc++/template.h /usr/include/cc++/pointer.h /usr/lib64/libccgnu2-1.6.so.0.0.1 /usr/lib64/libccgnu2-1.6.so.0 /usr/lib64/libccgnu2.so /usr/lib64/libccgnu2.la /usr/lib64/libccgnu2.a /usr/lib64/libccext2-1.6.so.0.0.1 /usr/lib64/libccext2-1.6.so.0 /usr/lib64/libccext2.so /usr/lib64/libccext2.la /usr/lib64/libccext2.a /usr/lib64/pkgconfig/libccgnu2.pc /usr/lib64/pkgconfig/libccext2.pc /usr/share/aclocal/ost_check2.m4 /usr/share/info/commoncpp2.info.bz2Upravuju CMakeLists.txt:
vim ~/.emacs
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.