This topic contains 1 reply, has 0 voices, and was last updated by  kowal 9 years, 4 months ago.

  • Author
    Posts
  • #6526

    kowal
    Participant
    In file included from ./main.cpp:34:
    ../common/main.h: In function ‘void _no_storage()’:
    ../common/main.h:43: error: ‘exit’ is not a member of ‘std’

    pass midnight here and my brain refused to work properly but i think this had something to do with gcc43-c++

    any ideas?

    #52033

    PeanutsRevenge
    Participant

    yea, its the Gcc thing if I remeber from when I compiled on Suse 11 the other week.

    I had to manually install all the compiling dependancies as for some bizarre reason there is not the option while installing.

    #52034

    kowal
    Participant

    fixed.

    --- src/common/main.h.orig	2007-10-17 22:34:08.000000000 +0700
    +++ src/common/main.h 2008-06-24 22:47:28.000000000 +0700
    @@ -21,6 +21,8 @@
    #define WIN32_LEAN_AND_MEAN

    #include
    +#include
    +#include

    #ifdef HAVE_UNISTD_H
    #include
    --- src/common/sha2.h.orig 2007-07-08 20:53:31.000000000 +0700
    +++ src/common/sha2.h 2008-06-24 22:50:14.000000000 +0700
    @@ -46,6 +46,7 @@

    #include
    #include
    +#include

    // NOTE: You may need to define things by hand for your system:
    typedef unsigned char sha_byte; // Exactly 1 byte
    --- src/common/DefinesFile.cpp.orig 2006-12-04 09:56:24.000000000 +0700
    +++ src/common/DefinesFile.cpp 2008-06-24 22:51:39.000000000 +0700
    @@ -21,6 +21,7 @@
    #include
    #include
    #include
    +#include
    #include
    #include
    #include
    --- src/common/LoggerI.cpp.orig 2007-06-08 22:39:32.000000000 +0700
    +++ src/common/LoggerI.cpp 2008-06-24 22:53:06.000000000 +0700
    @@ -20,6 +20,7 @@

    #include
    #include
    +#include

    LoggerInfo::LoggerInfo(
    const char *message,
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.