|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Compile my programs with mqm |
« View previous topic :: View next topic » |
Author |
Message
|
Artemio |
Posted: Thu Oct 02, 2003 3:34 pm Post subject: Compile my programs with mqm |
|
|
 Novice
Joined: 11 Sep 2003 Posts: 21
|
I try to compile but doesn't work, I copied h files to Include directory and lib files to Lib, but nothing!
this is my output
C:\BORLAND\BCC55\BIN>bcc32 amqsput.c
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
amqsput.c:
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_MQCONN' referenced from C:\BORLAND\BCC55\BIN\AMQSPUT.OBJ
Error: Unresolved external '_MQOPEN' referenced from C:\BORLAND\BCC55\BIN\AMQSPUT.OBJ
Error: Unresolved external '_MQPUT' referenced from C:\BORLAND\BCC55\BIN\AMQSPUT.OBJ
Error: Unresolved external '_MQCLOSE' referenced from C:\BORLAND\BCC55\BIN\AMQSPUT.OBJ
Error: Unresolved external '_MQDISC' referenced from C:\BORLAND\BCC55\BIN\AMQSPUT.OBJ
my option list are:
-I"c:\Borland\Bcc55\include"
-L"c:\Borland\Bcc55\lib" |
|
Back to top |
|
 |
mrlinux |
Posted: Thu Oct 02, 2003 6:49 pm Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
you need to specify the lib also not just a path
I think the switch is -lmqm Server -lmqic3 client _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
harwinderr |
Posted: Thu Oct 02, 2003 9:31 pm Post subject: |
|
|
 Voyager
Joined: 29 Jan 2002 Posts: 90
|
Well, ,first of all I dont think you can use Borland C compiler on Windows (if your platform is Windows)
The C compilers supported on Windows are
IBM C compiler, V3.6.4
IBM VisualAge for C++ for Windows, V3.5
Microsoft Visual C++ V4, V5, & V6 |
|
Back to top |
|
 |
mrlinux |
Posted: Fri Oct 03, 2003 6:15 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
You should be able to use the C api's, I looked up the prototype on
v5.3 and it has the cdecl wrapper which should stop the name mangling of the function calls during the compile/link, I dont have the borland compiler to test it though _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
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
|
|
|
|