error while installing

Discussion in 'C' started by calvinlyp, Jun 9, 2009.

  1. calvinlyp

    calvinlyp New Member

    Joined:
    Jun 4, 2009
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    hi all,

    i am getting an error when installing a software.

    source='zm.cpp' object='zm.o' libtool=no \
    depfile='.deps/zm.Po' tmpdepfile='.deps/zm.TPo' \
    depmode=gcc3 /bin/bash ../conftools/depcomp \
    g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -c -o zm.o `test -f 'zm.cpp' || echo './'`zm.cpp
    In file included from /usr/include/c++/4.3/clocale:48,
    from /usr/include/c++/4.3/i486-linux-gnu/bits/c++locale.h:47,
    from /usr/include/c++/4.3/bits/localefwd.h:47,
    from /usr/include/c++/4.3/string:50,
    from ./serial.h:60,
    from zm.cpp:39:
    /usr/include/locale.h:125: error: expected unqualified-id before ‘throw’
    /usr/include/locale.h:125: error: expected initializer before ‘throw’
    In file included from /usr/include/c++/4.3/i486-linux-gnu/bits/c++locale.h:47,
    from /usr/include/c++/4.3/bits/localefwd.h:47,
    from /usr/include/c++/4.3/string:50,
    from ./serial.h:60,
    from zm.cpp:39:
    /usr/include/c++/4.3/clocale:60: error: ‘::setlocale’ has not been declared
    In file included from zm.cpp:39:

    is there anyway i can solve the problem for
    "/usr/include/c++/4.3/clocale:60: error: ‘::setlocale’ has not been declared"

    pls advise.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice