On Mon, 11 Mar 2002 12:18:31 -0800 (PST), you wrote:

>Okay. Your email had:
>
> c++ -O2 -Wall -I/usr/X11R6/include -s -L/usr/X11R6/lib -lSM -lICE -lX11
> -o bbpager bbpager.o Image.o LinkedList.o Timer.o main.o resource.o
> Baseresource.o Basewindow.o BaseDisplay.o wminterface.o NETInterface.o
> -L/usr/X11R6/lib
>
> Here are the error messages (from standard error):
>
> bbpager.o(.text+0x6c):bbpager.cc: undefined reference to `XrmInitialize'
> bbpager.o(.text+0x5ab):bbpager.cc: undefined reference to `XUnmapWindow'
> bbpager.o(.text+0x652):bbpager.cc: undefined reference to `XDestroyWindow'
> bbpager.o(.text+0x7ac):bbpager.cc: undefined reference to `XUnmapWindow'
>
>These are all XLIB functions. I don't use Cygwin, but you need to make
>sure that this Xlib.h definitions and libX11 library is found.
>
>Where is Xlib.h on your system?
>
>Where is libX11 on your system?
>
>  Jeremy C. Reed


Going into the bash shell that's part of cygwin and using find from
the virtual root, I found the two files in these places:

/usr/X11R6/include/X11/Xlib.h

/usr/X11R6/bin/libX11.dll
/usr/X11R6/lib/libX11.a

There was not libX11.so to be found.  Maybe that's one of the parts
that is missing.

I did find it interesting that the argument "-L/usr/X11R6/lib" appears
twice in the c++ command, once at the end and once near the beginning.

escargo
David S. Cargo ([EMAIL PROTECTED])

Reply via email to