[tor-bugs] #14072 [Tor]: -lsystemd-daemon does not exist
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Jan 2 19:52:24 UTC 2015
#14072: -lsystemd-daemon does not exist
-------------------------+--------------------------------
Reporter: h.venev | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: Tor: 0.2.6.x-final
Component: Tor | Version: Tor: 0.2.6.2-alpha
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
-------------------------+--------------------------------
Comment (by nickm):
So, when I try to apply the second half of the above patch, I get:
{{{
make[1]: Entering directory `/home/nickm/src/tor'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DTOR_UNIT_TESTS -I./src/ext -Isrc/ext
-I./src/ext/trunnel -I./src/trunnel -I./src/common -Isrc/common
-I./src/ext/trunnel -I./src/trunnel -I./src/or -Isrc/or
-DSHARE_DATADIR="\"/usr/local/share\""
-DLOCALSTATEDIR="\"/usr/local/var\"" -DBINDIR="\"/usr/local/bin\""
-I./src/common -fno-inline -fprofile-arcs -ftest-coverage
-D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector -fwrapv
--param ssp-buffer-size=1 -fPIE -fasynchronous-unwind-tables -Wall -fno-
strict-aliasing -W -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-
prototypes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wchar-
subscripts -Wcomment -Wformat=2 -Wwrite-strings -Wmissing-declarations
-Wredundant-decls -Wnested-externs -Wbad-function-cast -Wswitch-enum
-Werror -Winit-self -Wmissing-field-initializers -Wold-style-definition
-Waddress -Wmissing-noreturn -Wstrict-overflow=1 -Wnormalized=id
-Woverride-init -Wextra -Warray-bounds -Wlogical-op -MT src/or
/src_or_libtor_testing_a-control.o -MD -MP -MF src/or/.deps
/src_or_libtor_testing_a-control.Tpo -c -o src/or/src_or_libtor_testing_a-
control.o `test -f 'src/or/control.c' || echo './'`src/or/control.c
In file included from /usr/include/unistd.h:25:0,
from src/or/or.h:33,
from src/or/control.c:13:
/usr/include/features.h:327:4: error: #warning _FORTIFY_SOURCE requires
compiling with optimization (-O) [-Werror=cpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
cc1: all warnings being treated as errors
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14072#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list