|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
When compiling api exit in AIX, got error |
« View previous topic :: View next topic » |
Author |
Message
|
baytreexyn |
Posted: Mon Aug 27, 2007 3:28 pm Post subject: When compiling api exit in AIX, got error |
|
|
Newbie
Joined: 27 Aug 2007 Posts: 1
|
when i compiling my api exit, i got the error:
ld: 0711-317 ERROR: Undefined symbol: .MQXEP
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.
anybody can help me? |
|
Back to top |
|
 |
Vitor |
Posted: Mon Aug 27, 2007 11:23 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Platform? Compiler? Version of MQ? Maintenance level?
There's also the standard speech about how exits are an advanced topic and a badly executed exit can bring a queue manager to it's knees. If you don't know how to fix this you may wish to reconsider not doing this. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
RogerLacroix |
Posted: Tue Aug 28, 2007 10:13 am Post subject: Re: When compiling api exit in AIX, got error |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
baytreexyn wrote: |
when i compiling my api exit, i got the error:
ld: 0711-317 ERROR: Undefined symbol: .MQXEP
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.
anybody can help me? |
OMG.
MQXEP is for registering an entry point in an API Exit. You are dealing with an advance level topic but are asking about the most basic component of an API Exit.
There is a whole chapter dedicated to API Exit in the WMQ Application Programming Guide.
Have you even bothered to read it?
There is even a section called: Compiling API Exits. It gives you platform specific information on how to CORRECTLY compile your API Exit.
If you do not have advanced level programming skills and advanced level knowledge of MQ, you should not be doing API Exit programming (you will do more harm than good). If you are an advanced level programmer then why are you asking basic questions (rather reading the manual).
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
sebastia |
Posted: Thu Jan 15, 2009 11:26 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
You are missing the "-lmqmzf"
in the line
xlc -q64 -e MQStart -bE:mirrorq.exp -bM:SRE
-o mirrorq mirrorq.c
-I/usr/mqm/inc -L/usr/mqm/lib64 -lmqm -lmqmzf
Enjoy. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|