Menu

Build error in qucs-core.

Help
Polarina
2009-03-08
2012-12-15
  • Polarina

    Polarina - 2009-03-08

    I would very much like to get some assistance with this. I checked out the CVS at approximately 2009-03-08 15:00:00 UTC and I'm getting this error when executing 'make' in qucs-core:

    <trash, trash, trash, etc.>
    mv -f .deps/digisource.Tpo .deps/digisource.Po
    g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -I../../../src/math -I../../../src/components    -O2 -pipe -fno-exceptions -fno-rtti -fno-check-new -MT buffer.o -MD -MP -MF .deps/buffer.Tpo -c -o buffer.o buffer.cpp
    mv -f .deps/buffer.Tpo .deps/buffer.Po
    rm -f libdigital.a
    ar cru libdigital.a digital.o inverter.o nor.o or.o nand.o and.o xnor.o xor.o digisource.o buffer.o
    ranlib libdigital.a
    make[4]: Leaving directory `/home/polarina/qucs/qucs-core/src/components/digital'
    Making all in verilog
    make[4]: Entering directory `/home/polarina/qucs/qucs-core/src/components/verilog'
    make[4]: *** No rule to make target `HBT_X.analogfunction.o', needed by `libverilog.a'.  Stop.
    make[4]: Leaving directory `/home/polarina/qucs/qucs-core/src/components/verilog'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/home/polarina/qucs/qucs-core/src/components'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/polarina/qucs/qucs-core/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/polarina/qucs/qucs-core'
    make: *** [all] Error 2

     
    • Jonas

      Jonas - 2009-03-13

      Hello

      I remember I had the same problem some time ago.
      I just installed qucs from cvs today and I didn't find any problems.
      I think you are missing some packages. Here are the packages related to verilog that are installed in my computer.
      gplcver
      vbpp
      verilog

       
    • Jonas

      Jonas - 2009-03-13

      I forget to tell that there was also libgtksourceview-common that was related to verilog, and I noticed that by removing (with purging) this package I get the same error than you. I reinstall it, and then I strangely still get the same error !!!
      To solve that I completely removed the qucs-core directory and redownloaded it (make clean seems to be not enough), then I launched :
      # sh autogen.sh
      Then I didn't launch ./configure because I would get the error when I would run make. So if you need to change some options (for example the prefix) they need to be passed to autogen.sh.
      After that I didn't have any problem while running make.

      Bye
      Jonas

       
    • Falk

      Falk - 2009-04-06

      I have a similar problem.
      (CVS checked out yesterday)

      ...
      Making all in verilog
      make[4]: Entering directory `/home/user/qucs/qucs-core/src/components/verilog'
      /usr/local/bin/admsXml fbh_hbt-2_2a.va -e analogfunction.xml
      [info...] admsXml-2.2.8 (761:855M) Apr  5 2009 21:25:34
      [fatal..] adms version too old (requested: 2.3.0 installed: 2.2.8)
      [fatal..] see [./analogfunction.xml:18]
      make[4]: *** [HBT_X.analogfunction.cpp] Error 1
      make[4]: Leaving directory `/home/user/qucs/qucs-core/src

      It seems that adms-2.3.0 is not released?
      Which version of ADMS do you have installed?

      Bye
      Falk

       
      • Stefan Jahn

        Stefan Jahn - 2009-04-08

        Hello!
        For building CVS we need ADMS 2.3.0 which is not yet released.  I am currently using the SVN version.

        Cheers, Stefan.

         
    • Stefan Jahn

      Stefan Jahn - 2009-04-08

      Hi again!
      Also, when doing CVS builds, you are required to
        $ sh autogen.sh
      But at least you need to pass --enable-maintainer-mode to
        $ ./configure
      Hope this helps, Stefan.

       
    • Falk

      Falk - 2009-04-09

      Hi Stefan,

      ADMS 2.3.0 is hard to compile - I'm still working on it.

      Thanks
      Falk

       
      • Stefan Jahn

        Stefan Jahn - 2009-04-09

        Hi Falk, just
        $ sh autogen.sh
        then
        $ make
        worked for me fine...
        Regards, Stefan.

         
    • Falk

      Falk - 2009-04-10

      Hi Stefan,

      I have done:

      #svn co https://mot-adms.svn.sourceforge.net/svnroot/mot-adms/trunk/adms adms

      => Checked out revision 1180.

      #sh autogen.sh
      =>

      Creating aclocal.m4... done.
      Creating config.h.in... done.
      Libtoolizing... Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL'
      Putting files in AC_CONFIG_AUX_DIR, `auxconf'.
      /usr/bin/libtoolize: line 347: cd: auxconf: No such file or directory
      done.
      Creating Makefile.in(s)... configure.ac:491: required directory ./auxconf does not exist
      configure.ac:570: required file `auxconf/config.guess' not found
      configure.ac:570:   `automake --add-missing' can install `config.guess'
      configure.ac:570: required file `auxconf/config.sub' not found
      configure.ac:570:   `automake --add-missing' can install `config.sub'
      configure.ac:506: required file `auxconf/install-sh' not found
      configure.ac:506:   `automake --add-missing' can install `install-sh'
      configure.ac:512: required file `auxconf/missing' not found
      configure.ac:512:   `automake --add-missing' can install `missing'
      admsXml/Makefile.am: required file `auxconf/depcomp' not found
      admsXml/Makefile.am:   `automake --add-missing' can install `depcomp'
      configure.ac: required file `auxconf/ylwrap' not found
      configure.ac:   `automake --add-missing' can install `ylwrap'
      Makefile.am: required file `./ChangeLog' not found
      configure.ac:570: required file `auxconf/ltmain.sh' not found
      done.
      Creating configure... done.
      Running ./configure --enable-maintainer-mode  ...
      configure: error: cannot find install-sh or install.sh in auxconf "."/auxconf

      because of that I tryed the long way from /adms/README
      not using  cygwin environment, but a debian

      README:

      5- For developers (using the cygwin environment)
        Here is how I create the compilation environment after checking out adms from
        the CVS repository:
        0- run: autoheader (create autom4te.cache/config-h.in from configure.in)
        1- run: mkdir auxconf (create directory auxconf)
        2- run: aclocal (create aclocal.m4 from configure.in)
        3- run: libtoolize --force --ltdl -c (create libltdl and config.guess, config.sub, ltmain.sh in auxconf)
        4- run: automake -a -c (create missing, mkinstalldirs, install-sh in auxconf and all Makefile.in)
        5- run: autoconf (create configure)
        6- run: ./configure --enable-maintainer-mode

      because  ChangeLog does not exist

      #touch ChangeLog

      now everything is fine, BUT

      #make
      =>
      ...
      gcc -DHAVE_CONFIG_H -I. -I.. -DinsideadmstpathYacc -g -O2 -Wall -MT libadmsAdmstpath_la-admstpathYacc.lo -MD -MP -MF .deps/libadmsAdmstpath_la-admstpathYacc.Tpo -c admstpathYacc.c  -fPIC -DPIC -o .libs/libadmsAdmstpath_la-admstpathYacc.o
      admstpathYacc.y: In function ‘tparsecb’:
      admstpathYacc.y:13501: error: ‘tktk_cquote’ undeclared (first use in this function)
      admstpathYacc.y:13501: error: (Each undeclared identifier is reported only once
      admstpathYacc.y:13501: error: for each function it appears in.)
      admstpathYacc.y:13506: error: ‘tktk_anytext’ undeclared (first use in this function)
      admstpathYacc.y:13508: error: ‘tktk_percents’ undeclared (first use in this function)
      admstpathYacc.y:13518: error: ‘tktk_percent’ undeclared (first use in this function)
      admstpathYacc.y:13528: error: ‘tktk_cr’ undeclared (first use in this function)
      admstpathYacc.y:13532: error: ‘tktk_tab’ undeclared (first use in this function)
      admstpathYacc.y: In function ‘admstpathlex’:
      ...

      # libtoolize --version
      =>libtoolize (GNU libtool) 1.5.26

      Do you have any idea what is wrong?

      Bye
      Falk

       
    • Falk

      Falk - 2009-04-11

      Hi Stefan,

      I have done:

      #svn co https://mot-adms.svn.sourceforge.net/svnroot/mot-adms/trunk/adms adms

      => Checked out revision 1180.

      #sh autogen.sh
      =>

      Creating aclocal.m4... done.
      Creating config.h.in... done.
      Libtoolizing... Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL'
      Putting files in AC_CONFIG_AUX_DIR, `auxconf'.
      /usr/bin/libtoolize: line 347: cd: auxconf: No such file or directory
      done.
      Creating Makefile.in(s)... configure.ac:491: required directory ./auxconf does not exist
      configure.ac:570: required file `auxconf/config.guess' not found
      configure.ac:570:   `automake --add-missing' can install `config.guess'
      configure.ac:570: required file `auxconf/config.sub' not found
      configure.ac:570:   `automake --add-missing' can install `config.sub'
      configure.ac:506: required file `auxconf/install-sh' not found
      configure.ac:506:   `automake --add-missing' can install `install-sh'
      configure.ac:512: required file `auxconf/missing' not found
      configure.ac:512:   `automake --add-missing' can install `missing'
      admsXml/Makefile.am: required file `auxconf/depcomp' not found
      admsXml/Makefile.am:   `automake --add-missing' can install `depcomp'
      configure.ac: required file `auxconf/ylwrap' not found
      configure.ac:   `automake --add-missing' can install `ylwrap'
      Makefile.am: required file `./ChangeLog' not found
      configure.ac:570: required file `auxconf/ltmain.sh' not found
      done.
      Creating configure... done.
      Running ./configure --enable-maintainer-mode  ...
      configure: error: cannot find install-sh or install.sh in auxconf "."/auxconf

      because of that I tryed the long way from /adms/README
      not using  cygwin environment, but a debian

      README:

      5- For developers (using the cygwin environment)
        Here is how I create the compilation environment after checking out adms from
        the CVS repository:
        0- run: autoheader (create autom4te.cache/config-h.in from configure.in)
        1- run: mkdir auxconf (create directory auxconf)
        2- run: aclocal (create aclocal.m4 from configure.in)
        3- run: libtoolize --force --ltdl -c (create libltdl and config.guess, config.sub, ltmain.sh in auxconf)
        4- run: automake -a -c (create missing, mkinstalldirs, install-sh in auxconf and all Makefile.in)
        5- run: autoconf (create configure)
        6- run: ./configure --enable-maintainer-mode

      because  ChangeLog does not exist

      #touch ChangeLog

      now everything is fine, BUT

      #make
      =>
      ...
      gcc -DHAVE_CONFIG_H -I. -I.. -DinsideadmstpathYacc -g -O2 -Wall -MT libadmsAdmstpath_la-admstpathYacc.lo -MD -MP -MF .deps/libadmsAdmstpath_la-admstpathYacc.Tpo -c admstpathYacc.c  -fPIC -DPIC -o .libs/libadmsAdmstpath_la-admstpathYacc.o
      admstpathYacc.y: In function ‘tparsecb’:
      admstpathYacc.y:13501: error: ‘tktk_cquote’ undeclared (first use in this function)
      admstpathYacc.y:13501: error: (Each undeclared identifier is reported only once
      admstpathYacc.y:13501: error: for each function it appears in.)
      admstpathYacc.y:13506: error: ‘tktk_anytext’ undeclared (first use in this function)
      admstpathYacc.y:13508: error: ‘tktk_percents’ undeclared (first use in this function)
      admstpathYacc.y:13518: error: ‘tktk_percent’ undeclared (first use in this function)
      admstpathYacc.y:13528: error: ‘tktk_cr’ undeclared (first use in this function)
      admstpathYacc.y:13532: error: ‘tktk_tab’ undeclared (first use in this function)
      admstpathYacc.y: In function ‘admstpathlex’:
      ...

      # libtoolize --version
      =>libtoolize (GNU libtool) 1.5.26

      Do you have any idea what is wrong?

      Bye
      Falk

       
      • Sebastian Held

        Sebastian Held - 2009-05-25

        You are using bison-2.4, aren't you?
        Downgrade to version 2.3 and it will work.
        Do not use parallel make.

        Sebastian

         

Log in to post a comment.

MongoDB Logo MongoDB