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 Installation/Configuration Support » Compile my programs with mqm

Post new topic  Reply to topic
 Compile my programs with mqm « View previous topic :: View next topic » 
Author Message
Artemio
PostPosted: Thu Oct 02, 2003 3:34 pm    Post subject: Compile my programs with mqm Reply with quote

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
View user's profile Send private message Send e-mail MSN Messenger
mrlinux
PostPosted: Thu Oct 02, 2003 6:49 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
harwinderr
PostPosted: Thu Oct 02, 2003 9:31 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger MSN Messenger
mrlinux
PostPosted: Fri Oct 03, 2003 6:15 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Compile my programs with mqm
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.