[dpdk-stable] [PATCH v2] meter: remove inline functions from export list

Thomas Monjalon thomas at monjalon.net
Tue Jun 23 19:36:18 CEST 2020


17/06/2020 10:24, Fady Bader:
> The code didn't compile when using exported meter functions under windows.
> 
> error LNK2001: unresolved external symbol
> rte_meter_srtcm_color_aware_check
> error LNK2001: unresolved external symbol
> rte_meter_srtcm_color_blind_check
> error LNK2001: unresolved external symbol
> rte_meter_trtcm_color_aware_check
> error LNK2001: unresolved external symbol
> rte_meter_trtcm_color_blind_check
> error LNK2001: unresolved external symbol
> rte_meter_trtcm_rfc4115_color_aware_check
> error LNK2001: unresolved external symbol
> rte_meter_trtcm_rfc4115_color_blind_check
> 
> The cause was that there were some inline functions that were included in
> the export list.
> To solve this the functions were removed from rte_meter_version.map export
> list which are implemented in the header and shouldn't be exported.
> 
> Fixes: 655796d2b5fb3d44166e172 ("meter: support RFC4115 trTCM")
> Fixes: 9d41beed24b01666913de30 ("lib: provide initial versioning")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Fady Bader <fady at mellanox.com>

Applied, thanks





More information about the stable mailing list