X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <18604835.post@talk.nabble.com> Date: Tue, 22 Jul 2008 23:49:56 -0700 (PDT) From: Stefano Facchetti To: cygwin AT cygwin DOT com Subject: Re: Build problems In-Reply-To: <488659B2.C1DDD63@dessent.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: s DOT facchetti AT kline DOT it References: <18599595 DOT post AT talk DOT nabble DOT com> <488659B2 DOT C1DDD63 AT dessent DOT net> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I build my custom dll in this two step: g++ -c festivalDll.cc -L. -lfestival -lestools -lestbase -leststring -ltermca p -lwinmm -I ../src/include/ -I ../../speech_tools/include/ -I ./ -o festivalDl l.o -mno-cygwin -I./mingw/include -L./mingw/lib/ g++ -shared -o festival.dll festivaldll.o -L. -lfestival -lestools -lestbase -leststring -ltermcap -lwinmm -I ../src/include/ -I ../../speech_tools/include/ -I ./ -mno-cygwin -I./mingw/include -L./mingw/lib/ Without the command: "-mno-cygwin -I./mingw/include -L./mingw/lib/" all work well, but when I use my custom dll from c# .NET through PInvoke tha application freeze. Reading on internet, I have find a suggestion: build the dll with MinGw libs.. but I have some errors. Output of first command: undefine reference to '_getservbyname' undefine reference to '_shutdown' and more.. Thanks. -- View this message in context: http://www.nabble.com/Build-problems-tp18599595p18604835.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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/