Error installation of gearman 1.1.11 on windows using latest cygwin

219 views
Skip to first unread message

Sanjay Bhosale

unread,
Dec 30, 2013, 12:25:36 AM12/30/13
to gea...@googlegroups.com
I have installed gearmand-0.14 successfully on Windows 7 using Cygwin recent version but while installing gearmand-1.1.11 i got following error :

c++ -g -O2 -Wno-unknown-pragmas -Wno-pragmas -Wall -Wextra -Wno-attributes -Wvarargs -Waddress -Warray-bounds -Wchar-subscripts -Wcomment -Wctor-dtor-privacy -W
float-equal -Wformat=2 -Wformat-y2k -Wmaybe-uninitialized -Wmissing-field-initializers -Wlogical-op -Wnon-virtual-dtor -Wnormalized=id -Woverloaded-virtual -Wpo
inter-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wtrampolines -Wundef -funsafe-loop-optimizations -Wc++11-compat -Wclobb
ered -Wunused -Wunused-result -Wunused-variable -Wunused-parameter -Wunused-local-typedefs -Wwrite-strings -Wformat-security -floop-parallelize-all -fwrapv -pip
e -pie -Wsizeof-pointer-memaccess -Wpacked -fvisibility=hidden   libtest/wait.cc   -o libtest/wait
  CC       libhostile/libhostile_libhostile_la-dummy.lo
In file included from libtest/wait.cc:37:0:
/home/Sanjayb/gearmand-1.1.11/libtest/yatlcon.h:41:25: fatal error: gear_config.h: No such file or directory
 #include "gear_config.h"
                         ^
compilation terminated.

for resolving error i copied gear_config.h file to libtest folder and i get errors as follows:

c++ -g -O2 -Wno-unknown-pragmas -Wno-pragmas -Wall -Wextra -Wno-attributes -Wvarargs -Waddress -Warray-bounds -Wchar-subscripts -Wcomment -Wctor-dtor-privacy -W
float-equal -Wformat=2 -Wformat-y2k -Wmaybe-uninitialized -Wmissing-field-initializers -Wlogical-op -Wnon-virtual-dtor -Wnormalized=id -Woverloaded-virtual -Wpo
inter-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wtrampolines -Wundef -funsafe-loop-optimizations -Wc++11-compat -Wclobb
ered -Wunused -Wunused-result -Wunused-variable -Wunused-parameter -Wunused-local-typedefs -Wwrite-strings -Wformat-security -floop-parallelize-all -fwrapv -pip
e -pie -Wsizeof-pointer-memaccess -Wpacked -fvisibility=hidden   libtest/wait.cc   -o libtest/wait
  CCLD     libhostile/t/accept.exe
/tmp/cc2o8S3b.o: In function `Wait':
/home/Sanjayb/gearmand-1.1.11/libtest/wait.h:77: undefined reference to `libtest::dream(long, long)'
/home/Sanjayb/gearmand-1.1.11/libtest/wait.h:77:(.text.startup+0x138): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `libtest::dream(long,
 long)'
collect2: error: ld returned 1 exit status

Is it due to cygwin?
Could anyone please reolve this issue?

filan coo

unread,
Feb 27, 2018, 6:18:03 AM2/27/18
to Gearman
Hi dude, did you solve the problem?
I'm facing the same

понедельник, 30 декабря 2013 г., 8:25:36 UTC+3 пользователь Sanjay Bhosale написал:
Reply all
Reply to author
Forward
0 new messages