compiling in cygwin - libgearman/error.cc:218:83: error: 'strerror_r' was not declared in this scope

Bug #1326643 reported by Brett O'Donnell
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Gearman
New
Undecided
Unassigned

Bug Description

make -j2 all-am
make[1]: Entering directory '/home/Brett/gearmand-1.1.12'
  CXX libgearman/libgearman_libgearman_la-check.lo
  CXX libgearman/libgearman_libgearman_la-actions.lo
  CXX libgearman/libgearman_libgearman_la-aggregator.lo
  CXX libgearman/libgearman_libgearman_la-allocator.lo
  CXX libgearman/libgearman_libgearman_la-argument.lo
  CXX libgearman/libgearman_libgearman_la-add.lo
  CXX libgearman/libgearman_libgearman_la-byteorder.lo
  CXX libgearman/libgearman_libgearman_la-client.lo
  CXX libgearman/libgearman_libgearman_la-command.lo
  CXX libgearman/libgearman_libgearman_la-connection.lo
  CXX libgearman/libgearman_libgearman_la-do.lo
  CXX libgearman/libgearman_libgearman_la-error.lo
libgearman/error.cc: In function 'gearman_return_t gearman_universal_set_perror( gearman_universal_st&, gearman_return_t, int, const char*, const char*, const ch ar*, ...)':
libgearman/error.cc:218:83: error: 'strerror_r' was not declared in this scope
     errmsg_ptr= strerror_r(universal._error.system_error(), errmsg, sizeof(errm sg));
                                                                                                                                                                                                                                                                                  ^
Makefile:6247: recipe for target 'libgearman/libgearman_libgearman_la-error.lo' failed
make[1]: *** [libgearman/libgearman_libgearman_la-error.lo] Error 1
make[1]: Leaving directory '/home/Brett/gearmand-1.1.12'
Makefile:3050: recipe for target 'all' failed
make: *** [all] Error 2

Revision history for this message
chjgcn (chjgcn) wrote :

Maybe function 'strerror_r' does not exist in your current cygwin environment. Make sure that your cygwin and softwares such as glibc are up to date. If not, update them and compile gearmand.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.