MQSeries.net
Search
Tech Exchange
Education
Certifications
Library
Info Center
SupportPacs
LinkedIn
Search
FAQ
 Â
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
»
General IBM MQ Support
»
A FAQ from compiled MQ Application in AIX5.1
A FAQ from compiled MQ Application in AIX5.1
«
View previous topic
::
View next topic
»
Author
Message
hazard
Posted: Thu Nov 24, 2005 12:26 am
Post subject: A FAQ from compiled MQ Application in AIX5.1
Newbie
Joined: 16 Nov 2005
Posts: 8
the makefile just like following:
# define base dir
MQM_HOME=/usr/mqm
# define
DEFINES=-DDEBUG -DUNIX -D_PTHREAD_SAFE
LDFLAGS=-L$(MQM_HOME)/lib -limqb23ia_r -limqs23ia_r
CFLAGS=-g -q64 $(DEFINES) -qchars=signed -I/usr/mqm/inc $(LDFLAGS) \
-bhalt:8 -bloadmap:ldout
# command
CC=xlC_r
.SUFFIXES: .o .cpp
.cpp.o:
$(CC) $(CFLAGS) -o $*.o -c $*.cpp
# target
mqput:imqsput.o
touch imqsput.cpp
sleep 1
$(CC) $(CFLAGS) -o $@ $?
the file imqsput.cpp is the MQ's example.
and the following are the errors when i compiled it:
ld: 0711-317 ERROR: Undefined symbol: ImqMgr::virtual-fn-table-ptr-table
ld: 0711-317 ERROR: Undefined symbol: .ImqMgr::ImqMgr()
ld: 0711-317 ERROR: Undefined symbol: ImqQue::virtual-fn-table-ptr-table
ld: 0711-317 ERROR: Undefined symbol: .ImqQue::ImqQue()
ld: 0711-317 ERROR: Undefined symbol: ImqMsg::virtual-fn-table-ptr-table
ld: 0711-317 ERROR: Undefined symbol: .ImqMsg::ImqMsg()
ld: 0711-317 ERROR: Undefined symbol: .ImqStr::ImqStr(const char*)
ld: 0711-317 ERROR: Undefined symbol: .ImqStr::ImqStr()
ld: 0711-317 ERROR: Undefined symbol: .ImqChl::ImqChl()
ld: 0711-317 ERROR: Undefined symbol: .ImqChl::setHeartBeatInterval(int)
ld: 0711-317 ERROR: Undefined symbol: .ImqStr::cutOut(ImqStr&,char)
ld: 0711-317 ERROR: Undefined symbol: .ImqChl::setChannelName(const char*)
ld: 0711-317 ERROR: Undefined symbol: .ImqStr::upperCase() const
ld: 0711-317 ERROR: Undefined symbol: .ImqStr::~ImqStr()
ld: 0711-317 ERROR: Undefined symbol: .ImqChl::setTransportType(int)
ld: 0711-317 ERROR: Undefined symbol: .ImqChl::setConnectionName(const char*)
ld: 0711-317 ERROR: Undefined symbol: .ImqMgr::setChannelReference(ImqChl*)
ld: 0711-317 ERROR: Undefined symbol: .ImqObj::setName(const char*)
ld: 0711-317 ERROR: Undefined symbol: .ImqMgr::connect()
ld: 0711-317 ERROR: Undefined symbol: .ImqObj::setOpenOptions(int)
ld: 0711-317 ERROR: Undefined symbol: .ImqObj::open()
ld: 0711-317 ERROR: Undefined symbol: .ImqCac::useEmptyBuffer(const char*,unsign
ed long)
ld: 0711-317 ERROR: Undefined symbol: .ImqMsg::setFormat(const char*)
ld: 0711-317 ERROR: Undefined symbol: .ImqCac::setMessageLength(unsigned long)
ld: 0711-317 ERROR: Undefined symbol: .ImqQue::put(ImqMsg&)
ld: 0711-317 ERROR: Undefined symbol: .ImqObj::close()
ld: 0711-317 ERROR: Undefined symbol: .ImqMgr::disconnect()
ld: 0711-317 ERROR: Undefined symbol: .ImqMsg::~ImqMsg()
ld: 0711-317 ERROR: Undefined symbol: .ImqQue::~ImqQue()
ld: 0711-317 ERROR: Undefined symbol: .ImqMgr::~ImqMgr()
ld: 0711-317 ERROR: Undefined symbol: .ImqStr::compare(const ImqStr&) const
ld: 0711-317 ERROR: Undefined symbol: .ImqObj::setConnectionReference(ImqMgr*)
ld: 0711-344 See the loadmap file ldout for more information.
make: 1254-004 The error code from the last command is 8.
what can i do with these errors?
Back to top
jefflowrey
Posted: Thu Nov 24, 2005 6:36 am
Post subject:
Grand Poobah
Joined: 16 Oct 2002
Posts: 19981
Is this a double-post?
http://www.mqseries.net/phpBB2/viewtopic.php?t=25668
Please don't do that.
_________________
I am *not* the model of the modern major general.
Back to top
hazard
Posted: Thu Nov 24, 2005 6:05 pm
Post subject:
Newbie
Joined: 16 Nov 2005
Posts: 8
mquseless wrote:
Do you have a 64-bit MQ on your system, i.e. MQ v6?
You are trying to build a 64-bit application with the -q64 flag.
Yes, I am wanting to build 64-bit application.And the version of MQ is 5.3.
Isn't it support for 64-bit?
Back to top
hazard
Posted: Thu Nov 24, 2005 6:06 pm
Post subject:
Newbie
Joined: 16 Nov 2005
Posts: 8
jefflowrey wrote:
Is this a double-post?
http://www.mqseries.net/phpBB2/viewtopic.php?t=25668
Please don't do that.
O, I am sorry!
Back to top
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
Page
1
of
1
MQSeries.net Forum Index
»
General IBM MQ Support
»
A FAQ from compiled MQ Application in AIX5.1
Jump to:
Select a forum
General Discussion
----------------
Read First for All New to IBM MQ, Integration, Messaging, WebSphere - Only Moderators Post Here
General Discussion
Messaging and Integration Technologies FAQ
News/Updates
Links
Job Seekers
Job Postings
General Forums Information
Requirements, Wishlists & Enhancement Requests
----------------
RFEs - Requirements, Wishlists & Enhancement Requests - Open Forum
IBM MQ Support
----------------
General IBM MQ Support
IBM MQ Cloud and SaaS, Cloud Hybrid and Containers
IBM MQ Installation/Configuration Support
Clustering
IBM MQ Telemetry / Low Latency Messaging / Everyplace
Mainframe, CICS, TXSeries
iSeries, OpenVMS, HP-NSS
IBM MQ Performance Monitoring
IBM MQ Security
IBM MQ Development
----------------
IBM MQ Java / JMS
IBM MQ API Support
Multiphase Commit
User Exits
WebSphere Message Broker
----------------
WebSphere Message Broker (ACE) Support
WMB Patterns Repository - Available for Download
WebSphere Application Server
----------------
WebSphere Application Server
Web Services
----------------
WebSphere DataPower
Products that use IBM MQ
----------------
Workflow Engines - IBM MQ Workflow & Business Process Choreographer
WebSphere Process Server (WID/WPS/WAS+)
WebSphere Interchange Server + Adapters
IBM MQ File Transfer Edition
Resources, Files, Samples, Archives, Misc
----------------
Files and Code Samples
Archives - All
Challenge Forum
Sponsored Forums
----------------
Cressida Technology
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.