dspace-group / dsV2Gshark

Free Wireshark plugin to analyze ISO15118 V2G communication between electric vehicles (EV) and charging stations (EVSE).
https://www.dspace.com/en/pub/home/news/wireshark-charging-plug-in.cfm
Other
32 stars 8 forks source link

Add FLAGS option to fix build on Linux #8

Closed ronan22 closed 1 month ago

ronan22 commented 1 month ago

The test build was done on Linux Fedora 39.

The curent build status:

/usr/bin/ld: ../Third_Party/cbv2g/obj/appHandshake/appHand_Decoder.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: failed to set dynamic section sizes: bad value

To fix the build issue add '-fPIC' to FLAGS variable.

FLAGS = -c -Wall -O3 -fPIC