← Back to team overview

kicad-developers team mailing list archive

Commit 0a829c328e90f550994a7660b310630a5aa02361 not compiling ("undefined reference to `PgmOrNull()'")

 

Hello,

Latest commit (master branch) is not compiling giving an
"undefined reference to `PgmOrNull()'" error during make

I tried also using:
git clean-fx
make clean
cmake ../
make -j7

may be something is missing from the commit?

Platform: Debian Linux.
Commit 0a829c328e90f550994a7660b310630a5aa02361.

Full error Message:

../../../common/libpcbcommon.a(class_board.cpp.o): In function `BOARD::ComputeBoundingBox(bool) const':
class_board.cpp:(.text+0x1ec9): undefined reference to `PgmOrNull()'
class_board.cpp:(.text+0x1ed7): undefined reference to `PgmOrNull()'
../../../common/libpcbcommon.a(class_board.cpp.o): In function `BOARD::ComputeBoundingBox(bool) const [clone .constprop.440]': class_board.cpp:(.text._ZNK5BOARD18ComputeBoundingBoxEb.constprop.440[_ZNK5BOARD14GetBoundingBoxEv]+0x2d6): undefined reference to `PgmOrNull()' class_board.cpp:(.text._ZNK5BOARD18ComputeBoundingBoxEb.constprop.440[_ZNK5BOARD14GetBoundingBoxEv]+0x2e4): undefined reference to `PgmOrNull()'
collect2: error: ld returned 1 exit status
qa/gal/gal_pixel_alignment/CMakeFiles/test_gal_pixel_alignment.dir/build.make:328: recipe for target 'qa/gal/gal_pixel_alignment/test_gal_pixel_alignment' failed
make[2]: *** [qa/gal/gal_pixel_alignment/test_gal_pixel_alignment] Error 1
CMakeFiles/Makefile2:4060: recipe for target 'qa/gal/gal_pixel_alignment/CMakeFiles/test_gal_pixel_alignment.dir/all' failed make[1]: *** [qa/gal/gal_pixel_alignment/CMakeFiles/test_gal_pixel_alignment.dir/all] Error 2
Makefile:149: recipe for target 'all' failed



Cheers, Dino


Follow ups