[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
trunk build failure on Solaris 2.6
From: |
Katsumi Yamaoka |
Subject: |
trunk build failure on Solaris 2.6 |
Date: |
Fri, 19 Oct 2007 09:45:31 +0900 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) |
Hi,
I don't know at all what's going on but this change
2007-10-17 Chong Yidong <address@hidden>
* 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,
- trunk build failure on Solaris 2.6,
Katsumi Yamaoka <=
- Re: trunk build failure on Solaris 2.6, William Xu, 2007/10/18
- Re: trunk build failure on Solaris 2.6, Chong Yidong, 2007/10/18
- Re: trunk build failure on Solaris 2.6, Chong Yidong, 2007/10/19
- Re: trunk build failure on Solaris 2.6, Dan Nicolaescu, 2007/10/19
- Re: trunk build failure on Solaris 2.6, Chong Yidong, 2007/10/19