From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 3828 invoked from network); 21 Sep 1999 21:04:50 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 21 Sep 1999 21:04:50 -0000 Received: from saaz.cam.nist.gov (saaz.cam.nist.gov [129.6.88.116]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id RAA08027 for ; Tue, 21 Sep 1999 17:04:50 -0400 Received: (from donahue@localhost) by saaz.cam.nist.gov (8.8.7/8.8.7) id RAA09801; Tue, 21 Sep 1999 17:04:40 -0400 Date: Tue, 21 Sep 1999 17:04:40 -0400 Message-Id: <199909212104.RAA09801@saaz.cam.nist.gov> X-Authentication-Warning: saaz.cam.nist.gov: donahue set sender to donahue@saaz.cam.nist.gov using -f From: "Michael J. Donahue" To: axp-list@redhat.com In-reply-to: <37E7A11B.70ED9C51@unx.dec.com> (message from Tuff Guy on Tue, 21 Sep 1999 11:15:39 -0400) Subject: Re: CCC compiler... building shared libraries (Tcl 8.2.0) Reply-to: michael.donahue@nist.gov (Michael Donahue) References: <37E7A11B.70ED9C51@unx.dec.com> Hi all, I'm trying to build Tcl 8.2.0 using ccc. All goes well until the final link step, which croaks with the message "undefined reference to `_fpdata'". Here are the last couple of lines from the build: ######################################################################## ccc -shared -o libtcl8.2.so regcomp.o regexec.o regfree.o regerror.o tclAlloc.o tclAsync.o tclBasic.o tclBinary.o tclCkalloc.o tclClock.o tclCmdAH.o tclCmdIL.o tclCmdMZ.o tclCompCmds.o tclCompExpr.o tclCompile.o tclDate.o tclEncoding.o tclEnv.o tclEvent.o tclExecute.o tclFCmd.o tclFileName.o tclGet.o tclHash.o tclHistory.o tclIndexObj.o tclInterp.o tclIO.o tclIOCmd.o tclIOSock.o tclIOUtil.o tclLink.o tclListObj.o tclLiteral.o tclLoad.o tclMain.o tclNamesp.o tclNotify.o tclObj.o tclPanic.o tclParse.o tclParseExpr.o tclPipe.o tclPkg.o tclPosixStr.o tclPreserve.o tclProc.o tclRegexp.o tclResolve.o tclResult.o tclScan.o tclStringObj.o tclThread.o tclStubInit.o tclStubLib.o tclTimer.o tclUtf.o tclUtil.o tclVar.o tclMtherr.o tclUnixChan.o tclUnixEvent.o tclUnixFCmd.o tclUnixFile.o tclUnixPipe.o tclUnixSock.o tclUnixTime.o tclUnixInit.o tclUnixThrd.o tclUnixNotfy.o tclLoadDl.o -ldl -lieee -lm -lc : libtcl8.2.so ccc -c -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -fPIC -I./../generic -I. -mieee -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DRETSIGTYPE=void -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DTCL_SHLIB_EXT=\".so\" ./../unix/tclAppInit.c ccc -rdynamic tclAppInit.o -L/homecascade/donahue/ftp/tcl8.2.0/unix -ltcl8.2 -ldl -lieee -lm -lc \ -Wl,-rpath,/homecascade/donahue/tcl/tcl8.2.0/alpha-unknown-linux/lib -o tclsh /homecascade/donahue/ftp/tcl8.2.0/unix/libtcl8.2.so: undefined reference to `_fpdata' collect2: ld returned 1 exit status make: *** [tclsh] Error 1 ######################################################################## Any ideas? TIA, -mike -- Michael J. Donahue National Institute of Standards and Technology Mathematical & Computational Sciences Division 100 Bureau Dr Stop 8910 Gaithersburg, MD 20899-8910 email: michael.donahue@nist.gov voice: (301) 975-5424 fax: (301) 990-4127 web: http://math.nist.gov/mcsd/Staff/MDonahue/