delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/02/16:48:48

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
From: "bruno patin" <bruno DOT patin AT wanadoo DOT fr>
To: <cygwin AT cygwin DOT com>
Subject: compilation
Date: Mon, 2 Jul 2001 22:44:47 +0200
Message-ID: <LPBBIDGJJGJKCELBBBCEEEKGCFAA.bruno.patin@wanadoo.fr>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Importance: Normal

I have the same error than was reported some months ago. I made an extract
to remind the problem

--------
John,

On Fri, Mar 09, 2001 at 06:52:53PM -0500, fortinj AT attglobal DOT net wrote:
> Cannot export _bss_end__: symbol not defined
> Cannot export _bss_start__: symbol not defined
> Cannot export _data_end__: symbol not defined
> Cannot export _data_start__: symbol not defined
> collect2: ld returned 1 exit status

I've gotten the above error message when the DLL is not exporting any
symbols.  Add at least one __declspec(dllexport) attribute, use a .def
file, or -Wl,--export-all-symbols.
-------
> I've gotten the above error message when the DLL is not exporting any
> symbols.  Add at least one __declspec(dllexport) attribute, use a .def
> file, or -Wl,--export-all-symbols.
>
> Jason
>

I added the -Wl,--export-all-symbols which did not work :(

However, when I used the *.def file it worked. :)
Thanks for the insight!
------

I also try the Wl solution for the same answer. My problem is that I don't
really know what is a .def file as I come from unix. Could you point me a
doc on this subject ?

thanks in advance


--
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