can not install SDCC in RHEL5

Help
owyong
2012-09-11
2015-11-20
  • owyong

    owyong - 2012-09-11

    HI all,

    I try to download the source code from the web and compile it using RHEL5, it can complete compile, but somehow when i try to install it i encounter the error

    /usr/lib/gcc/x86_64-red-hat-linux/3.4.6/../../../include/c++/3.4.6/bits/stl_function.h: 227: error no match for 'operator<' in '__x < __y'
    make: ***  Error 1
    make: *** Leaving directory 'tmp/kelp1/user_accts/owyong/sdcc/src'
    make: ***  Error 2

    can anyone explain to me what had happen? and how to fix it in order to proceed? i am new in this… thanks you all very much

     
  • alexander_holland

    I've just come across the same problem in RHEL5 when trying to compile SDCC 3.5.0 source

    SDCClospre.hpp:745: instantiated from here
    /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_function.h:227: error: no match for 'operator<' in 'x < y'
    make[1]: *** [SDCClospre.o] Error 1

    Anyone have any clues?

     
    Last edit: alexander_holland 2015-11-20

Log in to post a comment.