Talking to myself:)
Just grepped the sources from http://svn.fonosfera.org/fon-ng/trunk/ to
compile a customized fonera image for my fonero 2.0n.
However, compilation fails with:
# Create an empty opkg dir, to make it easier to use opkg on the
# Fonera.
mkdir -p
/home/cintema/fonosfera/trunk/openwrt/build_dir/mipsel/root-fonera2n/usr/lib/opkg
for a in `grep usr/bin/lua
/home/cintema/fonosfera/trunk/openwrt/build_dir/mipsel/root-fonera2n/etc/fonstated/*|
cut -d: -f1`; do
/home/cintema/fonosfera/trunk/openwrt/staging_dir/host/bin/luac -s -o
${a}.tmp $a; echo '#!/usr/bin/lua' > $a; cat ${a}.tmp >> $a; rm ${a}.tmp;
done
grep:
/home/cintema/fonosfera/trunk/openwrt/build_dir/mipsel/root-fonera2n/etc/fonstated/*:
No such file or directory
chmod a+x
/home/cintema/fonosfera/trunk/openwrt/build_dir/mipsel/root-fonera2n/etc/fonstated/*
chmod: cannot access
`/home/cintema/fonosfera/trunk/openwrt/build_dir/mipsel/root-fonera2n/etc/fonstated/*':
No such file or directory
make[5]: *** [install] Error 1
make[5]: Leaving directory
`/home/cintema/fonosfera/trunk/openwrt/target/linux/fonera2n/image'
make[4]: *** [install] Error 2
make[4]: Leaving directory
`/home/cintema/fonosfera/trunk/openwrt/target/linux/fonera2n'
make[3]: *** [install] Error 2
make[3]: Leaving directory
`/home/cintema/fonosfera/trunk/openwrt/target/linux'
make[2]: *** [target/linux/install] Error 2
make[2]: Leaving directory `/home/cintema/fonosfera/trunk/openwrt'
make[1]: ***
[/home/cintema/fonosfera/trunk/openwrt/staging_dir/mipsel/stamp/.target_install]
Error 2
make[1]: Leaving directory `/home/cintema/fonosfera/trunk/openwrt'
make: *** [world] Error 2
Any hints?
Thanks,
Chris
On Sun, Aug 12, 2012 at 1:19 PM, Christopher Intemann <[email protected]>wrote:
> Figured it out bymyself, more or less.
> I managed to crosscompile ncidd using the current trunk from openwrt.
> However, when I try to execute ncidd, I receive the following error:
> root@Fonera:~# ./ncidd
>
> ./ncidd: symbol 'stdout': can't handle reloc type 0x7e
> root@Fonera:~#
>
> Any help would be highly appreciated.
> Thanks,
>
> Chris
>
>
> On Sat, Aug 11, 2012 at 11:36 AM, Christopher Intemann <[email protected]
> > wrote:
>
>> Hello list,
>>
>> I'm using a WiFi sip-phone on my fonera and I just thought that it would
>> be a great feature to have ncid running on my TV settop box to see who's
>> calling.
>> I would therefore like to run the corresponding servers, ncidd and
>> sip2ncid (sources applicable from http://ncid.sourceforge.net/) on the
>> fonera.
>> I know that dd-wrt/openwrt packages run on the fonera as well tpa certain
>> degree. However, I have yet not found precompiled binaries for the fonera
>> nor for these distributions, and I would therefore like to compile the
>> packages by myself.
>> Can anyone point me to a brief howto that shows how to setup a
>> cross-compile environment for fonera packages?
>> Or, even better, if there DO precompiled binaries exist (I guess ncid is
>> quite common and since the feature is very nice someone MUST have thought
>> about that before) please point me to these!
>> Thank you in advance,
>>
>> Chris
>>
>
>
_______________________________________________
Development mailing list
[email protected]
http://fonosfera.org/mailman/listinfo/development