Skip to content

Grpcio recipe: Fix runtime error, cannot locate symbol "getservbyport_y" #3043

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,17 +1,33 @@
Index: ares_config.h
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/third_party/cares/config_android/ares_config.h b/third_party/cares/config_android/ares_config.h
--- a/third_party/cares/config_android/ares_config.h
+++ b/third_party/cares/config_android/ares_config.h (date 1716777985227)
diff --git a/third_party/cares/config_darwin/ares_config.h b/third_party/cares/config_darwin/ares_config.h
--- a/third_party/cares/config_darwin/ares_config.h 2024-07-16 20:46:22.000000000 +0100
+++ b/third_party/cares/config_darwin/ares_config.h 2024-07-29 00:18:30.096755745 +0100
@@ -43,7 +43,7 @@
#define GETNAMEINFO_TYPE_ARG7 int

/* Specifies the number of arguments to getservbyport_r */
-#define GETSERVBYPORT_R_ARGS
+//#define GETSERVBYPORT_R_ARGS
-#define GETSERVBYPORT_R_ARGS
+/* #define GETSERVBYPORT_R_ARGS */

/* Define to 1 if you have AF_INET6. */
#define HAVE_AF_INET6
diff --git a/third_party/cares/config_linux/ares_config.h b/third_party/cares/config_linux/ares_config.h
--- a/third_party/cares/config_linux/ares_config.h 2024-07-16 20:46:22.000000000 +0100
+++ b/third_party/cares/config_linux/ares_config.h 2024-07-29 00:19:39.479166654 +0100
@@ -43,7 +43,7 @@
#define GETNAMEINFO_TYPE_ARG7 int

/* Specifies the number of arguments to getservbyport_r */
-#define GETSERVBYPORT_R_ARGS 6
+/* #define GETSERVBYPORT_R_ARGS 6 */

/* Define to 1 if you have AF_INET6. */
#define HAVE_AF_INET6
@@ -121,7 +121,7 @@
#define HAVE_GETNAMEINFO

/* Define to 1 if you have the getservbyport_r function. */
-#define HAVE_GETSERVBYPORT_R
+/* #define HAVE_GETSERVBYPORT_R */

/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY
Loading