Initial commit
[clearscm.git] / web / scripts / ecrd / ecr23184.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"\r
2    "http://www.w3.org/TR/html4/strict.dtd">\r
3 <html>\r
4 <head>\r
5 \r
6         <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\r
7   <meta name="GENERATOR" content="Mozilla/4.61 [en] (Win98; U) [Netscape]">\r
8   <title>ECR 23184: Native PPC Toolchain build failing (atoi missing)</title>\r
9   <link rel="stylesheet" type="text/css" media="screen" href="DefaultPlain.css">\r
10   <link rel="stylesheet" type="text/css" href="/css/TableBorders.css">\r
11   <link rel="icon" href="http://www.lynuxworks.com/favicon.ico">\r
12 </head>\r
13 \r
14 <div class="heading">\r
15   <h1 class="centered">ECR 23184: Native PPC Toolchain build failing (atoi missing)</h1>\r
16 </div>\r
17 \r
18 <div id="content">\r
19 <center><font class=label>State:</font> <font class=data>Pending Review</font> <font class=label>Status:</font> <font class=data>Duplicate</font> <font class=label>Severity:</font> <font class=data>Medium</font> <font class=label>Fixed:</font> <font class=data></font> </center><hr><pre>\r
20 \r
21 ###### adefaria: 24 Jan 2005 10:50:45 (-00:05)\r
22 \r
23 I am unable to build the toolchain natively on t-mcpn765-1 (PPC). Note \r
24 I am trying to use XFree86 however the problem seems to be with atoi:\r
25 \r
26 gcc  tkAppInit.o -L/mnt/toolchain/3.2.2/010405/build-powerpc/tk/unix \r
27 -ltk8.0 -L/mnt/toolchain/3.2.2/010405/build-powerpc/tcl/unix -ltcl8\r
28 .0  -L/usr/X11R6/lib -lX11   -lc \\r
29        -o wish\r
30 /usr/X11R6/lib/libX11.a(ConnDis.o): In function \r
31 `_X11TransConnectDisplay':\r
32 ConnDis.o(.text+0x2ac): undefined reference to `atoi'\r
33 ConnDis.o(.text+0x344): undefined reference to `atoi'\r
34 /usr/X11R6/lib/libX11.a(lcGeneric.o): In function \r
35 `read_charset_define':\r
36 lcGeneric.o(.text+0x8cc): undefined reference to `atoi'\r
37 lcGeneric.o(.text+0x928): undefined reference to `atoi'\r
38 /usr/X11R6/lib/libX11.a(lcGeneric.o): In function \r
39 `read_segmentconversion':\r
40 lcGeneric.o(.text+0xd7c): undefined reference to `atoi'\r
41 /usr/X11R6/lib/libX11.a(lcGeneric.o)(.text+0x1324): more undefined \r
42 references to `atoi' follow\r
43 collect2: ld returned 1 exit status\r
44 make[3]: *** [wish] Error 1\r
45 make[2]: *** [all] Error 2\r
46 make[1]: *** [all-tk] Error 2\r
47 make: *** [stamp-all-powerpc] Error 2\r
48 \r
49 I spoke with Adam about this and he said the problem is in libc.a, \r
50 which lacks an atoi:\r
51 \r
52 # nm /lib/libc.a | grep atoi\r
53 catoi.as.o:\r
54 00000038 T catoi\r
55 00000124 t regatoi\r
56 \r
57 Adam also said that Steve might know if there was a recent change.\r
58 -- \r
59 Andrew DeFaria &lt;adefaria@lnxw.com&gt;\r
60 Build & Release\r
61 QA\r
62 LynuxWorks\r
63 \r
64 \r
65 \r
66 ###### oleg (quintus): 14 Feb 2005 05:45:20\r
67 \r
68 This ECR <a href="/ecr/ecr.php?ecr="></a>is a duplicate of ECR <a href="/ecr/ecr.php?ecr=22979">22979</a>.\r
69 </hr></pre></div>\r
70 </html>\r