-
Notifications
You must be signed in to change notification settings - Fork 63
Closed
Description
This is probably more of a question than an actual issue, but I couldn't find anywhere else to ask.
Using MQ V9.1, current mq-golang, go1.14.2 windows/amd64
/*
#cgo windows CFLAGS: -I"C:/Program Files/IBM/MQ/Tools/c/include"
#include <cmqc.h>
#include <cmqstrc.h>
*/
import "C"
fmt.Println(mqmd.Feedback, C.GoString(C.MQFB_STR(C.MQLONG(mqmd.Feedback))))
The issue is that during the linking step its saying there are multiple definitions of each of the functions that are defined in cmqstrc.h. Of course if I don't include this header file then the compiler complains it cannot find MQFB_STR. Any thoughts on how I can invoke MQFB_STR from my application?
Metadata
Metadata
Assignees
Labels
No labels