delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/12/03/21:36:24

From: jj AT spline DOT la DOT asu DOT edu (John Jones)
Subject: Compiling X11 clients
3 Dec 1996 21:36:24 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199612040009.RAA03914.cygnus.gnu-win32@spline.la.asu.edu>
Reply-To: jj AT asu DOT edu
Mime-Version: 1.0 (generated by tm-edit 7.93)
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I have downloaded the X11 libraries at the Univ. of Texas
archive (changing their names to be more Unix like), and
have tried to compile X11 clients with them.  It must be
possible since they have working X11 clients at the U texas
archive which work fine.  I would like to run other X11
clients (I have a commercial X11 server) under NT.

I thought I would start with something simple like xeyes,
but I get tons of error messages during the final
compilation:

gcc -o xeyes  xeyes.o Eyes.o transform.o -L/usr/lib/X11
-lm -lXmu -lXt -lXext -lX11 

produces errors such as

/usr/lib/libX11.a(X11.def)(.idata$2+0x0): multiple definition of `idata$2'
/usr/lib/libXext.a(Xext.def)(.idata$2+0x0): first defined here
/usr/lib/libX11.a(X11.def)(.idata$2+0x0): multiple definition of `idata$4'
/usr/lib/libXext.a(Xext.def)(.idata$2+0x0): first defined here
/usr/lib/libX11.a(X11.def)(.idata$2+0x0): multiple definition of `idata$5'
/usr/lib/libXext.a(Xext.def)(.idata$2+0x0): first defined here
/usr/lib/libXt.a(Initialize.obj)(.text+0x18):Initialize.c:
undefined reference to `gethostname AT 8'
/usr/lib/libXt.a(TMaction.obj)(.text+0x17e):TMaction.c: undefined reference to `_chkstk'
/usr/lib/libXt.a(TMparse.obj)(.text+0x2281):TMparse.c: undefined reference to `__mb_cur_max_dll'
/usr/lib/libXt.a(TMparse.obj)(.text+0x22a1):TMparse.c: undefined reference to `_isctype'

Does anyone know how to get this to work?  I am using b16 of
the cygnus setup.  Is it possible that the libraries were
compiled with another version of the cygnus package?
 

                                 John Jones


---------------------------------------------------------------
Department of Mathematics               Office:  PSA 729
Arizona State University                Phone:   965-3725
Tempe, AZ    85287-1804                 FAX:     965-8119
URL: http://math.la.asu.edu/~jj         e-mail:  JJ AT asu DOT edu
---------------------------------------------------------------

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019