[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-bug: ngspice - Undefined reference to history_file



The bug report on Sourceforge says fixed but I had problems building from cvs with gcc 4.4.2 on linux. Gcc complains of undefined reference to history_file in byemesg() in misccoms.c.
The way I got around it was to swap things around and put the definition of history_file in misccoms.c and the extern declaration in app_rl_readlines() in main.c. Once I did that everything compiled ok. I'm guessing it's down to the order that gcc looks at the files so while it's looking at misccoms.c it hasn't yet seen main.c.


_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug