Skip to content
Snippets Groups Projects
Closed (moved) Tor 0.3.3.6 fails to compile under cygwin (x86_64)
  • View options
  • Tor 0.3.3.6 fails to compile under cygwin (x86_64)

  • View options
  • Closed (moved) Issue created by Georg Koppen

    From the 0.3.3.6 blog post's comments (https://blog.torproject.org/comment/275501#comment-275501):

    I try to build latest tor 0.3.3.6 from source under "x86_64 Cygwin".
    Earlier versions did compile, I'm running now "Tor version 0.3.2.9 (git-9e8b762fcecfece6)."
    
    Compilation now Fails with the following erros:
    
    make all-am
    make[1]: Entering directory '/cygdrive/f/tor-0.3.3.6'
    CC src/ext/ed25519/ref10/src_ext_ed25519_ref10_libed25519_ref10_a-fe_0.o
    In file included from src/ext/ed25519/ref10/crypto_int32.h:6,
    from src/ext/ed25519/ref10/fe.h:4,
    from src/ext/ed25519/ref10/fe_0.c:1:
    ./src/common/torint.h:214:2: error: #error "Can't define ssize_t."
    #error "Can't define ssize_t."
    ^~~~~
    ./src/common/torint.h:237:2: error: #error "void * is either >8 bytes or <= 2. In either case, I am confused."
    #error "void * is either >8 bytes or <= 2. In either case, I am confused."
    ^~~~~
    ./src/common/torint.h:241:2: error: #error "Missing type int8_t"
    #error "Missing type int8_t"
    ^~~~~
    ./src/common/torint.h:244:2: error: #error "Missing type uint8_t"
    #error "Missing type uint8_t"
    ^~~~~
    ./src/common/torint.h:247:2: error: #error "Missing type int16_t"
    #error "Missing type int16_t"
    ^~~~~
    ./src/common/torint.h:250:2: error: #error "Missing type uint16_t"
    #error "Missing type uint16_t"
    ^~~~~
    ./src/common/torint.h:253:2: error: #error "Missing type int32_t"
    #error "Missing type int32_t"
    ^~~~~
    ./src/common/torint.h:256:2: error: #error "Missing type uint32_t"
    #error "Missing type uint32_t"
    ^~~~~
    ./src/common/torint.h:259:2: error: #error "Missing type int64_t"
    #error "Missing type int64_t"
    ^~~~~
    ./src/common/torint.h:262:2: error: #error "Missing type uint64_t"
    #error "Missing type uint64_t"
    ^~~~~
    ./src/common/torint.h:269:2: error: #error "Seems that your platform doesn't use 2's complement arithmetic. Argh."
    #error "Seems that your platform doesn't use 2's complement arithmetic. Argh."
    ^~~~~
    ./src/common/torint.h:277:2: error: #error "Can't define LONG_MAX"
    #error "Can't define LONG_MAX"
    ^~~~~
    ./src/common/torint.h:287:2: error: #error "Can't define INT_MAX"
    #error "Can't define INT_MAX"
    ^~~~~
    ./src/common/torint.h:299:2: error: #error "Can't define UINT_MAX"
    #error "Can't define UINT_MAX"
    ^~~~~
    ./src/common/torint.h:309:2: error: #error "Can't define SHORT_MAX"
    #error "Can't define SHORT_MAX"
    ^~~~~
    ./src/common/torint.h:367:2: error: #error "Can't define SSIZE_MAX"
    #error "Can't define SSIZE_MAX"
    ^~~~~
    make[1]: *** [Makefile:6513: src/ext/ed25519/ref10/src_ext_ed25519_ref10_libed25519_ref10_a-fe_0.o] Error 1
    make[1]: Leaving directory '/cygdrive/f/tor-0.3.3.6'
    make: *** [Makefile:3409: all] Error 2

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading