Vinicius Monego skribis: >> In particular the /gnu/store/...-libngspice-34/include/config.h >> seems suspicious. > > Good catch. Indeed, that file should be removed. > > Kicad takes a long time to build on my machine. I am attaching a diff > that removes config.h and should fix the compilation if anyone can > confirm. I tried applying your diff and with it kicad compiles fine and works. Could you send a formatted patch?