From owner-freebsd-questions Sun Aug 4 19:18:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFF3D37B400 for ; Sun, 4 Aug 2002 19:18:11 -0700 (PDT) Received: from aragorn.neomedia.it (aragorn.neomedia.it [195.103.207.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A66C43E42 for ; Sun, 4 Aug 2002 19:18:10 -0700 (PDT) (envelope-from bartequi@neomedia.it) Received: from localhost (aragorn.neomedia.it [195.120.250.6] (may be forged)) by aragorn.neomedia.it (8.12.3/8.12.3) with ESMTP id g752I5Yi012175; Mon, 5 Aug 2002 04:18:06 +0200 (CEST) Received: from 213.144.203.161 ([213.144.203.161]) by webmail.neomedia.it (IMP) with HTTP for ; Mon, 5 Aug 2002 04:18:05 +0200 Message-ID: <1028513885.3d4de05d6d98f@webmail.neomedia.it> Date: Mon, 5 Aug 2002 04:18:05 +0200 From: Salvo Bartolotta To: Kai Haberzettl Cc: questions@freebsd.org Subject: Re: XFree86-4-libraries fails to compile MIME-Version: 1.0 Content-Type: text/plain; charset=Any Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1.1-cvs X-WebMail-Company: Neomedia X-Originating-IP: 213.144.203.161 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kai Haberzettl wrote: > While trying portupgrade -ar , the XFree86-4-libraries port fails to > compile which keeps tons of other ports from being upgraded as they > depend on this. > I'm running 4.6-STABLE. > This is how the compile ends - any ideas? LD_LIBRARY_PATH=../../exports/lib cc -o makekeys -O -pipe -ansi -pedantic -Das m=__asm -Wall -Wpointer-arith -I../.. -I../../exports/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -D_REENTRANT -D_THREAD_SAFE -DXUSE_MT SAFE_API -DXNO_MTSAFE_PWDAPI -DMALLOC_0_RETURNS_NULL -DHAS_SNPRINTF -DLIBX11 -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith -I../.. -I../../exports /include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -D_REENTRANT - D_THREAD_SAFE -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -DMALLOC_0_RETURNS_NULL -DHAS_SNPRINTF -DLIBX11 util/makekeys.c -L/usr/X11R6/lib -pthread -Wl,-rpath ,/usr/X11R6/lib In file included from ../../exports/include/X11/Xos.h:159, from util/makekeys.c:34: /usr/include/stdlib.h:108: warning: ANSI C does not support `long long' /usr/include/stdlib.h:112: warning: ANSI C does not support `long long' /usr/lib/libc_r.so: undefined reference to `__sys_close' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ *** Error code 1 (ignored) ./makekeys < ../../exports/include/X11/keysymdef.h > ks_tables_h ./makekeys: not found *** Error code 127 Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib/X11. *** Error code 1 Stop in /usr/ports/x11/XFree86-4-libraries/work/xc/lib. *** Error code 1 Stop in /usr/ports/x11/XFree86-4-libraries/work/xc. *** Error code 1 Stop in /usr/ports/x11/XFree86-4-libraries/work/xc. *** Error code 1 Stop in /usr/ports/x11/XFree86-4-libraries. ********************************************************************** The library /usr/src/lib/libc_r has been partly modified (e.g. you cvsup'ed _part_ of the updates) and, as a result, inconsistencies have arisen. Solution: 1) (Safe but 'slow' bet) Cvsup again and remake the world; next, portupgrade again; 2) (If and only if you know exactly what you are doing) cvsup again and examine which files have been modified since your last cvsup operation; if and only if you deem it safe, go to /usr/src/lib/libc_r and issue a "make depend all install". Solution 2) is much quicker but it is potentially dangerous. You have been warned. ;-) Good luck, Salvo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message