Compile error with poll()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gearman |
Fix Released
|
Medium
|
Brian Aker |
Bug Description
Hello. I'm unsuccessfully trying to compile the latest version of gearman on my ArchLinux.
---
Configuration summary for gearmand version 1.1.0
* Installation prefix: /usr/local
* System type: unknown-linux-gnu
* Host CPU: x86_64
* C Compiler: gcc
* C Flags: -g -O2 -Werror -Wall -Wextra -std=c99 -Wbad-function-cast -Wmissing-
* C++ Compiler: g++
* C++ Flags: -g -O2 -Werror -Wall -Wextra -Wpragmas -D_FORTIFY_SOURCE=2 -Waddress -Warray-bounds -Wchar-subscripts -Wcomment -Wctor-dtor-privacy -Wfloat-equal -Wformat=2 -Wlong-long -Wmaybe-
* CPP Flags:
* Assertions enabled: no
* Debug enabled: no
* Warnings as failure:
* Building with libsqlite3 yes
* Building with libdrizzle no
* Building with libmemcached yes
* Building with libpq yes
* Building with tokyocabinet no
* Building with libmysql yes
---
Compilation fails with error:
make all-am
make[1]: Entering directory `/home/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
CXX libgearman/
In file included from /usr/include/
In function 'int poll(pollfd*, nfds_t, int)',
inlined from 'gearman_return_t gearman_
/usr/include/
cc1plus: all warnings being treated as errors
make[1]: *** [libgearman/
make[1]: Leaving directory `/home/
make: *** [all] Error 2
What am I doing wrong?
P.S. I tried to make version 0.38 and compilation failed with the same (or at least very similar) error.
Changed in gearmand: | |
milestone: | none → 1.0.3 |
assignee: | nobody → Brian Aker (brianaker) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in gearmand: | |
status: | Confirmed → Fix Committed |
Changed in gearmand: | |
status: | Fix Committed → Fix Released |