On Linux $ gcc -c -I/opt/mqm/inc amqsxrma.c $ gcc -o amqsxrm amqsxrma.o -shared \ -L/opt/mqm/lib -lmqm Parent topic: Compiling the Reference Message Exit sample fg17410_
$ gcc -c -I/opt/mqm/inc amqsxrma.c $ gcc -o amqsxrm amqsxrma.o -shared \ -L/opt/mqm/lib -lmqm