delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/06/04:15:19

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: libraries linking problem
Date: Tue, 6 Nov 2001 14:43:22 +0530
Message-ID: <1A9DB8F9CE0DE64BAC2BA2ACC4E367FE018835@mtv01ex02.mindtree.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: libraries linking problem
Thread-Index: AcFmF3mk/mkplUlZSNyYihJZlBaKBgAixV4Q
From: "Prasad Valmeti" <prasadv AT mindtree DOT com>
To: "Pavel Tsekov" <ptsekov AT syntrex DOT com>
Cc: <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 06 Nov 2001 09:13:22.0734 (UTC) FILETIME=[48A1A4E0:01C166A3]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id fA69FJH22996

Hi all,
	Sorry for inconvienence ... this is continuation to the mail below.
	I have used pexports to make *.def file from the snmp_pp_native.dll.
	Then i have created snmp_pp_native.a using dlltool command.

	I have given path for that.
	But still i am not able to link SNMP++ libraries from cygwin-gcc.

	Is there any person who have successfully linked SNMP++ libraries
using cygwin-gcc?
	Please help me to solve this problem.
Thanks,
 Prasad.

-----Original Message-----
From: Pavel Tsekov [mailto:ptsekov AT syntrex DOT com]
Sent: Monday, November 05, 2001 10:02 PM
To: Prasad Valmeti
Cc: cygwin AT cygwin DOT com
Subject: Re: libraries linking problem


Check the maling list archive on cygwin's website for a
post with the subject "Re: linking against dlls" from
Charles S. Wilson posted on 08/24/2001 :)

Btw I think there was a recent discussion on SNMP++ on
the mailing list so you probably could check for that too :)


Prasad Valmeti wrote:
> 
>  Hi all,
>          I have installed gcc on windows using cygwin.
>          I am linking SNMP++ library using gcc in windows to run snmpget
> commands.
>          I have downloaded SNMP++ for windows, i am trying to link
libraries
> but i am getting                   problems.
>            I am not understanding how to link libraries in cygwin-gcc.
> 
>            I have snmp_pp_native.dll and also snmp_pp_native.lib after
> installing SNMP++ on windows.
> 
>            I have given path for library file snmp_pp_native.lib, that
would
> n't work.
>            I have tried to create snmp_pp_native.def and then from that
> snmp_pp_native.a using     dlltool, in this case it is telling "No symbols
in
> in dll".
> 
>            I am sending error which i am getting and also Makefile which i
> have used...
>            Please help me to sort out this problem....
>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019