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 » Compiling BlockIP2.c on Solaris

Post new topic  Reply to topic
 Compiling BlockIP2.c on Solaris « View previous topic :: View next topic » 
Author Message
wmqi_tx
PostPosted: Mon Feb 27, 2006 9:06 am    Post subject: Compiling BlockIP2.c on Solaris Reply with quote

Novice

Joined: 28 Sep 2005
Posts: 13

Hi All,
I have to compile the channel exit BlockIP2.c file on Sun Solaris v5.9. I have been looking for the guidelines to compile it on Solaris but could not find anywhere.
I have mq 5.3.12.

I had the file in /tmp area and tried to compile it as follows:


Quote:
./gcc BlockIP2.c -o test
Undefined first referenced
symbol in file
main ./../lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/crt1.o
ld: fatal: Symbol referencing errors. No output written to /tmp/test
collect2: ld returned 1 exit status



I know that there is some thing missing in my approach. Pls let me know how to get this compiled.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Feb 27, 2006 9:08 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Read the MQ manuals about how to compile and link. You are missing the correct link libraries...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mrlinux
PostPosted: Mon Feb 27, 2006 9:11 am    Post subject: missing C runtime libs Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Missing the C runtime libs or the correct path
main ./../lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/crt1.o
_________________
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
wschutz
PostPosted: Mon Feb 27, 2006 11:34 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

didn't you like the answer mvic gave last week?

http://www.mqseries.net/phpBB2/viewtopic.php?t=27514&highlight=blockip2

you have to link it as a channel exit ....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Compiling BlockIP2.c on Solaris
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.