Bioinformatics.org
[University of Birmingham]
[Patsnap]
Not logged in
  • Log in
  • Bioinformatics.org
    Membership (44441+) Group hosting [?] Wiki
    Franklin Award
    Sponsorships

    Careers
    About bioinformatics
    Bioinformatics jobs

    Research
    All information groups
    Online databases Online analysis tools Online education tools More tools

    Development
    All software groups
    FTP repository
    SVN & CVS repositories [?]
    Mailing lists

    Forums
    News & Commentary
  • Submit
  • Archives
  • Subscribe

  • Jobs Forum
    (Career Center)
  • Submit
  • Archives
  • Subscribe
  • Ghemical: Molecular modelling - Support tickets

    Submit | Open tickets | Closed tickets

    [ Ticket #142 ] __const not defined at target3/t3main.cpp
    Date:
    03/06/03 10:38
    Submitted by:
    unset
    Assigned to:
    unset
    Category:
    Compilation/Installation
    Priority:
    5
    Ticket group:
    Fixed
    Resolution:
    Unset
    Summary:
    __const not defined at target3/t3main.cpp
    Original submission:
    Compiling with enable_mpqc and SC_CONFIG=/usr/local/mpqc/2.1.3/bin/sc-config
    in a redhat 8.0 intel machine

    Many compiling errors only in target3 files.


    Problems with include files at target3 files. This is a briefing of the error while compiling ...

    g++ -c -g -O2 -fno-exceptions -I../../src/target3/glade -I../../src/target3 -I../../src/graphics -I../../src/common -I../../openbabel -I/usr/home/pedro/software/Chem/Ghemical/ghemical-1.50alpha/src -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-xml -I/usr/include/libglade-1.0 -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/local/mpqc/2.1.3/include ./t3main.cpp
    In file included from /usr/include/c++/3.2/i386-redhat-linux/bits/c++locale.h:39,
    from /usr/include/c++/3.2/bits/localefwd.h:46,
    from /usr/include/c++/3.2/ios:48,
    from /usr/include/c++/3.2/ostream:45,
    from /usr/include/c++/3.2/iostream:45,
    from ../../src/common/typedef.h:22,
    from ../../src/common/v3d.h:17,
    from ../../src/graphics/objects.h:32,
    from ../../src/graphics/camera.h:34,
    from ../../src/graphics/mtools.h:42,
    from ../../src/graphics/views.h:39,
    from t3views.h:28,
    from t3main.h:19,
    from t3main.cpp:10:
    /usr/include/libintl.h:40: parse error before `__const'
    /usr/include/libintl.h:44: parse error before `__const'
    /usr/include/libintl.h:52: parse error before `__const'
    /usr/include/libintl.h:81: parse error before `__const'
    /usr/include/libintl.h:86: parse error before `__const'
    In file included from /usr/include/c++/3.2/backward/strstream:51,
    from t3main.cpp:24:
    /usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
    make: *** [t3main.o] Error 1

    etc.


    Another problem in glade subdirectory

    g++ -c -g -O2 -fno-exceptions -I../../../src/target3 -I../../../src/graphics -I../../../src/common -I../../../openbabel -I/usr/home/pedro/software/Chem/Ghemical/ghemical-1.50alpha/src -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-xml -I/usr/include/libglade-1.0 -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include ./setup_druid.cpp
    In file included from /usr/include/gnome-1.0/libgnome/libgnome.h:28,
    from /usr/include/gnome-1.0/gnome.h:16,
    from ../../../src/target3/t3views.h:26,
    from ../../../src/target3/t3project.h:22,
    from setup_druid.h:14,
    from setup_druid.cpp:10:
    /usr/include/gnome-1.0/libgnome/gnome-i18n.h:31:1: warning: "gettext" redefined
    In file included from /usr/include/c++/3.2/i386-redhat-linux/bits/c++locale.h:39,
    from /usr/include/c++/3.2/bits/localefwd.h:46,
    from /usr/include/c++/3.2/ios:48,
    from /usr/include/c++/3.2/ostream:45,
    from /usr/include/c++/3.2/iostream:45,
    from ../../../src/common/typedef.h:22,
    from ../../../src/common/atom.h:25,
    from ../../../src/common/seqbuild.h:27,
    from ../../../src/common/model.h:36,
    from ../../../src/graphics/project.h:39,
    from ../../../src/target3/t3project.h:21,
    from setup_druid.h:14,
    from setup_druid.cpp:10:
    /usr/include/libintl.h:108:1: warning: this is the location of the previous definition
    In file included from /usr/include/gnome-1.0/libgnome/libgnome.h:28,
    from /usr/include/gnome-1.0/gnome.h:16,
    from ../../../src/target3/t3views.h:26,
    from ../../../src/target3/t3project.h:22,
    from setup_druid.h:14,
    /usr/include/gnome-1.0/libgnome/gnome-i18n.h:32:1: warning: "dgettext" redefined
    In file included from /usr/include/c++/3.2/i386-redhat-linux/bits/c++locale.h:39,
    from /usr/include/c++/3.2/bits/localefwd.h:46,
    from /usr/include/c++/3.2/ios:48,
    from /usr/include/c++/3.2/ostream:45,
    from /usr/include/c++/3.2/iostream:45,
    from ../../../src/common/typedef.h:22,
    from ../../../src/common/atom.h:25,
    from ../../../src/common/seqbuild.h:27,
    from ../../../src/common/model.h:36,
    from ../../../src/graphics/project.h:39,
    from ../../../src/target3/t3project.h:21,
    from setup_druid.h:14,
    from setup_druid.cpp:10:
    /usr/include/libintl.h:110:1: warning: this is the location of the previous definition
    In file included from ../../../src/common/eng2_qm_mm.h:24,
    from setup_druid.cpp:14:
    ../../../src/common/eng1_qm_mpqc.h:26:58: util/keyval/keyval.h: No such file or directory
    ../../../src/common/eng1_qm_mpqc.h:28:62: util/group/message.h: No such file or directory
    ../../../src/common/eng1_qm_mpqc.h:29:61: util/group/thread.h: No such file or directory
    ../../../src/common/eng1_qm_mpqc.h:31:67: chemistry/molecule/energy.h: No such file or directory
    ../../../src/common/eng1_qm_mpqc.h:32:71: chemistry/qc/wfn/obwfn.h: No such file or directory
    ../../../src/common/eng1_qm_mpqc.h:33:64: chemistry/qc/wfn/wfn.h: No such file or directory
    ../../../src/common/eng1_qm_mpqc.h:35:60: math/scmat/abstract.h: No such file or directory
    In file included from ../../../src/common/eng2_qm_mm.h:24,
    from setup_druid.cpp:14:
    ../../../src/common/eng1_qm_mpqc.h:39: namespace `sc' undeclared
    ../../../src/common/eng1_qm_mpqc.h:76: `MessageGrp' was not declared in this
    scope
    ../../../src/common/eng1_qm_mpqc.h:76: 'Ref' is used as a type, but is not
    defined as a type.
    ../../../src/common/eng1_qm_mpqc.h:77: `ThreadGrp' was not declared in this
    scope
    ../../../src/common/eng1_qm_mpqc.h:79: 'Ref' is used as a type, but is not
    defined as a type.
    ../../../src/common/eng1_qm_mpqc.h:80: `KeyVal' was not declared in this scope
    ../../../src/common/eng1_qm_mpqc.h:80: 'Ref' is used as a type, but is not
    defined as a type.
    ../../../src/common/eng1_qm_mpqc.h:82: `MolecularEnergy' was not declared in
    this scope
    ../../../src/common/eng1_qm_mpqc.h:82: 'Ref' is used as a type, but is not
    defined as a type.
    ../../../src/common/eng1_qm_mpqc.h:84: `OneBodyWavefunction' was not declared
    in this scope
    ../../../src/common/eng1_qm_mpqc.h:84: 'Ref' is used as a type, but is not
    defined as a type.
    ../../../src/common/eng1_qm_mpqc.h:85: `Wavefunction' was not declared in this
    scope
    ../../../src/common/eng1_qm_mpqc.h:85: 'Ref' is used as a type, but is not
    defined as a type.
    In file included from /usr/include/c++/3.2/backward/strstream:51,
    from setup_druid.cpp:24:
    /usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
    make: *** [setup_druid.o] Error 1


    Please log in to add comments and receive followups via email.
    Followups
    Comment Date By
    Nice Site!
    http://google.com
    06/21/08 20:36 unset
    No results for "Dependent on ticket"
    No results for "Dependent on Task"
    No other tickets are dependent on this ticket
    Ticket change history
    Field Old value Date By
    status_id Unset 03/30/06 16:31 hutchisn
    bug_group_id Unset 03/30/06 16:31 hutchisn
    close_date 12/31/69 19:00 03/30/06 16:31 hutchisn

     

    Copyright © 2024 Scilico, LLC · Privacy Policy