List Info

Thread: Tcl8.4.13 - Compile error




Tcl8.4.13 - Compile error
country flaguser name
India
2007-04-06 00:18:29
Hi, 
I was trying to install Tcl8.4.13 following LFS6.2.
After doing ./configure --prefix=/tools successfully,
I tried to make which resulted in compile error the
tail part of which is given below
-----------------------------------------------
gcc -pipe -shared -o libtcl8.4.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 tclIOGT.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 tclThreadAlloc.o
tclThreadJoin.o tclStubInit.o tclStubLib.o tclTimer.o
tclUtf.o tclUtil.o tclVar.o tclUnixChan.o
tclUnixEvent.o tclUnixFCmd.o tclUnixFile.o
tclUnixPipe.o tclUnixSock.o tclUnixTime.o
tclUnixInit.o tclUnixThrd.o tclUnixCompat.o
tclUnixNotfy.o memcmp.o strstr.o strtoul.o strtod.o
fixstrtod.o tclLoadDl.o  -ldl  -lieee -lm  
-Wl,-rpath,/tools/lib
fixstrtod.o(.text+0x0): In function `fixstrtod':
: multiple definition of `fixstrtod'
strtod.o(.text+0x0): first defined here
/usr/bin/ld: Warning: size of symbol `fixstrtod'
changed from 902 in strtod.o to 76 in fixstrtod.o
collect2: ld returned 1 exit status
make: *** [libtcl8.4.so] Error 1
---------------------------------
I tried with Tcl8.4.14 also. But getting the same
result. Can somebody help me ?

Gopa krishna



 
____________________________________________________________
________________________
Expecting? Get great news right away with email Auto-Check.

Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newm
ail_tools.html 
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support

FAQ: http://w
ww.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Re: Tcl8.4.13 - Compile error
user name
2007-04-06 02:29:34
On 4/6/07, Gopa krishna <gopa1959yahoo.com> wrote:
> Hi,
> I was trying to install Tcl8.4.13 following LFS6.2.
> After doing ./configure --prefix=/tools successfully,
> I tried to make which resulted in compile error the
> tail part of which is given below
> -----------------------------------------------
> gcc -pipe -shared -o libtcl8.4.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 tclIOGT.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 tclThreadAlloc.o
> tclThreadJoin.o tclStubInit.o tclStubLib.o tclTimer.o
> tclUtf.o tclUtil.o tclVar.o tclUnixChan.o
> tclUnixEvent.o tclUnixFCmd.o tclUnixFile.o
> tclUnixPipe.o tclUnixSock.o tclUnixTime.o
> tclUnixInit.o tclUnixThrd.o tclUnixCompat.o
> tclUnixNotfy.o memcmp.o strstr.o strtoul.o strtod.o
> fixstrtod.o tclLoadDl.o  -ldl  -lieee -lm
> -Wl,-rpath,/tools/lib
> fixstrtod.o(.text+0x0): In function `fixstrtod':
> : multiple definition of `fixstrtod'
> strtod.o(.text+0x0): first defined here
> /usr/bin/ld: Warning: size of symbol `fixstrtod'
> changed from 902 in strtod.o to 76 in fixstrtod.o
> collect2: ld returned 1 exit status
> make: *** [libtcl8.4.so] Error 1
> ---------------------------------
> I tried with Tcl8.4.14 also. But getting the same
> result. Can somebody help me ?
>
> Gopa krishna

try running:
export ac_cv_func_strtod=yes
and then run configure and make again.

Tijnema
>
>
>
>
>
____________________________________________________________
________________________
> Expecting? Get great news right away with email
Auto-Check.
> Try the Yahoo! Mail Beta.
> http://advision.webevents.yahoo.com/mailbeta/newm
ail_tools.html
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support

> FAQ: http://w
ww.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support

FAQ: http://w
ww.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )