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 » General IBM MQ Support » [Compile] compile amqscnxc.c

Post new topic  Reply to topic
 [Compile] compile amqscnxc.c « View previous topic :: View next topic » 
Author Message
Amazone
PostPosted: Fri Jun 09, 2006 12:51 am    Post subject: [Compile] compile amqscnxc.c Reply with quote

Novice

Joined: 17 Oct 2005
Posts: 14

hi,
I try to compile amqscnxc.c on an Sun OS plateform

I've try this command :
g++ -o amqscnxcamqscnxc.c -I/opt/mqm/inc -L/opt/mqm/lib -R/opt/mqm/lib -R/usr/lib/32 -limqb23as -limqc23as -lmqmcs -lmqmzse -lsocket -lnsl -ldl

And i've this error :

Code:
g++ -o amqscnxc amqscnxc.c -I/opt/mqm/inc -L/opt/mqm/lib -R/opt/mqm/lib -R/usr/lib/32 -limqb23as -limqc23as -lmqmcs -lmqmzse -lsocket -lnsl -ldl
Undefined                       first referenced
 symbol                             in file
MQINQ                               /var/tmp//ccSdvaGV.o  (symbol belongs to implicit dependency /opt/mqm/lib/libmqic.so)
MQCLOSE                             /var/tmp//ccSdvaGV.o  (symbol belongs to implicit dependency /opt/mqm/lib/libmqic.so)
MQCONNX                             /var/tmp//ccSdvaGV.o  (symbol belongs to implicit dependency /opt/mqm/lib/libmqic.so)
MQDISC                              /var/tmp//ccSdvaGV.o  (symbol belongs to implicit dependency /opt/mqm/lib/libmqic.so)
MQOPEN                              /var/tmp//ccSdvaGV.o  (symbol belongs to implicit dependency /opt/mqm/lib/libmqic.so)
ld: fatal: Symbol referencing errors. No output written to amqscnxc
collect2: ld returned 1 exit status
make: *** [amqscnxc] Error 1                               


I need help please!
Back to top
View user's profile Send private message Visit poster's website
Amazone
PostPosted: Fri Jun 09, 2006 1:29 am    Post subject: Reply with quote

Novice

Joined: 17 Oct 2005
Posts: 14

It's OK, i've found :

g++ -fsigned-char -I/usr/mqm/inc -L/opt/mqm/lib -limqb23as -lmqic -limqc23as -lmqmcs -lmqmzse -lsocket -lnsl -ldl amqscnxc.c -o amqscnxc
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » [Compile] compile amqscnxc.c
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.