From owner-freebsd-current Thu Oct 10 12:20:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C642A37B401; Thu, 10 Oct 2002 12:20:45 -0700 (PDT) Received: from smtp.estcard.ee (smtp.estcard.ee [194.204.11.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58F7B43E91; Thu, 10 Oct 2002 12:20:43 -0700 (PDT) (envelope-from vallo@estcard.ee) Received: from xyz.internal (xyz.internal [192.168.10.6]) by smtp.estcard.ee (8.9.3/8.9.3) with ESMTP id WAA38433; Thu, 10 Oct 2002 22:20:41 +0300 (EEST) (envelope-from vallo@estcard.ee) Received: from myhakas.internal (myhakas.internal [192.168.10.128]) by xyz.internal (8.9.3/8.9.3) with ESMTP id WAA61099; Thu, 10 Oct 2002 22:20:40 +0300 (EEST) (envelope-from vallo@estcard.ee) Received: from myhakas.internal (localhost [127.0.0.1]) by myhakas.internal (8.12.6/8.12.6) with ESMTP id g9AJKesG021931; Thu, 10 Oct 2002 22:20:40 +0300 (EEST) (envelope-from vallo@myhakas.internal) Received: (from vallo@localhost) by myhakas.internal (8.12.6/8.12.6/Submit) id g9AJKdjY021930; Thu, 10 Oct 2002 22:20:39 +0300 (EEST) Date: Thu, 10 Oct 2002 22:20:39 +0300 From: Vallo Kallaste To: freebsd-current@freebsd.org Cc: anholt@freebsd.org Subject: imake-4 build broken Message-ID: <20021010192039.GA21880@myhakas.internal> Reply-To: kalts@estpak.ee Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i-ja.1 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi imake-4 port building is broken. I guess that's because xc/config/makedepend/main.c defines _POSIX_SOURCE before including . Signal.h includes which has conditional #if !defined(_POSIX_SOURCE) and NSIG will be left undefined. Don't know who is in fault here, imake sources or our headers, my knowledge happens to end there. rm -f main.o LD_LIBRARY_PATH=../../exports/lib cc -c -O -pipe -march=pentiumpro -march=pentiumpro -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith -I../../config/imake -I../../include -I../../exports/include/X11 -I../.. -I../../exports/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DPREINCDIR=\"/usr/include\" -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" main.c In file included from ../../include/Xos.h:229, from def.h:29, from main.c:29: /usr/include/sys/time.h: In function `timespec2bintime': /usr/include/sys/time.h:133: warning: ISO C89 forbids long long integer constants /usr/include/sys/time.h: In function `timeval2bintime': /usr/include/sys/time.h:150: warning: ISO C89 forbids long long integer constants In file included from main.c:43: /usr/include/signal.h: At top level: /usr/include/signal.h:46: `NSIG' undeclared here (not in a function) /usr/include/signal.h:46: confused by earlier errors, bailing out *** Error code 1 Stop in /usr/local/src/portbuild/usr/ports/devel/imake-4/work/xc/config/makedepend. *** Error code 1 Stop in /usr/local/src/portbuild/usr/ports/devel/imake-4/work/xc/config. *** Error code 1 Stop in /usr/ports/devel/imake-4. *** Error code 1 Stop in /usr/ports/x11/XFree86-4-libraries. *** Error code 1 Stop in /usr/ports/x11/XFree86-4. -- Vallo Kallaste kalts@estpak.ee To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message