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 API Support » Compiling mirrorq on Solaris

Post new topic  Reply to topic
 Compiling mirrorq on Solaris « View previous topic :: View next topic » 
Author Message
srinivas.ganapathi
PostPosted: Fri Apr 10, 2009 1:46 am    Post subject: Mirrorq in solaris Reply with quote

Newbie

Joined: 09 Jun 2008
Posts: 7

hi,

I am trying to compile the mirrorq application using gcc in solaris.I am facing some issues in doing that . I have pasted below the error and the mak file that i am using. Kindly let me know whether i am missing anything.

root@svosidev # make -f mirrorq.mak
make: Fatal error: Don't know how to make target `-G'


This is the make file that i am using .

# This Makefile makes the mirrorq shared object (Sun Solaris)
#
all: mirrorq

# set TARGET to the name of the executable to create
TARGET = mirrorq

# CC defines the compiler.
CC = /usr/local/bin/gcc

# Set CCOPTS - the compiler options.
CCOPTS = -c -DUNIX -MD

DEFS= -DTRACE -DOLD_IOSTREAM -Dsun -Dsparc -DBSD_COMP -DUNIX -DSolaris2=6

# MQM library directory
MQMLIB = /usr/lib

# set LIBS to list all the libraries ld should link with.
LIBS = -lmqm -lmqmcs -lmqmzse -lmqmzf -lc -lm -lsocket

# set OBJS to list all required subroutines
OBJS = mirrorq.o
mirrorq : $(OBJS) $(CC) -G -o mirrorq $(OBJS) -mt -L$(MQMLIB) -L. $(LIBS)
mirrorq.o : mirrorq.c
.c.o: $(CC) $(CCOPTS) -I. -I/usr/include -I/usr/include/sys -I/usr/lpp/mqm/inc $<
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 API Support » Compiling mirrorq 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.