Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #9948

Closed (moved)
Open
Opened Oct 09, 2013 by Trac@tracbot

Configure should error if libssp is not installed

Ran ./configure and then make.

Got this error from compile:

make all-am make[1]: Entering directory /home/root/tor-0.2.4.17-rc' CC src/common/address.o In file included from src/common/compat.h:10:0, from src/common/address.c:12: src/common/torint.h:233:2: error: #error "void * is either >8 bytes or <= 2. In either case, I am confused." src/common/torint.h:237:2: error: #error "Missing type int8_t" src/common/torint.h:240:2: error: #error "Missing type uint8_t" src/common/torint.h:243:2: error: #error "Missing type int16_t" src/common/torint.h:246:2: error: #error "Missing type uint16_t" src/common/torint.h:249:2: error: #error "Missing type int32_t" src/common/torint.h:252:2: error: #error "Missing type uint32_t" src/common/torint.h:255:2: error: #error "Missing type int64_t" src/common/torint.h:258:2: error: #error "Missing type uint64_t" src/common/torint.h:265:2: error: #error "Seems that your platform doesn't use 2's complement arithmetic. Argh." src/common/torint.h:305:2: error: #error "Can't define SHORT_MAX" src/common/torint.h:341:2: error: #error "Can't define SIZE_T_MAX" src/common/torint.h:351:2: error: #error "Can't define SSIZE_T_MAX" In file included from src/common/address.c:12:0: src/common/compat.h:74:2: error: #error "It seems your platform does not represent NULL as zero. We can't cope." src/common/compat.h:78:2: error: #error "It seems your platform does not represent 0.0 as zeros. We can't cope." src/common/compat.h:426:13: error: conflicting types for 'socklen_t' In file included from /usr/include/sys/socket.h:39:0, from src/common/compat.h:46, from src/common/address.c:12: /usr/include/bits/socket.h:34:21: note: previous declaration of 'socklen_t' was here In file included from src/common/address.c:16:0: src/common/container.h:541:2: error: #error "int is neither 4 nor 8 bytes. I can't deal with that." src/common/container.h: In function 'bitarray_init_zero': src/common/container.h:552:23: error: 'BITARRAY_SHIFT' undeclared (first use in this function) src/common/container.h:552:23: note: each undeclared identifier is reported only once for each function it appears in src/common/container.h: In function 'bitarray_expand': src/common/container.h:562:31: error: 'BITARRAY_SHIFT' undeclared (first use in this function) src/common/container.h: In function 'bitarray_set': src/common/container.h:584:12: error: 'BITARRAY_SHIFT' undeclared (first use in this function) src/common/container.h: In function 'bitarray_clear': src/common/container.h:590:12: error: 'BITARRAY_SHIFT' undeclared (first use in this function) src/common/container.h: In function 'bitarray_is_set': src/common/container.h:597:19: error: 'BITARRAY_SHIFT' undeclared (first use in this function) src/common/address.c: In function 'get_interface_address6': src/common/address.c:1401:32: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] In file included from src/common/compat.h:46:0, from src/common/address.c:12: /usr/include/sys/socket.h:118:12: note: expected 'socklen_t * __restrict__' but argument is of type 'socklen_t *' make[1]: *** [src/common/address.o] Error 1 make[1]: Leaving directory /home/root/tor-0.2.4.17-rc' make: *** [all] Error 2

After speaking with sqrt2 on IRC, and digging through logs we determined that it was actually a missing libssp. After installing libssp things worked fine.

Trac:
Username: huslage

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Tor: 0.2.5.x-final
Milestone
Tor: 0.2.5.x-final
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#9948