Menu

#830 Ngspice-45.2 Build Failure On Linux. Ngnutmeg Undefined References

v1.0 (example)
open
nobody
None
5
2026-02-22
2026-02-22
F Russell
No

Ngspice-45.2 fails to build on Linux. The failure seems to ocurr during the compilation of ngnutmeg. A series of "undefined references" is reported:

/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: ngnutmeg-main.o: in function sp_shutdown': main.c:(.text+0x3b): undefined reference toIsCiderLoaded'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: frontend/.libs/libfte.a(breakp.o): in function com_stop': breakp.c:(.text+0x762): undefined reference toCKTsetBreak'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: frontend/.libs/libfte.a(inp.o): in function inp_spsource': inp.c:(.text+0x28b6): undefined reference toinputdir'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: inp.c:(.text+0x28cb): undefined reference to inputdir' /usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: inp.c:(.text+0x3227): undefined reference toinputdir'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: inp.c:(.text+0x3244): undefined reference to inputdir' /usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: frontend/.libs/libfte.a(resource.o): in functionprintres':
resource.c:(.text+0x769): undefined reference to `DEVices'

[remainder of error messages is omitted]

This is probably the result of a missing include file in one the source files. Because I am not familiar with the ngspice source code I can make no further comments.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB