On 17 Jan 2010, har...@email.cz wrote:
> cc -o gtk-gnutella main.o if/bridge/ui2c.o if/bridge/c2ui.o if/gnet [snip] > main.o: In function `main': > > /home/Harvie/src/gtk-gnutella-0.96.6/src/main.c:1217: undefined > reference to `___printf__' I would try to copy past the 'cc' command and add -lc to the command line. This says to link the 'c' library. It contains the definition of printf. What is at line 1217 of your main.c? Is it a printf() call? You can use objdump, and/or nm to look through the main.o and the cygwin libraries to try and find the symbol '___printf__'. My guess is that you need the additional '-lc' for some reason. hth, Bill Pringlemeir. ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ gtk-gnutella-devel mailing list gtk-gnutella-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel