Skip to content

NIOHPACK.HPACKHeaders.init([(Swift.String, Swift.String)]) -> NIOHPACK.HPACKHeaders Linker command failed with exit code 1 (use -v to see invocation) #878

@siddharthlenka

Description

@siddharthlenka

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions