X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Content-Type: text/plain; charset="iso-8859-1" Date: Fri, 23 Nov 2007 00:21:17 +0100 From: s DOT krulj AT gmx DOT at Message-ID: <20071122232117.17790@gmx.net> MIME-Version: 1.0 Subject: Library Problem To: cygwin AT cygwin DOT com X-Authenticated: #20323981 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) Content-Transfer-Encoding: 8bit X-GMX-UID: 1Tx/cshLeWUoSOV/RXRznsoxU3U4Nw8w X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hi! I've got a problem using the libflv library (http://klaus.geekserver.net/libflv/). The build worked without any problems. "make" produced a libflv.so file, so i copied it as "libflv.dll" to "/usr/lib". I wrote a test app and tried building it with: "gcc -lflv test.c -o test.exe" That worked well (no warnings,errors). But if I try running "./test.exe" there's no responce at all and I get the bash prompt again. user AT cygwin ~ $ ./test.exe user AT cygwin ~ $ When I remove the libflv functions I get the "printf" output... The same code works well on unix systems... Probably a linking error? How can I fix that? Thanks in advance! test.c: #include #include int main( void ){ printf("foo\n"); Stream *vstream; FlvStream *flv; int width = 400; int height = 300; srand ( time(NULL) ); vstream = ScreenVideo_newStream(width, height, 16, 9); flv = FlvStream_newStream("./out.flv", NULL, vstream , FLV_VERSION_1); ... } -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer -- 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/