adobkin / libcapn

A simple C Library for interact with the Apple Push Notification Service (APNs)
MIT License
100 stars 37 forks source link

libcapn #42

Open murphyjoy opened 6 years ago

murphyjoy commented 6 years ago

cmake -DCMAKE_INSTALL_PREFIX=/usr ../

-- The C compiler identification is GNU 4.8.5 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Looking for include file ctype.h -- Looking for include file ctype.h - found -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Looking for include file stdint.h -- Looking for include file stdint.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for include file netinet/in.h -- Looking for include file netinet/in.h - found -- Looking for include file arpa/inet.h -- Looking for include file arpa/inet.h - found -- Looking for include file netdb.h -- Looking for include file netdb.h - found -- Looking for include file fcntl.h -- Looking for include file fcntl.h - found -- Looking for include file sys/socket.h -- Looking for include file sys/socket.h - found -- Looking for include file strings.h -- Looking for include file strings.h - found -- Looking for strerror_r -- Looking for strerror_r - found -- Performing test APN_HAVE_GLIBC_STRERROR_R -- Performing test APN_HAVE_GLIBC_STRERROR_R - Failed -- Performing test APN_HAVE_POSIX_STRERROR_R -- Performing test APN_HAVE_POSIX_STRERROR_R - Success -- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version "1.0.2k") -- Configuring done -- Generating done -- Build files have been written to: /root/libcapn/build

murphyjoy commented 6 years ago

how to resolve (Performing test APN_HAVE_GLIBC_STRERROR_R - Failed) this error