[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #9948 [Tor]: Configure should error if libssp is not installed
#9948: Configure should error if libssp is not installed
---------------------+----------------------------------
Reporter: huslage | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Tor | Version: Tor: 0.2.4.17-rc
Keywords: | Actual Points:
Parent ID: | Points:
---------------------+----------------------------------
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.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9948>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs