Discussion:
error in cross-compiling libwww
Mildred Frisco
2003-02-06 10:50:31 UTC
Permalink
Yes I have set the environment variable for compilers to that of arm linux,
e.g. CC=arm-linux-gcc CXX=arm-linux-g++ then make -e, as what Jason Kingan
said. But I had this error ....

checking size of char.... configure error:can not run test program while
cross
compiling.

What could be wrong ?


Mildred


From: "???" <***@hanmir.com>
Subject: Re: Re: viewml binary, help in ldconfig and shared
libraries
Date: Thu, 6 Feb 2003 11:46:00 +0900 (KST)
To: viewml-***@viewml.com


You can compile w3c lib as changin the variable CC in all Makefile
of subdirctory.
Change gcc to arm-linux-gcc or your cross compile command.
After that run install. Then all library file copied in /usr/lib of
your host.
And compile vieml. Copy all library on /usr/lib of your target system.
run viewml on your target.
Good Luck.
Young-Sup Kim
2003-02-07 02:01:52 UTC
Permalink
<body style=font-size:10pt>
I don't know what's worng.<br>
But I tried to configure did not use CC and C++ option.<br>
First I tried to configure for my host PC.<br>
After that I editted all makefile of subdirectories.<br>
Change gcc to arm-linux-gcc.<br>
Try it. <br>
It is not best solution, but I compiled successfully<br>
using that method.<br>
Good luck!!!<br>
<br><br>
<table width=500 border=0 cellspacing=0 cellpadding=0>
<tr>
<td colspan=3 height=21><img src=Loading Image... width=500 height=21></td>
</tr>
<tr>

<td background=Loading Image... width=12>&nbsp;</td>
<td width=474 height=100 valign=top>
<table width=474 border=0 cellspacing=0 cellpadding=0>
<tr>
<td colspan=5 height=5></td>
</tr>
<tr>
<td width=15>&nbsp;</td>
<td width=112 valign=top>
<table cellspacing=0 cellpadding=0 width=112 bgcolor=#ffffff border=0>
<tbody>
<tr>
<td valign=bottom align=middle width=100% height=169>
<object id=template codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 height=168 width=112 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000>
<param name=_cx value=2963>
<param name=_cy value=4445>
<param name=FlashVars value=2963>
<param name=Movie value='http://myavatar.hanmir.com/phps/avatar.php?id=handol&rand=1044583312&back=_msfx_&look=nml_0&file=avatar.swf'>
<param name=Src value='http://myavatar.hanmir.com/phps/avatar.php?id=handol&rand=1044583312&back=_msfx_&look=nml_0&file=avatar.swf'>
<param name=WMode value=Window>
<param name=Play value=-1>
<param name=Loop value=-1>
<param name=Quality value=High>
<param name=SAlign value=''>
<param name=Menu value=0>
<param name=Base value=''>
<param name=AllowScriptAccess value=always>
<param name=Scale value=ShowAll>
<param name=DeviceFont value=0>
<param name=EmbedMovie value=0>
<param name=BGColor value=FFFFFF>
<param name=SWRemote value=''>
<embed src='http://myavatar.hanmir.com/phps/avatar.php?id=handol&rand=1044583312&back=_msfx_&look=nml_0&file=avatar.swf' menu=false quality=high bgcolor=#FFFFFF width=112 height=168 type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'>
</embed>
</object></td>
</tr>
</tbody>
</table>
</td>
<td width=20>&nbsp;</td>
<td valign=top>
<table width=312 border=0 cellspacing=0 cellpadding=0>
<tr>
<td height=35><img src=Loading Image... width=144 height=23></td>
</tr>
</table>

<table width=311 border=0 cellspacing=0 cellpadding=0 bgcolor=#ffffff class=text>
<tr>
<td width=51 height=20><img src=Loading Image... width=43 height=15></td>
<td width=260 height=20>

<font size=2 color=#000000>김 영 섭</font>

</td>
</tr>
<tr>
<td colspan=2 height=1>
<table width=100% border=0 cellspacing=0 cellpadding=0 height=1 background=Loading Image...>
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width=51 height=20><img src=Loading Image... width=43 height=15></td>
<td width=260 height=20>

<font size=2 color=#000000>***@hanmir.com</font>

</td>
</tr>
<tr>
<td colspan=2 height=1>
<table width=100% border=0 cellspacing=0 cellpadding=0 height=1 background=http://common.hanmir.com/images/mail/new_mail/t01_images/t01_line.gif>
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width=51 height=20><img src=Loading Image... width=43 height=15></td>
<td width=260 height=20>

<font size=2 color=#000000>011-429-4638</font>

</td>
</tr>
<tr>
<td colspan=2 height=1>
<table width=100% border=0 cellspacing=0 cellpadding=0 height=1 background=http://common.hanmir.com/images/mail/new_mail/t01_images/t01_line.gif>
<tr>
<td></td>
</tr>
</table>
</td>
</tr>

<tr>
<td width=51 height=20 valign=top><img src=Loading Image... width=43 height=15></td>
<td width=260 height=20>&nbsp;
</td>
</tr>
<tr>
<td colspan=2 height=1>
<table width=100% border=0 cellspacing=0 cellpadding=0 height=1 background=http://common.hanmir.com/images/mail/new_mail/t01_images/t01_line.gif>
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width=51 height=20>&nbsp;</td>
<td width=260 height=20>&nbsp;</td>
</tr>
<tr>
<td colspan=2>
<table width=100% border=0 cellspacing=0 cellpadding=0 height=1 background=http://common.hanmir.com/images/mail/new_mail/t01_images/t01_line.gif>
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width=51 height=20>&nbsp;</td>
<td width=260 height=20>&nbsp;</td>
</tr>
<tr>
<td colspan=2>
<table width=100% border=0 cellspacing=0 cellpadding=0 height=1 background=http://common.hanmir.com/images/mail/new_mail/t01_images/t01_line.gif>
<tr>
<td></td>
</tr>
</table>
</td>
</tr>

</table>

</td>
<td width=16>&nbsp;</td>
</tr>
<tr>
<td colspan=5 height=5></td>
</tr>
</table>
</td>
<td background=Loading Image... width=14>&nbsp;</td>
</tr>
<tr>
<td colspan=3 height=22><img src=Loading Image... width=500 height=22></td>
</tr>
</table>
<br>
<br>____________________________________________________________________________<br>
<table width='500' border='0' cellspacing='0' cellpadding='0'>
<tr><td width='69'>
<a href='http://www.hanmir.com/' target=new><img src='Loading Image...' width='69' height='39' border=0></a>
</td><td class='tk'>
<font style=font-size:10pt>☎060-900-1555 최고의 입시전문가 상담!
(<a href='http://ipsicall.hanmir.com/' target=new>http://ipsicall.hanmir.com/</a>)<br>
Unique & Best, 한미르 아바타!
(<a href='http://avatar.hanmir.com/' target=new>http://avatar.hanmir.com/</a>)</font>
</td></tr></table><br><br>
<img src='http://mail.hanmir.com/Y/put_ack.php?disknum=7&hanmirid=handol&subject=Re%3A+error+in+cross-compiling+libwww&from=Young-Sup+Kim&to=viewml-***@viewml.com&date=200302071101' width=1 border=0 height=1>

</body>


#############################################################
This message is sent to you because you are subscribed to
the mailing list <viewml-***@viewml.com>.
To unsubscribe, E-mail to: <viewml-devel-***@viewml.com>
To switch to the DIGEST mode, E-mail to <viewml-devel-***@viewml.com>
To switch to the INDEX mode, E-mail to <viewml-devel-***@viewml.com>
Send administrative queries to <viewml-devel-***@viewml.com>
Jason Kingan
2003-02-09 07:17:42 UTC
Permalink
Your command below is correct - but first you should run ./configure. It
appears that this hasn't been done yet (as the default Makefile will run
./configure automatically if it hasn't been run at least once.)

Run ./configure and then try the command. It should work then.

Jason Kingan
Century Software
Post by Mildred Frisco
Yes I have set the environment variable for compilers to that of arm linux,
e.g. CC=arm-linux-gcc CXX=arm-linux-g++ then make -e, as what Jason Kingan
said. But I had this error ....
checking size of char.... configure error:can not run test program while
cross
compiling.
What could be wrong ?
Mildred
Subject: Re: Re: viewml binary, help in ldconfig and shared
libraries
Date: Thu, 6 Feb 2003 11:46:00 +0900 (KST)
You can compile w3c lib as changin the variable CC in all Makefile
of subdirctory.
Change gcc to arm-linux-gcc or your cross compile command.
After that run install. Then all library file copied in /usr/lib of
your host.
And compile vieml. Copy all library on /usr/lib of your target
system. run viewml on your target.
Good Luck.
#############################################################
This message is sent to you because you are subscribed to
the mailing list <viewml-***@viewml.com>.
To unsubscribe, E-mail to: <viewml-devel-***@viewml.com>
To switch to the DIGEST mode, E-mail to <viewml-devel-***@viewml.com>
To switch to the INDEX mode, E-mail to <viewml-devel-***@viewml.com>
Send administrative queries to <viewml-devel-***@viewml.com>
Loading...