Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: CCC compiler... building shared libraries (Tcl 8.2.0)
  1999-09-21 15:15 CCC compiler Tuff Guy
@ 1999-09-21 21:04 ` Michael J. Donahue
  0 siblings, 0 replies; 3+ messages in thread
From: Michael J. Donahue @ 1999-09-21 21:04 UTC (permalink / raw)
  To: axp-list

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/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: CCC compiler... building shared libraries (Tcl 8.2.0)
@ 1999-09-22 14:38 Tuff Guy
  0 siblings, 0 replies; 3+ messages in thread
From: Tuff Guy @ 1999-09-22 14:38 UTC (permalink / raw)
  To: axp-list@redhat.com

I would grep through the c files that built libtcl.so for _fpdata. It is
possible that the definition was #ifdef out because of assumptions and
#defines made according the compiler being used. Locate where the reference is
then, try to find where it is defined. 

I actually have been making progess with the ccc, cpml.h and libcpml.a(so). I
have compiled WindowMaker, wterm, gimp, xscreensaver and a couple of other
apps with it. There are some trip ups along the way but they easy to overcome,
for the most part.

Gimp compiles and runs but the perl plug-ins all croak at initialization. I am
using the 1.9 development version. 

I am still trying to figure out xmame. One of the emulated cpu's have INLINE
functions that are not being handled right by ccc. The libs and headers are
fine with gcc though.

Any other experiences.
-- 
---Tuff Guy....

I'm as Tuff as they come!!


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: CCC compiler... building shared libraries (Tcl 8.2.0)
@ 1999-09-23  4:11 Designer Seven
  0 siblings, 0 replies; 3+ messages in thread
From: Designer Seven @ 1999-09-23  4:11 UTC (permalink / raw)
  To: axp-list

Although I still haven't been able to get WindowMaker
0.60.0 to compile with ccc, ... just to add to the
list, I did get Mesa to compile and xscreensaver
too.... my OpenGL screensavers are noticeably
faster...

D.

--- Tuff Guy <wd@unx.dec.com> wrote:
> I would grep through the c files that built
> libtcl.so for _fpdata. It is
> possible that the definition was #ifdef out because
> of assumptions and
> #defines made according the compiler being used.
> Locate where the reference is
> then, try to find where it is defined. 
> 
> I actually have been making progess with the ccc,
> cpml.h and libcpml.a(so). I
> have compiled WindowMaker, wterm, gimp, xscreensaver
> and a couple of other
> apps with it. There are some trip ups along the way
> but they easy to overcome,
> for the most part.
> 
> Gimp compiles and runs but the perl plug-ins all
> croak at initialization. I am
> using the 1.9 development version. 
> 
> I am still trying to figure out xmame. One of the
> emulated cpu's have INLINE
> functions that are not being handled right by ccc.
> The libs and headers are
> fine with gcc though.
> 
> Any other experiences.
> -- 
> ---Tuff Guy....
> 
> I'm as Tuff as they come!!
> 
> -- 
> To unsubscribe: send e-mail to
> axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to
> axp-list@redhat.com
> 
> 

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-09-23  4:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-22 14:38 CCC compiler... building shared libraries (Tcl 8.2.0) Tuff Guy
  -- strict thread matches above, loose matches on Subject: below --
1999-09-23  4:11 Designer Seven
1999-09-21 15:15 CCC compiler Tuff Guy
1999-09-21 21:04 ` CCC compiler... building shared libraries (Tcl 8.2.0) Michael J. Donahue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox