Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

0.27.1 compile error on OS X

Help
2005-07-31
2013-03-21
  • Hello,
    I'm unable to compile the 0.27.1 version on my 10.4 box. I tried using gcc 3.3 and 4.0 but I get the same errors :

    $ make
    g++ -g -O2 -Wall -MMD -MP -DHAVE_CONFIG_H -Iuulib   -c -o nget.o nget.cc
    In file included from cache.h:31,
                     from prot_nntp.h:26,
                     from nget.cc:48:
    file.h:96: error: integer constant is too large for 'long' type
    file.h:96: error: integer constant is too large for 'long' type
    file.h:96: error: integer constant is too large for 'long' type
    file.h:96: error: integer constant is too large for 'long' type
    file.h: In member function 'void c_file::read_le_u64(uint64_t*)':
    file.h:96: error: 'UINT64_C' was not declared in this scope
    make: *** [nget.o] Error 1

    It seems to be big endian related, but I'm not good enough at compiling to figure out what's wrong.

    I didn't run into errors with 0.26 and 0.27.

    Any idea ?

     
    • A precision, 0.27 or 0.26 doesn't compile anymore. 10.4 seems to be the trouble. (I'm using 10.4.2 precisly).

      Anyone get it working on this OS ?

       
    • I commented lines 95/96/97 in file.h and it seems to work now.