← Back to team overview

kicad-developers team mailing list archive

Some linker errors, and question about qa

 

I get some linker errors:

[3/3] Linking CXX executable qa/drc_proto/drc_proto
FAILED: qa/drc_proto/drc_proto
...
/usr/bin/ld:
qa/drc_proto/CMakeFiles/drc_proto.dir/__/pcbnew_utils/board_file_utils.cpp.o:
in function `KI_TEST::DumpBoardToFile(BOARD&,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)':
/work/ohjelmointi/kicad/kicad-master/qa/pcbnew_utils/board_file_utils.cpp:40:
undefined reference to `PCB_IO::PCB_IO(int)'
/usr/bin/ld:
/work/ohjelmointi/kicad/kicad-master/qa/pcbnew_utils/board_file_utils.cpp:41:
undefined reference to `PCB_IO::Save(wxString const&, BOARD*, PROPERTIES
const*)'
/usr/bin/ld:
/work/ohjelmointi/kicad/kicad-master/qa/pcbnew_utils/board_file_utils.cpp:40:
undefined reference to `PCB_IO::~PCB_IO()'
/usr/bin/ld:
/work/ohjelmointi/kicad/kicad-master/qa/pcbnew_utils/board_file_utils.cpp:40:
undefined reference to `PCB_IO::~PCB_IO()'
/usr/bin/ld: common/libpcbcommon.a(io_mgr.cpp.o): in function
`{lambda()#2}::operator()() const':
/work/ohjelmointi/kicad/kicad-master/pcbnew/io_mgr.cpp:209: undefined
reference to `PCB_IO::PCB_IO(int)'



What might be the reason?

BTW, why does it link anything under qa at all while I don't have
KICAD_BUILD_QA_TESTS enabled? I'm not sure what the qa subdir should do,
but I don't think I need or want it.

Eeli Kaikkonen

Follow ups