1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

error while installing

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

  1. calvinlyp

    calvinlyp New Member

    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