Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2002 22:20:39 +0300
From:      Vallo Kallaste <vallo@estcard.ee>
To:        freebsd-current@freebsd.org
Cc:        anholt@freebsd.org
Subject:   imake-4 build broken
Message-ID:  <20021010192039.GA21880@myhakas.internal>

next in thread | raw e-mail | index | archive | help
Hi

imake-4 port building is broken. I guess that's because
xc/config/makedepend/main.c defines _POSIX_SOURCE before including
<signal.h>. Signal.h includes <sys/signal.h> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021010192039.GA21880>