Closed faustfu closed 6 months ago
// #cgo CFLAGS: -I./libiec61850/inc/hal/inc -I./libiec61850/inc/common/inc -I./libiec61850/inc/goose -I./libiec61850/inc/iec61850/inc -I./libiec61850/inc/iec61850/inc_private -I./libiec61850/inc/logging -I./libiec61850/inc/mms/inc -I./libiec61850/inc/mms/inc_private -I./libiec61850/inc/mms/iso_mms/asn1c // #cgo LDFLAGS: -static-libgcc -static-libstdc++ -L./libiec61850/lib/linux_armv8 -liec61850
delete -lhal
hal has been replaced by pthread, please use go get -u github.com/wendy512/iec61850@v1.0.0
to get the latest version
os: Debian 12(docker) cpu: arm64
My code is below
I tried to run the code, but ld prompted error
I am not familiar about cgo, what should I do to fix the issue?