dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Compiling the Simulator for X11 under cygwin

Compiling the Simulator for X11 under cygwin

From: <>
Date: Sun, 2 Feb 2003 06:59:15 -0500

I'm trying to compile the Simulator target for X11 under cygwin. Out of the
box, the X11 headers aren't found, and compilation errors out because of

  INCLUDES += -I/usr/X11R6/include
  LIBDIRS = -L/usr/X11R6/lib
to uisimulator/Makefile
in the else branch of ifeq ($(UNAME),Linux) (it's already added to the true
branch) solves this problem.

Linking bombs because cygwin appears to have no libnsl.

Removing -lnsl from the linker flags solves this problem.

Linking then bombs because various X11 functions can't be found, starting
with _XInternAtom:
/home/rockbox/rockbox-daily-20030127/uisimulator/x11/vroot.h:88: undefined
reference to `_XInternAtom'

The cygwin man and info pages describe XInternAtom, but don't describe what
lib implements it.

Anybody have any idea what cygwin lib implements these functions?

Alternately, given that cygwin comes with executables that apparently
reference this function (as determined by strings executable_name | grep
XInternAtom), isn't there some magic utility that gives all the libs used by
an executable?

Received on 2003-02-02

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy