1 |
Hi Friends |
2 |
|
3 |
At this time is not possible to cross-emerge any version of tcl for sh4 |
4 |
embedded gentoo system, from portage. |
5 |
|
6 |
The stable version failed with: |
7 |
sh4-pc-linux-uclibc-gcc -pipe -c -Os -pipe -Wall -Wno-implicit-int -fno-strict-aliasing -fPIC -I./../generic -I. -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ |
8 |
long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DNO_GETWD=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -Dstrtod=fixstrtod -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DTCL_SHLIB_EXT=\".so\" ./../compat/strstr.c |
9 |
./../compat/strstr.c: In function `strstr': |
10 |
./../compat/strstr.c:67: error: `NULL' undeclared (first use in this function) |
11 |
./../compat/strstr.c:67: error: (Each undeclared identifier is reported only |
12 |
once |
13 |
./../compat/strstr.c:67: error: for each function it appears in.) |
14 |
make: *** [strstr.o] Error 1 |
15 |
|
16 |
|
17 |
Any other unmasked version fails with: |
18 |
sh4-pc-linux-uclibc-gcc -pipe -shared -o libtcl8.4.so regcomp.o regexec.o |
19 |
regfree.o regerror.o tclAlloc.o tclAsync.o tclBasic.o tclBinary.o |
20 |
tclCkalloc.o tclClock.o tclCmdAH.o tclCmdIL.o tclCmdMZ.o tclCompCmds.o |
21 |
tclCompExpr.o tclCompile.o tclDate.o tclEncoding.o tclEnv.o tclEvent.o |
22 |
tclExecute.o tclFCmd.o tclFileName.o tclGet.o tclHash.o tclHistory.o |
23 |
tclIndexObj.o tclInterp.o tclIO.o tclIOCmd.o tclIOGT.o tclIOSock.o |
24 |
tclIOUtil.o tclLink.o tclListObj.o tclLiteral.o tclLoad.o tclMain.o |
25 |
tclNamesp.o tclNotify.o tclObj.o tclPanic.o tclParse.o tclParseExpr.o |
26 |
tclPipe.o tclPkg.o tclPosixStr.o tclPreserve.o tclProc.o tclRegexp.o |
27 |
tclResolve.o tclResult.o tclScan.o tclStringObj.o tclThread.o |
28 |
tclThreadAlloc.o tclThreadJoin.o tclStubInit.o tclStubLib.o tclTimer.o |
29 |
tclUtf.o tclUtil.o tclVar.o tclUnixChan.o tclUnixEvent.o tclUnixFCmd.o |
30 |
tclUnixFile.o tclUnixPipe.o tclUnixSock.o tclUnixTime.o tclUnixInit.o |
31 |
tclUnixThrd.o tclUnixNotfy.o memcmp.o strstr.o strtoul.o strtod.o |
32 |
fixstrtod.o tclLoadDl.o -ldl -lm -Wl,-rpath,/usr/lib |
33 |
fixstrtod.o: In function `fixstrtod': |
34 |
fixstrtod.c:(.text+0x0): multiple definition of `fixstrtod' |
35 |
strtod.o:strtod.c:(.text+0x0): first defined here |
36 |
/usr/libexec/gcc/sh4-pc-linux-uclibc/ld: Warning: size of symbol `fixstrtod' |
37 |
changed from 560 in strtod.o to 72 in fixstrtod.o |
38 |
collect2: ld returned 1 exit status |
39 |
make: *** [libtcl8.4.so] Error 1 |
40 |
|
41 |
|
42 |
Thank you |
43 |
|
44 |
Jakub Ladman |
45 |
-- |
46 |
gentoo-embedded@g.o mailing list |