| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <5f08076705012322521cc119f3@mail.gmail.com> |
| Date: | Mon, 24 Jan 2005 12:22:35 +0530 |
| From: | Pradip Jadav <pradipjadav AT gmail DOT com> |
| Reply-To: | Pradip Jadav <pradipjadav AT gmail DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | ld error while making a dll for module |
| Mime-Version: | 1.0 |
| X-IsSubscribed: | yes |
------=_Part_4151_30315132.1106549555456
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
hi all ,
here i m having a prob regarding creating a shared dll. what exactly
is that i m having a code which is abt a proxy server. It is linux
based source code and i m porting it to windows with the help of
CYGWIN .. Its exe is working fine ..Now i m going to create add-on
module for that project.. Its abt CLAMAV antivirus. I have all header
files, llibclamav, etc. Now when i m going to create shared dll
using following Makefile ::--
CXX = g++
CXXFLAGS = -g -O2 -I../../include -I. -Wall -Wno-sign-compare
-Wno-unknown-pragmas -Wno-format -D_GNU_SOURCE
clamavlib.DLL : clamavlib.c
${CXX} $< ${CXXFLAGS} -Wl, -shared -L. -lclamav -Wl,-soname,$@ -o $@
clean:
rm -f libclamavlib.DLL clamavlib.DLL
It is giving me ld error which is i m attaching as a file .
So now my question is "Is my code for makefile is correct ??" If any
solution for the error then plz help me..
------=_Part_4151_30315132.1106549555456
Content-Type: message/rfc822; name="clamavLDerror.txt"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="clamavLDerror.txt"
------=_Part_4151_30315132.1106549555456
Content-Type: text/plain; charset=us-ascii
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
------=_Part_4151_30315132.1106549555456--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |