emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

23.0.50; Undefined symbol: _res_9_init


From: Peter Dyballa
Subject: 23.0.50; Undefined symbol: _res_9_init
Date: Fri, 19 Oct 2007 17:38:31 +0200

Hello!

Since some hours of CVS updating a 'make bootstrap' ends reliably with:

gcc -I/sw/include -L/sw/lib -prebind -Xlinker -headerpad -Xlinker 690 -dead_strip -multiply_defined suppress -bind_at_load -L/sw/lib/ freetype219/lib -L/sw/lib/fontconfig2/lib -L/sw/lib/ncurses -L/usr/ local/lib -L/sw/lib -L/usr/X11R6/lib -o temacs pre-crt0.o dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o charset.o coding.o category.o ccl.o cm.o term.o terminal.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o abbrev.o syntax.o unexmacosx.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o terminfo.o lastfile.o widget.o ../lwlib/ liblw.a -L/usr/X11R6/lib -lXaw3d -lXmu -lXt -lSM -lICE -lXext -ltiff - ljpeg -lpng -lz -lm -lgif -lXpm -lX11 -L/sw/lib -lrsvg-2 - lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl - liconv -lncurses
        /sw/lib/odcctools/bin/ld: Undefined symbols:
        _res_9_init
        collect2: ld returned 1 exit status
        make[2]: *** [temacs] Error 1
        make[2]: Target `bootstrap' not remade because of errors.
        make[1]: *** [bootstrap-build] Error 2
        make: *** [bootstrap] Error 2

And I have no idea what res_9_init might be ... ahh: it's in resolv.h! Never had a problem before with this:

        #ifndef __BIND_NOSTATIC
        ...
        #define res_init                        res_9_init
        ...

Used from src/process.c only:

gcc -I/sw/include -L/sw/lib -c -DMAC_OSX -H -no-cpp-precomp -I/usr/ include/openssl - I/sw/include/pango-1.0 -I/sw/lib/freetype219/ include -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/fontconfig2/ include -I/sw/include/libpng12 -I/usr/local/include -I/sw/include - Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/Users/pete/Quellen/ Emacs_CVS/emacs/src -DMAC_OSX -I/usr/X11R6/include -Dtemacs -I/sw/ include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 -I/ sw/include/librsvg-2 -H -pipe -bind_at_load -fPIC -mcpu=7450 - mtune=7450 -fast -mpim-altivec -ftree-vectorize -foptimize-register- move -freorder-blocks -freorder-blocks-and-partition -fthread-jumps - fpeephole -fno-crossjumping process.c
        . ./config.h
        .. ./s/darwin.h
        .. ./m/powermac.h
        .. /usr/include/string.h
        ... /usr/include/_types.h
        .... /usr/include/sys/_types.h
        ..... /usr/include/sys/cdefs.h
        ..... /usr/include/machine/_types.h
        ...... /usr/include/ppc/_types.h
        .. /usr/include/strings.h
        .. /usr/include/stdlib.h
        ... /usr/include/sys/wait.h
        .... /usr/include/sys/signal.h
        ..... /usr/include/sys/appleapiopts.h
        ..... /usr/include/machine/signal.h
        ...... /usr/include/ppc/signal.h
        .... /usr/include/sys/resource.h
        .... /usr/include/machine/endian.h
        ..... /usr/include/ppc/endian.h
        ...... /usr/include/sys/_endian.h
        ....... /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/stdint.h
        ....... /usr/include/libkern/OSByteOrder.h
        ........ /usr/include/libkern/ppc/OSByteOrder.h
        ... /usr/include/alloca.h
        ... /usr/include/machine/types.h
        .... /usr/include/ppc/types.h
        . /usr/include/signal.h
        . /usr/include/stdio.h
        . /usr/include/errno.h
        .. /usr/include/sys/errno.h
        . /usr/include/setjmp.h
        .. /usr/include/machine/setjmp.h
        ... /usr/include/ppc/setjmp.h
        . /usr/include/sys/types.h
        . /usr/include/sys/file.h
        .. /usr/include/sys/fcntl.h
        .. /usr/include/sys/unistd.h
        .. /usr/include/sys/queue.h
        . /usr/include/sys/stat.h
        . /usr/include/unistd.h
        .. /usr/include/sys/select.h
        ... /usr/include/sys/time.h
        .... /usr/include/time.h
        ..... /usr/include/machine/_limits.h
        ...... /usr/include/ppc/_limits.h
        . /usr/include/sys/socket.h
        .. /usr/include/machine/param.h
        ... /usr/include/ppc/param.h
        . /usr/include/netdb.h
        .. /usr/include/netinet/in.h
        ... /usr/include/netinet6/in6.h
        . /usr/include/arpa/inet.h
        .. /usr/include/sys/param.h
        ... /usr/include/sys/syslimits.h
        ... /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/limits.h
        .... /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/syslimits.h
        ..... /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/limits.h
        ...... /usr/include/limits.h
        ....... /usr/include/machine/limits.h
        ........ /usr/include/ppc/limits.h
        . /usr/include/sys/un.h
        . /usr/include/sys/ioctl.h
        .. /usr/include/sys/ttycom.h
        ... /usr/include/sys/ioccom.h
        .. /usr/include/sys/filio.h
        .. /usr/include/sys/sockio.h
        . /usr/include/net/if.h
        .. /usr/include/net/if_var.h
        . /usr/include/arpa/nameser.h
        . /usr/include/resolv.h
        . lisp.h
        . systime.h
        . systty.h
        .. /usr/include/termios.h
        ... /usr/include/sys/termios.h
        .... /usr/include/sys/ttydefaults.h
        .. /usr/include/fcntl.h
        . window.h
        .. dispextern.h
        ... /usr/X11R6/include/X11/Xlib.h
        .... /usr/X11R6/include/X11/X.h
        .... /usr/X11R6/include/X11/Xfuncproto.h
        .... /usr/X11R6/include/X11/Xosdefs.h
        .... /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/stddef.h
        ... /usr/X11R6/include/X11/Intrinsic.h
        .... /usr/X11R6/include/X11/Xutil.h
        .... /usr/X11R6/include/X11/Xresource.h
        .... /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/stddef.h
        .... /usr/X11R6/include/X11/Core.h
        .... /usr/X11R6/include/X11/Composite.h
        .... /usr/X11R6/include/X11/Constraint.h
        .... /usr/X11R6/include/X11/Object.h
        .... /usr/X11R6/include/X11/RectObj.h
        . buffer.h
        . charset.h
        . coding.h
        .. ccl.h
        . process.h
        . frame.h
        . termhooks.h
        . termopts.h
        . commands.h
        . keyboard.h
        . blockinput.h
        .. atimer.h
        . composite.h
        . syssignal.h
        . syswait.h
        . sysselect.h
        process.c: In function ‘Fmake_network_process’:
process.c:3037: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness process.c:3082: warning: pointer targets in assignment differ in signedness process.c:3097: warning: pointer targets in passing argument 1 of ‘getaddrinfo’ differ in signedness process.c:3122: warning: pointer targets in passing argument 1 of ‘getservbyname’ differ in signedness process.c:3273: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness process.c:3371: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness
        process.c: In function ‘Fnetwork_interface_info’:
process.c:3737: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness
        process.c: In function ‘server_accept_connection’:
process.c:4021: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness process.c:4149: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness
        process.c: In function ‘wait_reading_process_output’:
process.c:4919: warning: pointer targets in passing argument 3 of ‘getpeername’ differ in signedness
        process.c: In function ‘read_process_output’:
process.c:5064: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness
        process.c: In function ‘send_process’:
process.c:5516: warning: pointer targets in passing argument 2 of ‘encode_coding’ differ in signedness
        process.c: In function ‘emacs_get_tty_pgrp’:
process.c:5850: warning: pointer targets in passing argument 1 of ‘emacs_open’ differ in signedness
        process.c: In function ‘Fsignal_process’:
process.c:6293: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness process.c:6293: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness process.c:6299: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6302: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6305: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6308: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6311: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6314: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6317: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6320: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6323: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6326: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6329: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6332: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6335: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6338: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6341: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6344: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6347: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6350: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6353: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6356: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6359: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6362: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6365: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6368: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6371: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6374: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6377: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6380: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6383: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness process.c:6386: warning: pointer targets in passing argument 2 of ‘xstricmp’ differ in signedness



In GNU Emacs 23.0.50.1 (powerpc-apple-darwin8.10.0, X toolkit, Xaw3d scroll bars)
 of 2007-10-15 on localhost
Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000 configured using `configure '--without-gtk' '--without-sound' '-- without-pop' '--with-x-toolkit=lucid' '--with-xpm' '--with-jpeg' '-- with-tiff' '--with-gif' '--with-png' '--enable-locallisppath=/Library/ Application Support/Emacs/calendar22:/Library/Application Support/ Emacs/caml:/Library/Application Support/Emacs:/sw/share/emacs21/site- lisp/elib' 'CPPFLAGS=-no-cpp-precomp -I/usr/include/openssl -I/sw/ include/pango-1.0 -I/sw/lib/freetype219/include -I/sw/lib/freetype219/ include/freetype2 -I/sw/lib/fontconfig2/include -I/sw/include/ libpng12 -I/usr/local/include -I/sw/include' 'CXXFLAGS=-no-cpp- precomp -I/usr/include/openssl -I/sw/include/pango-1.0 -I/sw/lib/ freetype219/include -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/ fontconfig2/include -I/sw/include/libpng12 -I/usr/local/include -I/sw/ include' 'CFLAGS=-pipe -bind_at_load -fPIC -mcpu=7450 -mtune=7450 - fast -mpim-altivec -ftree-vectorize -foptimize-register-move - freorder-blocks -freorder-blocks-and-partition -fthread-jumps - fpeephole -fno-crossjumping' 'LDFLAGS=-dead_strip -multiply_defined suppress -bind_at_load -L/sw/lib/freetype219/lib -L/sw/lib/ fontconfig2/lib -L/sw/lib/ncurses -L/usr/local/lib -L/sw/lib''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: de_DE.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Compilation

Minor modes in effect:
  TeX-PDF-mode: t
  shell-dirtrack-mode: t
  show-paren-mode: t
  display-time-mode: t
  desktop-save-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t


--
Mit friedvollen Grüßen

  Pete

"A lot of people mistake a short memory for a clear conscience."
                                                     Doug Larson






reply via email to

[Prev in Thread] Current Thread [Next in Thread]