From xemacs-m  Mon Feb 10 20:38:30 1997
Received: from alphatech.com (erebus.alphatech.com [198.112.236.2])
	by xemacs.org (8.8.5/8.8.5) with SMTP id UAA17675
	for <xemacs-beta@xemacs.org>; Mon, 10 Feb 1997 20:38:29 -0600 (CST)
Received: from venus.alphatech.com by alphatech.com (4.1/SMI-4.1)
	id AA29785; Mon, 10 Feb 97 21:34:09 EST
Received: from pochacco.alphatech.com by venus.alphatech.com (4.1/SMI-4.1)
	id AA05806; Mon, 10 Feb 97 21:41:44 EST
Received: by pochacco.alphatech.com (SMI-8.6/SMI-SVR4)
	id VAA08126; Mon, 10 Feb 1997 21:32:47 -0500
Date: Mon, 10 Feb 1997 21:32:47 -0500
Message-Id: <199702110232.VAA08126@pochacco.alphatech.com>
From: greg@alphatech.com (Greg Klanderman)
To: xemacs-beta@xemacs.org (XEmacs beta list)
Subject: building 19.15b93 w/ socks support
Reply-To: greg@alphatech.com



How do I get it to add "-lresolv" onto the compile line w/ Solaris 2.5?

thanks,
greg


gcc -Demacs -DHAVE_CONFIG_H    -DSTDC_HEADERS -I. -I../src -I/local/mstar/software/xemacs/build/xemacs-19.15-b93/lib-src -I/local/mstar/software/xemacs/build/xemacs-19.15-b93/lib-src/../src      -g -O2 /local/mstar/software/xemacs/build/xemacs-19.15-b93/lib-src/emacsserver.c -lsocket -lnsl -lkvm -lelf -lgen -ldl    -lsocks  -L/local/mstar/software/install/lib  -o emacsserver
Undefined			first referenced
 symbol  			    in file
_res                                /local/mstar/software/install/lib/libsocks.a(Rconnect.o)
res_init                            /local/mstar/software/install/lib/libsocks.a(Rconnect.o)
ld: fatal: Symbol referencing errors. No output written to emacsserver





Configured for `sparc-sun-solaris2.5'.

  Where should the build process find the source code?    /local/mstar/software/xemacs/build/xemacs-19.15-b93
  What installation prefix should install use?		  /local/mstar/software/xemacs/install
  What operating system and machine description files should XEmacs use?
        `s/sol2-5.h' and `m/sparc.h'
  What compiler should XEmacs be built with?              gcc -g -O2
  Should XEmacs use the GNU version of malloc?            yes
  Should XEmacs use the relocating allocator for buffers? yes
  What window system should XEmacs use?                   x11
  Where do we find X Windows header files?                /usr/openwin/include
  Where do we find X Windows libraries?                   /usr/openwin/lib
  Additional header files:                                /local/mstar/software/install/include
  Additional libraries:                                   /local/mstar/software/install/lib
  Compiling in support for SOCKS.
  Compiling in support for XAUTH.
  Compiling in support for XPM.
  Compiling in support for X-Face headers.
  Compiling in support for GIF image conversion.
  Compiling in support for JPEG image conversion.
  Compiling in support for PNG image conversion.
  Compiling in native sound support.
  Compiling in support for DBM.
  Compiling in support for SOCKS.
  Using the Lucid menubar.
  Using the Lucid scrollbar.
  Using the Motif dialog boxes.
  Compiling in extra code for debugging.
  Compiling in code for checking XEmacs memory usage.

