Hi,
those variables are generated in FlexCAN_Ip_Sa_PBcfg.c/.h located in project generate folder.
So either code is not generated from Config tool, or project does not include generate\src\ and generate\include\ into project paths.
By default example is using loopback mode, so no pin init is expected. If you want to communicate with other nodes, then you need to configure desired pins by yourself. FlexCAN driver does not do that.
For sure pin should be used for single module function.
BR, Petr