[wmii] Cygwin build problem, libX11.dll.a

From: <jonth_AT_hive.is>
Date: Fri, 10 Nov 2006 16:18:04 -0000 (GMT)

Hi,
I'm fairly new to cygwin and completely new to wmii. I'm having a problem
with building wmii 3.1 on cygwin. I have a fresh install of Cygwin, and
have only added gcc, make, X11 base and X11 devel. It seems that the
linker, for some reason, can't find libX11. The most obvious reason for
that, is that the lib is actually named libX11.dll.a, rather than
libX11.a. However, this shouldn't be a problem on cygwin, unless the build
system was looking for the file by name.

Is there anyone who has built successfully on cygwin and can tell me what
I might be missing?

Respectfully,
Jon Thoroddsen

wmii build options:
LIBS = -L/usr/local/lib -L/usr/lib -lc -L/usr/X11R6/lib -lX11
CFLAGS = -O3 -I. -I/usr/local/include -I/usr/include
-I/usr/X11R6/include -DVERSION="3.1"
LDFLAGS = -L/usr/local/lib -L/usr/lib -lc -L/usr/X11R6/lib -lX11
CC = cc
make[1]: Entering directory `/Documents and Settings/jonth/wmii-3.1/libcext'
built libcext
make[1]: Leaving directory `/Documents and Settings/jonth/wmii-3.1/libcext'
make[1]: Entering directory `/Documents and Settings/jonth/wmii-3.1/liblitz'
CC color.c
CC font.c
CC draw.c
CC geometry.c
AR liblitz.a
built liblitz
make[1]: Leaving directory `/Documents and Settings/jonth/wmii-3.1/liblitz'
make[1]: Entering directory `/Documents and Settings/jonth/wmii-3.1/libixp'
built libixp
make[1]: Leaving directory `/Documents and Settings/jonth/wmii-3.1/libixp'
make[1]: Entering directory `/Documents and Settings/jonth/wmii-3.1/cmd'
CC wmiimenu.c
LD wmiimenu
../liblitz/liblitz.a(color.o):color.c:(.text+0x86): undefined reference to
`_XAllocNamedColor'
../liblitz/liblitz.a(color.o):color.c:(.text+0xd6): undefined reference to
`_XAllocNamedColor'
../liblitz/liblitz.a(color.o):color.c:(.text+0x125): undefined reference
to `_XAllocNamedColor'
../liblitz/liblitz.a(font.o):font.c:(.text+0x3d): undefined reference to
`_XmbTextExtents'
../liblitz/liblitz.a(font.o):font.c:(.text+0x68): undefined reference to
`_XTextWidth'
../liblitz/liblitz.a(font.o):font.c:(.text+0xdd): undefined reference to
`_XCreateFontSet'
../liblitz/liblitz.a(font.o):font.c:(.text+0x137): undefined reference to
`_XFreeStringList'
../liblitz/liblitz.a(font.o):font.c:(.text+0x15e): undefined reference to
`_XLoadQueryFont'
../liblitz/liblitz.a(font.o):font.c:(.text+0x1a9): undefined reference to
`_XExtentsOfFontSet'
../liblitz/liblitz.a(font.o):font.c:(.text+0x1bf): undefined reference to
`_XFontsOfFontSet'
../liblitz/liblitz.a(font.o):font.c:(.text+0x218): undefined reference to
`_XFreeFontSet'
../liblitz/liblitz.a(font.o):font.c:(.text+0x22e): undefined reference to
`_XLoadQueryFont'
../liblitz/liblitz.a(font.o):font.c:(.text+0x241): undefined reference to
`_XFreeFont'
../liblitz/liblitz.a(font.o):font.c:(.text+0x252): undefined reference to
`_XFreeFontSet'
../liblitz/liblitz.a(draw.o):draw.c:(.text+0x38): undefined reference to
`_XSetLineAttributes'
../liblitz/liblitz.a(draw.o):draw.c:(.text+0x4e): undefined reference to
`_XSetForeground'
../liblitz/liblitz.a(draw.o):draw.c:(.text+0xce): undefined reference to
`_XDrawLines'
../liblitz/liblitz.a(draw.o):draw.c:(.text+0x104): undefined reference to
`_XSetForeground'
../liblitz/liblitz.a(draw.o):draw.c:(.text+0x134): undefined reference to
`_XFillRectangles'
../liblitz/liblitz.a(draw.o):draw.c:(.text+0x1ff): undefined reference to
`_XFillRectangles'
../liblitz/liblitz.a(draw.o):draw.c:(.text+0x28b): undefined reference to
`_XChangeGC'
../liblitz/liblitz.a(draw.o):draw.c:(.text+0x3a6): undefined reference to
`_XmbDrawString'
../liblitz/liblitz.a(draw.o):draw.c:(.text+0x41a): undefined reference to
`_XDrawString'
collect2: ld returned 1 exit status
make[1]: *** [wmiimenu.o] Error 1
make[1]: Leaving directory `/Documents and Settings/jonth/wmii-3.1/cmd'
make[1]: Entering directory `/Documents and Settings/jonth/wmii-3.1/cmd/wm'
CC area.c
CC bar.c
CC client.c
CC column.c
CC event.c
CC frame.c
CC fs.c
CC key.c
CC mouse.c
CC rule.c
CC view.c
CC wm.c
LD wmiiwm
../../liblitz/liblitz.a(font.o):font.c:(.text+0x3d): undefined reference
to `_XmbTextExtents'
../../liblitz/liblitz.a(font.o):font.c:(.text+0x68): undefined reference
to `_XTextWidth'
../../liblitz/liblitz.a(font.o):font.c:(.text+0xdd): undefined reference
to `_XCreateFontSet'
../../liblitz/liblitz.a(font.o):font.c:(.text+0x15e): undefined reference
to `_XLoadQueryFont'
../../liblitz/liblitz.a(font.o):font.c:(.text+0x1a9): undefined reference
to `_XExtentsOfFontSet'
../../liblitz/liblitz.a(font.o):font.c:(.text+0x1bf): undefined reference
to `_XFontsOfFontSet'
../../liblitz/liblitz.a(font.o):font.c:(.text+0x218): undefined reference
to `_XFreeFontSet'
../../liblitz/liblitz.a(font.o):font.c:(.text+0x22e): undefined reference
to `_XLoadQueryFont'
../../liblitz/liblitz.a(font.o):font.c:(.text+0x241): undefined reference
to `_XFreeFont'
../../liblitz/liblitz.a(font.o):font.c:(.text+0x252): undefined reference
to `_XFreeFontSet'
../../liblitz/liblitz.a(draw.o):draw.c:(.text+0x4e): undefined reference
to `_XSetForeground'
../../liblitz/liblitz.a(draw.o):draw.c:(.text+0xce): undefined reference
to `_XDrawLines'
../../liblitz/liblitz.a(draw.o):draw.c:(.text+0x104): undefined reference
to `_XSetForeground'
../../liblitz/liblitz.a(draw.o):draw.c:(.text+0x134): undefined reference
to `_XFillRectangles'
../../liblitz/liblitz.a(draw.o):draw.c:(.text+0x1ff): undefined reference
to `_XFillRectangles'
../../liblitz/liblitz.a(draw.o):draw.c:(.text+0x28b): undefined reference
to `_XChangeGC'
../../liblitz/liblitz.a(draw.o):draw.c:(.text+0x3a6): undefined reference
to `_XmbDrawString'
../../liblitz/liblitz.a(draw.o):draw.c:(.text+0x41a): undefined reference
to `_XDrawString'
../../liblitz/liblitz.a(color.o):color.c:(.text+0x86): undefined reference
to `_XAllocNamedColor'
../../liblitz/liblitz.a(color.o):color.c:(.text+0xd6): undefined reference
to `_XAllocNamedColor'
../../liblitz/liblitz.a(color.o):color.c:(.text+0x125): undefined
reference to `_XAllocNamedColor'
collect2: ld returned 1 exit status
make[1]: *** [wmiiwm] Error 1
make[1]: Leaving directory `/Documents and Settings/jonth/wmii-3.1/cmd/wm'
make: *** [all] Error 2
Received on Fri Nov 10 2006 - 17:18:10 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:16:43 UTC