From owner-freebsd-stable Tue May 20 13:04:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA22706 for stable-outgoing; Tue, 20 May 1997 13:04:53 -0700 (PDT) Received: from eva.cs.uni-magdeburg.de (eva.cs.uni-magdeburg.de [141.44.21.5]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA22680 for ; Tue, 20 May 1997 13:04:37 -0700 (PDT) Received: from pflaume.cs.uni-magdeburg.de (pflaume.cs.uni-magdeburg.de [141.44.21.44]) by eva.cs.uni-magdeburg.de (8.8.2/8.8.2) with SMTP id WAA11169 for ; Tue, 20 May 1997 22:04:33 +0200 (MET DST) Received: by pflaume.cs.uni-magdeburg.de (SMI-8.6/SMI-SVR4) id WAA03230; Tue, 20 May 1997 22:04:32 +0200 Date: Tue, 20 May 1997 22:04:32 +0200 From: jesse@eva.cs.Uni-Magdeburg.DE (Roland Jesse) Message-Id: <199705202004.WAA03230@pflaume.cs.uni-magdeburg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: stable@freebsd.org Subject: compiling libtcl fails X-Mailer: VM 6.29 under Emacs 19.34.1 Reply-To: jesse@eva.cs.Uni-Magdeburg.DE (Roland Jesse) X-Organization: University of Magdeburg X-Pgp-Fingerprint: 5D 08 5A E3 B4 AA 68 C1 FF 67 06 29 62 DD 9A D7 Sender: owner-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk With the cvsuped sources (date: May 20, RELENG_2_2) it is not possible to compile /usr/src/lib/libtcl: j:/<1>src/lib/libtcl# make cc -O -I/usr/src/lib/libtcl/../../contrib/tcl/generic -I/usr/src/lib/libtcl/../../contrib/tcl/unix -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DTCL_SHLIB_EXT=\".so\" -DTCL_LIBRARY=\"/usr/libdata/tcl\" -c /usr/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c -o tclMtherr.o /usr/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c: In function `matherr': /usr/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c:80: dereferencing pointer to incomplete type /usr/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c:80: `DOMAIN' undeclared (first use this function) /usr/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c:80: (Each undeclared identifier is reported only once /usr/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c:80: for each function it appears in.) /usr/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c:80: dereferencing pointer to incomplete type /usr/src/lib/libtcl/../../contrib/tcl/unix/tclMtherr.c:80: `SING' undeclared (first use this function) *** Error code 1 Stop. /usr/src/contrib/tcl/unix/tclMtherr.c: /* * The following definitions allow matherr to compile on systems * that don't really support it. The compiled procedure is bogus, * but it will never be executed on these systems anyway. */ #ifndef NEED_MATHERR struct exception { int type; }; #define DOMAIN 0 #define SING 0 #endif ... int matherr(xPtr) struct exception *xPtr; /* Describes error that occurred. */ { ... } It looks like this is an mistake. Or am I thinking the wrong way? A make in /usr/src/lib/libc fails with some undefined symbols, especially in res_stubs.so. ... ===> libc Warning: Object directory not changed from original /usr/src/lib/libc building shared c library (version 3.0) nm: bt_debug.so: no name list. nm: euc.so: no name list. nm: utf2.so: no name list. /usr/lib/crt0.o: Undefined symbol `_main' referenced from text segment res_stubs.so: Undefined symbol `_p_secstodate' referenced res_stubs.so: Undefined symbol `_b64_pton' referenced res_stubs.so: Undefined symbol `_p_secstodate' referenced res_stubs.so: Undefined symbol `_sym_ston' referenced res_stubs.so: Undefined symbol `_dn_count_labels' referenced res_stubs.so: Undefined symbol `_dn_count_labels' referenced res_stubs.so: Undefined symbol `_sym_ntos' referenced ... Any hints for solving the problems are greatly appreciated. -- +------------- | Roland Jesse | http://www.cs.uni-magdeburg.de/~jesse/ | -----+