-
Notifications
You must be signed in to change notification settings - Fork 194
Description
Undefined symbol: NIOHPACK.HPACKHeaders.init([(Swift.String, Swift.String)]) -> NIOHPACK.HPACKHeaders
Linker command failed with exit code 1 (use -v to see invocation)
Getting this error while adding otlpExporter so what to do need to ad grpc type api call so give any solution.
Undefined symbols for architecture x86_64:
"NIOHPACK.HPACKHeaders.init([(Swift.String, Swift.String)]) -> NIOHPACK.HPACKHeaders", referenced from:
OpenTelemetryProtocolExporterGrpc.OtlpLogExporter.init(channel: GRPC.GRPCChannel, config: OpenTelemetryProtocolExporterCommon.OtlpConfiguration, logger: Logging.Logger, envVarHeaders: [(Swift.String, Swift.String)]?) -> OpenTelemetryProtocolExporterGrpc.OtlpLogExporter in OtlpLogExporter.o
OpenTelemetryProtocolExporterGrpc.OtlpLogExporter.init(channel: GRPC.GRPCChannel, config: OpenTelemetryProtocolExporterCommon.OtlpConfiguration, logger: Logging.Logger, envVarHeaders: [(Swift.String, Swift.String)]?) -> OpenTelemetryProtocolExporterGrpc.OtlpLogExporter in OtlpLogExporter.o
OpenTelemetryProtocolExporterGrpc.OtlpLogExporter.init(channel: GRPC.GRPCChannel, config: OpenTelemetryProtocolExporterCommon.OtlpConfiguration, logger: Logging.Logger, envVarHeaders: [(Swift.String, Swift.String)]?) -> OpenTelemetryProtocolExporterGrpc.OtlpLogExporter in OtlpLogExporter.o
OpenTelemetryProtocolExporterGrpc.OtlpMetricExporter.init(channel: GRPC.GRPCChannel, config: OpenTelemetryProtocolExporterCommon.OtlpConfiguration, logger: Logging.Logger, envVarHeaders: [(Swift.String, Swift.String)]?) -> OpenTelemetryProtocolExporterGrpc.OtlpMetricExporter in OtlpMetricExporter.o
OpenTelemetryProtocolExporterGrpc.OtlpMetricExporter.init(channel: GRPC.GRPCChannel, config: OpenTelemetryProtocolExporterCommon.OtlpConfiguration, logger: Logging.Logger, envVarHeaders: [(Swift.String, Swift.String)]?) -> OpenTelemetryProtocolExporterGrpc.OtlpMetricExporter in OtlpMetricExporter.o
OpenTelemetryProtocolExporterGrpc.OtlpMetricExporter.init(channel: GRPC.GRPCChannel, config: OpenTelemetryProtocolExporterCommon.OtlpConfiguration, logger: Logging.Logger, envVarHeaders: [(Swift.String, Swift.String)]?) -> OpenTelemetryProtocolExporterGrpc.OtlpMetricExporter in OtlpMetricExporter.o
OpenTelemetryProtocolExporterGrpc.StableOtlpMetricExporter.init(channel: GRPC.GRPCChannel, config: OpenTelemetryProtocolExporterCommon.OtlpConfiguration, aggregationTemporalitySelector: OpenTelemetrySdk.AggregationTemporalitySelector, defaultAggregationSelector: OpenTelemetrySdk.DefaultAggregationSelector, logger: Logging.Logger, envVarHeaders: [(Swift.String, Swift.String)]?) -> OpenTelemetryProtocolExporterGrpc.StableOtlpMetricExporter in StableOtlpMetricExporter.o
OpenTelemetryProtocolExporterGrpc.StableOtlpMetricExporter.init(channel: GRPC.GRPCChannel, config: OpenTelemetryProtocolExporterCommon.OtlpConfiguration, aggregationTemporalitySelector: OpenTelemetrySdk.AggregationTemporalitySelector, defaultAggregationSelector: OpenTelemetrySdk.DefaultAggregationSelector, logger: Logging.Logger, envVarHeaders: [(Swift.String, Swift.String)]?) -> OpenTelemetryProtocolExporterGrpc.StableOtlpMetricExporter in StableOtlpMetricExporter.o
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)