Author |
Message
|
Devasis.Sahu |
Posted: Tue May 10, 2005 1:20 am Post subject: IA07 |
|
|
 Apprentice
Joined: 22 Feb 2003 Posts: 43 Location: India
|
Hi Guys,
I am trying to compile the SendMail plugin on Solaris environment. However, i need some help. The first line of the makefile says "
DEFINES = -DAIX -qcpluscmt -DSENDMAIL
I am not able to understand what this stands for ? Could anybody help me in the same.
Regds |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue May 10, 2005 3:15 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I'd say that it sets the value of the DEFINES variable for later use in the makefile.
In the case you specified, it appears to indicate that the platform is AIX. I don't know the -q or the other -d. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Devasis.Sahu |
Posted: Wed May 11, 2005 1:29 am Post subject: problem during deployment |
|
|
 Apprentice
Joined: 22 Feb 2003 Posts: 43 Location: India
|
Hi ,
when i try to deploy the SendMailplugin file into broker ( after compiling it in Solaris environment)...i am getting the follwoing erros.
May 11 17:01:14 DDCMSWBIPU1 MQSIv500[23030]: [ID 702911 user.error] (BKGLSD01.de
fault)[1]BIP2308E: File '/opt/mqsi/lil/SendMailPlugIn.lil' could not be loaded;
operating system return code 'ld.so.1: DataFlowEngine: fatal: relocation error:
file /opt/mqsi/lil/SendMailPlugIn.lil: symbol TcpCleanUp: referenced symbol not
found'. : BKGLSD01.2dea8e35-0301-0000-0080-f7dd6514b7b7: /build/S500_P/src/DataF
lowEngine/DataFlowDLL/Unix/ImbLibrary.cpp: 123: ImbLibrary::ImbLibrary: :
Kindly advise what is wrong in the same.
Regds |
|
Back to top |
|
 |
JT |
Posted: Wed May 11, 2005 11:23 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
|
Back to top |
|
 |
Devasis.Sahu |
Posted: Wed May 11, 2005 10:16 pm Post subject: Compiling problem |
|
|
 Apprentice
Joined: 22 Feb 2003 Posts: 43 Location: India
|
Hi JT,
Thanx for the input . I was able to compile the makefile. Howver, when i am trying to deploy the same to my broker....it is throwing out some error as mentioned below.
May 12 11:30:05 DDCMSWBIPU1 MQSIv500[9804]: [ID 702911 user.error] (BKGLSD01.def
ault)[1]BIP2301E: File '/opt/mqsi/lil/SendMailPlugIn.lil' does not contain suita
ble entry points. : BKGLSD01.2dea8e35-0301-0000-0080-f7dd6514b7b7: /build/S500_P
/src/DataFlowEngine/DataFlowDLL/Unix/ImbLibrary.cpp: 152: ImbLibrary::ImbLibrary
May 12 11:44:39 DDCMSWBIPU1 MQSIv500[9804]: [ID 702911 user.error] (BKGLSD01.def
ault)[24]BIP2241E: LIL not found for message flow node type 'SendMailPlugInNode'
in message flow 'E_Mail'. : BKGLSD01.2dea8e35-0301-0000-0080-f7dd6514b7b7: /bui
ld/S500_P/src/DataFlowEngine/ImbDataFlowManager.cpp: 742: ImbDataFlowManager::cr
eateNode: MessageFlow: 1ee803cf-0301-0000-0080-cdd972d2c8de
=============================================
from the error it looks like the node which was created , either didnot have a input terminal or an output terminal.
I am attaching my makefile for your reference.
================================================
DEFINES = -DSUN -xCC -DSMTP
CC = /opt/SUNWspro/bin/cc
MQSIROOT = /opt/wmqi
MQSISAMPLE = $(MQSIROOT)/sample/extensions/nodes
MQSIINCLUDE = -I$(MQSIROOT)/include -I$(MQSIROOT)/include/plugin -I$(MQSISAMPLE)
HOMEDIR = /home/mqm
SMTPDIR = $(HOMEDIR)/SimpleSMTP
SRCDIR = $(HOMEDIR)/src
MIMEDIR = $(HOMEDIR)/mime
all: SendMailPlugIn.lil
SendMailPlugIn.o: SendMailPlugIn.c SendMailPlugIn.h
$(CC) -I. $(MQSIINCLUDE) -c SendMailPlugIn.c $(DEFINES)
SendMessage.o: SendMessage.c SendMessage.h
$(CC) -I. -c SendMessage.c $(DEFINES)
node_utils.o: node_utils.c node_utils.h
$(CC) -I. $(MQSIINCLUDE) -c node_utils.c $(DEFINES)
stringbuffer.o: $(SRCDIR)/stringbuffer.c $(SRCDIR)/stringbuffer.h
$(CC) -I. -c $(SRCDIR)/stringbuffer.c $(DEFINES)
smtp.o: $(SMTPDIR)/smtp.c $(SMTPDIR)/smtp.h
$(CC) -I. -c $(SMTPDIR)/smtp.c $(DEFINES)
tcp_util.o: $(SRCDIR)/tcp_util.c $(SRCDIR)/tcp_util.h
$(CC) -I. -c $(SRCDIR)/tcp_util.c $(DEFINES)
mime.o: $(MIMEDIR)/mime.c $(MIMEDIR)/mime.h
$(CC) -I. -c $(MIMEDIR)/mime.c $(DEFINES)
quotedprintable.o: $(MIMEDIR)/qp/quotedprintable.c $(MIMEDIR)/qp/quotedprintable.h
$(CC) -I. -c $(MIMEDIR)/qp/quotedprintable.c $(DEFINES)
base64.o: $(MIMEDIR)/base64/base64.c $(MIMEDIR)/base64/base64.h
$(CC) -I. -c $(MIMEDIR)/base64/base64.c $(DEFINES)
BipSampPluginUtil.o: $(MQSISAMPLE)/BipSampPluginUtil.c $(MQSISAMPLE)/BipSampPluginUtil.h
$(CC) -I. $(MQSIINCLUDE) -c $(MQSISAMPLE)/BipSampPluginUtil.c $(DEFINES)
SendMailPlugIn.lil: SendMailPlugIn.o smtp.o mime.o base64.o quotedprintable.o stringbuffer.o SendMessage.o node_utils.o BipSampPluginUtil.o tcp_util.o
cc -G -o smtp/SendMailPlugIn.lil -L $(MQSIROOT)/lib -l imbdfplg SendMailPlugIn.o smtp.o mime.o base64.o quotedprintable.o stringbuffer.o SendMessage.o node_utils.o BipSampPluginUtil.o tcp_util.o -lsocket -lnsl
===============================================
Any resolutions will be highly useful as we have a delivery and it is stuck up becasue of this. Thanx in advance.
Regds |
|
Back to top |
|
 |
|