ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » Problems compiling the amqsmon.c sample code on Suse v9 64B

Post new topic  Reply to topic
 Problems compiling the amqsmon.c sample code on Suse v9 64B « View previous topic :: View next topic » 
Author Message
mfsmqtech
PostPosted: Wed Nov 26, 2008 10:55 am    Post subject: Problems compiling the amqsmon.c sample code on Suse v9 64B Reply with quote

Novice

Joined: 07 May 2008
Posts: 10
Location: Boston, MA

Good afternoon,

I modified a copy of the amqsmon.c sample code so that it pulls from an alternate queue than SYSTEM.ADMIN.STATISTICS.QUEUE.

Unfortunately I am running into issues compiling the new code.

The command used was:

gcc -m64 -shared -o mfs_stat_monitor mfs_stat_monitor.c -L/opt/mqm/lib64 -lmqm -l mqmcs -l mqz -lmqic -lmqiz -lmqmcs -fPIC

It compiles without error but I get a seg fault when I try to run the newly created executable.

Does anyone know how to get around this issue?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
xhaxk
PostPosted: Wed Nov 26, 2008 10:34 pm    Post subject: Reply with quote

Apprentice

Joined: 30 Oct 2008
Posts: 31

use the right compile/link command
i am sure you do not want both the server and client libs
the manual will give the right command
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Problems compiling the amqsmon.c sample code on Suse v9 64B
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.