all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* trunk build failure on Solaris 2.6
@ 2007-10-19  0:45 Katsumi Yamaoka
  2007-10-19  2:50 ` William Xu
  2007-10-19  3:12 ` Chong Yidong
  0 siblings, 2 replies; 22+ messages in thread
From: Katsumi Yamaoka @ 2007-10-19  0:45 UTC (permalink / raw)
  To: emacs-devel

Hi,

I don't know at all what's going on but this change

2007-10-17  Chong Yidong  <cyd@stupidchicken.com>

	* configure.in (HAVE_RES_INIT): Define if res_init() exists.
	(HAVE_LIBRESOLV): Also define if we are using res_init().

makes Solaris 2.6 with Gcc 3.3 use res_init and fail to build
Emacs trunk.

config.log
==========
configure:19614: checking for res_init
[...]
configure:19693: result: no
configure:19704: checking for res_init with -lresolv
configure:19729: gcc -o conftest -I/usr/local/include -I/usr/local/X11/include\
 -g -O2 -I/usr/local/include -I/usr/local/X11/include -L/usr/local/lib\
 -L/usr/local/X11/lib conftest.c -lmail -lm -lXext -lXmu -lXt -lSM -lICE -lX11\
 -lsocket -lnsl -lkstat -lresolv >&5
configure:19735: $? = 0
configure:19751: result: yes

make bootstrap
==============
gcc [...] -o temacs [...]
Undefined  first referenced
 symbol        in file
res_init       process.o  (symbol belongs to implicit dependency /usr/lib/libresolv.so.2)
ld: fatal: Symbol referencing errors. No output written to temacs

Removing the `#define HAVE_RES_INIT 1' line in config.h does the
trick.  Does adding something to s/sol2*.h solve it?  Sorry, I
have no Solaris machine other than 2.6 (this is in the office,
so I cannot fiddle it in the week end).

Regards,

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2007-11-06  2:15 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-19  0:45 trunk build failure on Solaris 2.6 Katsumi Yamaoka
2007-10-19  2:50 ` William Xu
2007-10-19  3:12 ` Chong Yidong
2007-10-19  3:51   ` William Xu
2007-10-19  4:22     ` Chong Yidong
2007-10-19  5:47       ` William Xu
2007-10-19 15:29         ` Chong Yidong
2007-10-19 16:20           ` William Xu
2007-10-19 19:48       ` Chong Yidong
2007-10-19 20:31         ` Dan Nicolaescu
2007-10-19 20:42           ` Chong Yidong
2007-10-20  1:42             ` YAMAMOTO Mitsuharu
2007-10-20 17:05               ` Chong Yidong
2007-10-21  5:10                 ` YAMAMOTO Mitsuharu
2007-10-21  5:46                   ` William Xu
2007-10-22 14:46                   ` Chong Yidong
2007-11-05 11:12                     ` Mark Aufflick
2007-11-06  2:15                       ` Richard Stallman
2007-10-21  2:22             ` William Xu
2007-10-20  0:31           ` Evil Boris
2007-10-19  7:10     ` Cyrus Harmon
2007-10-19  4:33   ` Katsumi Yamaoka

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.