[EMAIL PROTECTED] wrote:

> gcc -o Xtest -L/usr/X11R6/lib -lX11 Xtest.cpp

This is wrong.  Order matters.  Put -lX11 at the end (or after any
objects that refer to symbols in it), forgot all that other stuff.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/

Reply via email to