Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "bruno patin" To: Subject: compilation Date: Mon, 2 Jul 2001 22:44:47 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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/