Web lists-archives.org

Re: Library Problem




On Fri, Nov 23, 2007 at 12:21:17AM +0100, s.krulj@xxxxxx wrote:
>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"

You need to put the -lflv after the test.c:

gcc test.c -lflv -o test.exe

cgf

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