Bioinformatics.org
[Regeneron]
Not logged in
  • Log in
  • Bioinformatics.org
    Membership (41338+) Group hosting [?] Wiki
    Franklin Award
    Sponsorships

    Careers
    About bioinformatics
    Bioinformatics training
    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 #74 ] Alpha port: f2c.h line 253 "#undef unix" predefined
    Date:
    11/29/01 12:59
    Submitted by:
    robertthebob
    Assigned to:
    unset
    Category:
    Compilation/Installation
    Priority:
    5
    Ticket group:
    Need to Fix
    Resolution:
    Unset
    Summary:
    Alpha port: f2c.h line 253 "#undef unix" predefined
    Original submission:
    Porting to Compaq cxx on Linux Alpha...

    make[1]: Entering directory `/md1/usr/local/src/ghemical-0.81/src/common'
    /usr/bin/cxx -DPRIMARY_PATH="/usr/local/share/ghemical/" -DFORMAT_PATH="/usr/local/share/ghemical/0.81" -c -g -I../../src/graphics -I../../src/common -I../../oelib -I/usr/local/src/ghemical-0.81/src ./qm1e_mopac.cpp
    cxx: Error: /usr/include/f2c.h, line 253: #undef may not be used on this
    predefined namemake[1]: Entering directory `/md1/usr/local/src/ghemical-0.81/src/common'
    /usr/bin/cxx -DPRIMARY_PATH="/usr/local/share/ghemical/" -DFORMAT_PATH="/usr/local/share/ghemical/0.81" -c -g -I../../src/graphics -I../../src/common -I../../oelib -I/usr/local/src/ghemical-0.81/src ./qm1e_mopac.cpp
    cxx: Error: /usr/include/f2c.h, line 253: #undef may not be used on this
    predefined name
    #undef unix
    -------^
    cxx: Info: 1 error detected in the compilation of "./qm1e_mopac.cpp".
    make[1]: *** [qm1e_mopac.o] Error 1
    _________________________________________________
    My ugly quick fix:
    copy /usr/include/f2c.h to src/common and comment "#undef unix" line.
    #undef unix
    -------^
    cxx: Info: 1 error detected in the compilation of "./qm1e_mopac.cpp".
    make[1]: *** [qm1e_mopac.o] Error 1

    copy /usr/include/f2c.h to src/common and comment "#undef unix" line.
    Please log in to add comments and receive followups via email.
    No followups have been posted
    No results for "Dependent on ticket"
    No results for "Dependent on Task"
    No other tickets are dependent on this ticket
    No changes have been made to this ticket

     

    Copyright © 2019 · Scilico, LLC