#215 error during make

closed-fixed
None
5
2012-10-08
2012-09-27
Anonymous
No

i ran "configure --program-suffix=01 --enable-sense2 --enable-pss --enable-xgraph --enable-dependency-tracking --with-readline=yes --with-x --enable-openmp " to configure and then ran "make". Then got the following errors " error: 'save' undeclared (first use in this function)" and " error: 'save1' undeclared (first use in this function)", also " warning: suggest parentheses around assignment used as truth value [-Wparentheses]"
What should i do to compile it correctly?

Discussion

  • Nobody/Anonymous

     
    Attachments
  • Holger Vogt

    Holger Vogt - 2012-09-27
    • assigned_to: nobody --> h_vogt
    • status: open --> open-rejected
     
  • Holger Vogt

    Holger Vogt - 2012-09-27

    What is missing in your post:
    ngspice version
    operating system

    To answer your question:
    Please have a look at the file INSTALL or better at the ngapice manual for compiling instructions.

    Every argument deviating from the standard
    (LINUX: ./configure --with-x --disable-debug --with-readline=yes --enable-xspice --enable-cider --enable-openmp)
    may or may not work, is not supported and not considered a bug if not working. You have to know what you are doing, when choosing any other configure options!

    Holger

     
  • Holger Vogt

    Holger Vogt - 2012-09-27

    Robert has made an update to the ngspice sources in git. If you download the update, it will compile correctly with --enable-sens2. Still I do not know what this option is good for.

    Maybe you figure it out and tell us?

    Regards

    Holger

     
  • Holger Vogt

    Holger Vogt - 2012-09-27
    • status: open-rejected --> open-fixed
     
  • Holger Vogt

    Holger Vogt - 2012-10-08
    • status: open-fixed --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks