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 Performance Monitoring » Compiling BlockIP2 on Solaris with gcc

Post new topic  Reply to topic
 Compiling BlockIP2 on Solaris with gcc « View previous topic :: View next topic » 
Author Message
sproot
PostPosted: Tue Jun 21, 2005 4:43 am    Post subject: Compiling BlockIP2 on Solaris with gcc Reply with quote

Newbie

Joined: 21 Jun 2005
Posts: 4

Apologies if this is a stupid question, but I've looked all over the web and can't find any info about it.

With 2.20beta (I couldn't find 2.1 anywhere) the compile script packaged with it gives:

cc -c BlockIP2.c
ld -L/usr/vac/lib -o BlockIP2 BlockIP2.o -bE:BlockIP2.exp -H512 -T512 -e MQStart -bM:SRC -lc -lmqm_r

Which I imagine is for AIX, certainly most of the linker options don't seem to be valid on Solaris.

I tried to convert it to a makefile for gcc:

BlockIP2: BlockIP2.c
gcc -L/usr/lib/ -o BlockIP2 BlockIP2.c -lc -lmqmr -lmqm

But it still doesn't want to work, I get an undefined symbol 'main'.
I guess this is because I'm not importing the .exp file with the entry points, so it's looking for main, when it should be looking for MQStart.

I'm not a developer though, I actually have no idea what I'm talking about.
If anyone can give me some pointers, I'd be grateful.

And I can't use the SUN cc compiler, it's not free (as in beer).

TIA
Steve
Back to top
View user's profile Send private message
sproot
PostPosted: Tue Jun 21, 2005 5:15 am    Post subject: Reply with quote

Newbie

Joined: 21 Jun 2005
Posts: 4

Doh!

Looked in the code - the gcc options are listed there!

RTFM
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 Performance Monitoring » Compiling BlockIP2 on Solaris with gcc
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.