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 » Problem building C++ sample on Solaris

Post new topic  Reply to topic
 Problem building C++ sample on Solaris « View previous topic :: View next topic » 
Author Message
hench
PostPosted: Thu Nov 20, 2008 2:27 am    Post subject: Problem building C++ sample on Solaris Reply with quote

Newbie

Joined: 09 Aug 2004
Posts: 9

Hi,

I'm trying to build the "imqwrld.cpp" sample program on Solaris 5.8 with g++ compiler.

Compile statement :

g++ -I/opt/mqm/inc -g -m64 -o imqwrld imqwrld.cpp \
-L/opt/mqm/lib64 -limqb23as -limqc23as -lmqic -lmqmcs -lmqmzse

As output I get a lot of "undefined symbols" from the linker :

Undefined first referenced
symbol in file
ImqChl::setTransportType(int) /var/tmp//cchPrt3l.o
ImqQue::put(ImqMsg&) /var/tmp//cchPrt3l.o
ImqStr::cutOut(ImqStr&, char) /var/tmp//cchPrt3l.o
ImqObj::setName(char const*) /var/tmp//cchPrt3l.o
ImqObj::setConnectionReference(ImqMgr*) /var/tmp//cchPrt3l.o
ImqQue::get(ImqMsg&) /var/tmp//cchPrt3l.o
....

How can this be fixed ?

Thanks in advance
Hench
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Nov 20, 2008 2:30 am    Post subject: Re: Problem building C++ sample on Solaris Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

hench wrote:
I'm trying to build the "imqwrld.cpp" sample program on Solaris 5.8 with g++ compiler.


Is this a supported complier?
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Problem building C++ sample on Solaris
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.