Thanks, this works well with ../configure --with-x --with-readline=yes CFLAGS="-O2 -std=c99"
I make ngspice on my ubuntu wmare. When I make ngspice, I got the error: string.c:(.text+0x512): undefined reference to `controlled_exit' collect2: error: ld returned 1 exit status make[3]: [test_cx_mag] Error 1 make[2]: [all-recursive] Error 1 make[1]: [all-recursive] Error 1 make: [all-recursive] Error 1 How can I fix this?