hi MAbeeTT

chenxq have  away

Hi jason:

于 2010年06月03日 14:11, jason duhamell 写道:


 just stick to ubuntu, it will save you a headache and if your computer
> is old and crappy try switching to lubuntu. I am from shenzhen if you
> need any help.
>
> svn  co svn://svn.openwrt.org/openwrt/branches/backfire
>
>
>

I checked out backfire from svn.openwrt.org and compile SDK. Then install
SDK in another linux box, compile hello world program like this:

[code]
./staging_dir/toolchain-
powerpc_gcc-4.4.3_uClibc-0.9.30.1/usr/bin/powerpc-openwrt-linux-gcc hello.c
[/code]

It gave error like this:
/home/user/OpenWrt-SDK-ppc44x-for-Linux-x86_64-gcc-4.4.3_uClibc-0.9.30.1/staging_dir/toolchain-powerpc_gcc-4.4.3_uClibc-0.9.30.1/usr/bin/../lib/gcc/powerpc-openwrt-linux-uclibc/4.4.3/../../../../powerpc-openwrt-linux-uclibc/bin/ld:
cannot find -lgcc_s

Then I added an --sysroot option, like this:
[code]
./staging_dir/toolchain-powerpc_gcc-4.4.3_uClibc-0.9.30.1/usr/bin/powerpc-openwrt-linux-gcc
hello.c
     --sysroot ./staging_dir/toolchain-powerpc_gcc-4.4.3_uClibc-0.9.30.1/
[/code]

compile ok.

 Yeah, at lease  absoulte header path problem is gone. But link is still a
problem.
- 显示引用文字 -


2010/6/10 MAbeeTT <[email protected]>

> On Wed, Jun 9, 2010 at 10:44 PM, CHEN XUEQIN <[email protected]> wrote:
> > Hi mabeett:
> >
> >   I have the same problem with Backfire's SDK which I have asked
> > in this maillist named “ How openwrt team build SDK which released
> > officially on openwrt.org”。I haven't resolved this problem up till
> > now.
>
>
> Minuts ago I saw it.
>
> Did you open a ticket in the tracker?
>
> Does somebody where to start for fixing it?
>
> [...]
>
>
>
> --
>             .::MAbeeTT::.
>
>  mabeett [at] gmail [ dot] com
>  some time ago:
>
>
>  mtspcchaiaeia [at] gmail [dot] com
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to