#4169 closed defect (fixed)

Link problem of C++ tests when using libpci in BSP

Reported by: Jan Sommer Owned by: Jan Sommer <jan.sommer@…>
Priority: normal Milestone: 5.2
Component: lib Version: 5
Severity: normal Keywords:
Cc: Blocked By:


When using libpci in a custom BSP we experienced linking problems for C++ test (e.g. spcxx01).

The reason is the missing extern C include guards for confdefs/libpci.h.
Therefore, the reference to pci_config_lib_init is mangled.

A patch fixing this problem is provided here: https://lists.rtems.org/pipermail/devel/2020-October/062981.html

Change History (1)

comment:1 Changed on 10/30/20 at 02:22:13 by Jan Sommer <jan.sommer@…>

Owner: set to Jan Sommer <jan.sommer@…>
Resolution: fixed
Status: newclosed

In f84c4a5/rtems:

confdefs: Add extern C guards to libpci.h

Closes #4169

Note: See TracTickets for help on using tickets.