Maulik,

In the line:
LD_SHAREDCMD=ld -G -fPIC -lapr-0 -lgcc -lc -lsocket -lnsl

I can't tell which one is bold, but anyway, that line specifies which linker command to use, and the -l options specify the loading of a library. You should check the man page for 'ld'.

And in the line:
CC_CMD= gcc -DNET_SSL -DSOLARIS -D_REENTRANT -DXP_UNIX \
   -DMCC_HTTPD -DSPAPI20 -Wall \
   -fPIC

The -Wall option is telling the compiler to give you all the warnings it can provide.

Zack


Maulik S wrote:
Hi,

I am trying to build nsapi_redirector.so from Makefile.solaris. when I tried to use make command it not works. Then i had copied to Makefile and made some changes as I found by googling. One of the important thing that I found was -

LD_SHAREDCMD=ld -G -fPIC -lapr-0 -lgcc -lc -lsocket -lnsl

By default only entry which is not shown as bold is present. So is it ok to build .so as it is or I have to use the above whole statement in the Makefile. I also not know what this entry is meant for. Can you please let me know what it is and what is the impact of it.

I also had found information from : http://mail-archives.apache.org/mod_mbox/tomcat-dev/200201.mbox/[EMAIL PROTECTED]


Here you had recommended :
CC_CMD=gcc -DNET_SSL -DSOLARIS -D_REENTRANT -DXP_UNIX \
  +     -DMCC_HTTPD -DSPAPI20 -Wall \
  +     -fPIC
What is the impact by using -Wall in CC_CMD?

I am using sun one web server 6.1 and want to connect JBoss App throughTomcat connector.

Any help would be appreciated.

Maulik H Shah
Tata Consultancy Services
Website: http://www.tcs.com
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you





---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to