[Tinywidgets-support]TinyWidgets installation Problem!!!
Status: Alpha
Brought to you by:
sunil_s
|
From: Sriram C. M P <sri...@lg...> - 2003-09-29 14:39:49
|
Hi,
i uncompressed the ".tar" file and run the command "make" i get the
following errors, what should i do to prevent this??
/usr/lib/libmwdrivers.so: undefined reference to `XMaskEvent'
/usr/lib/libmwdrivers.so: undefined reference to `XDrawLine'
/usr/lib/libmwdrivers.so: undefined reference to `XGetErrorText'
/usr/lib/libmwdrivers.so: undefined reference to `XGetPointerControl'
/usr/lib/libmwdrivers.so: undefined reference to `XCopyColormapAndFree'
/usr/lib/libmwdrivers.so: undefined reference to `XAllocColor'
/usr/lib/libmwdrivers.so: undefined reference to `XCreatePixmapCursor'
/usr/lib/libmwdrivers.so: undefined reference to `XSetFunction'
/usr/lib/libmwdrivers.so: undefined reference to `XFlush'
/usr/lib/libmwdrivers.so: undefined reference to `XCreateWindow'
/usr/lib/libmwdrivers.so: undefined reference to `XDefaultColormap'
/usr/lib/libmwdrivers.so: undefined reference to `XDefaultDepth'
/usr/lib/libmwdrivers.so: undefined reference to `XCheckMaskEvent'
/usr/lib/libmwdrivers.so: undefined reference to `XFillRectangle'
/usr/lib/libmwdrivers.so: undefined reference to `XUngrabKeyboard'
/usr/lib/libmwdrivers.so: undefined reference to `XUngrabPointer'
/usr/lib/libmwdrivers.so: undefined reference to `XPutImage'
/usr/lib/libmwdrivers.so: undefined reference to `XScreenOfDisplay'
/usr/lib/libmwdrivers.so: undefined reference to `XOpenDisplay'
/usr/lib/libmwdrivers.so: undefined reference to `XInstallColormap'
After running the command "./configure
--with-microwin=/home/sriram/microwin", contents of my Make.rules are as
follows:
# Make.rules.in
# A top level configuration script for TinyWidgets
# Written by Jordan Crouse
CC=gcc
AR=ar
RANLIB=ranlib
LIBDIR=$(TOP)/lib
INCDIR=$(TOP)/include
TWLIB=$(LIBDIR)/libtnW.a
CFLAGS=-Wall -O2 -DNANOX -D_NANOX -I/home/sriram/microwin/include
-I$(INCDIR)
LIBS=-ltnW -ljpeg -L/home/sriram/microwin/lib -lnano-X -lmwengine
-lmwdrivers -lmwfonts
# Common rules that everyone uses
%.o: %.c
@ echo "Compiling $<..."
@ $(CC) $(CFLAGS) -o $@ -c $<
%.d: %.c
@ $(CC) -M $(CFLAGS) $< > $@
@ $(CC) -M $(CFLAGS) $< | sed s/\\.o/.d/ >> $@
here path "/home/sriram/microwin/include" is wrong as "include" floder
is not inside "microwin" folder but is in "microwin/src". Why is this
wrong path being written in the file??
Waiting for an answer,
Regards
Sriram
|