I'm working on a Wifi to 802.15.4 router project. 802.15.4 runs IPv6
using 6lowpan/ROLL. The hardware and software are open source, main
site is http://mc1322x.devl.org/. Most users are universities doing
research into sensor networks.

The router is currently under development. It is based on a lpc3130
CPU with a USB socket for wifi and a 802.15.4 radio. I already have
basic OpenWRT ported and working on the development hardware. The
router has an optional 3.5in touch LCD which lets you control and
monitor the sensor network. The LCD has a 16b interface which is only
supported in Cairo version 10+.

So I'm trying to get Cairo 10.2 going. I attached the patches needed
to bring it and its supporting libs up to the needed versions. Turn on
Cairo support in menuconf, include a font, and giflib. I'm now able to
run Cairo apps written in C without problem.

I'm having trouble with the lua wrapper for Cairo -
http://www.dynaset.org/dogusanh/luacairo. I attached the makefile I'm
using to build it. luaCario comes with some examples that generate PNG
file for output (no display needed).  Some of these examples are seg
faulting (cairo_test5.lua). I ran remote gdb and they die in sweeplist
when sweeping some corrupted objects. The examples are small, 75
lines, so the problem has to be fairly basic.

Can anyone give me some clues on how to debug this? Valgrind doesn't
exist for ARM.

Writing this has made me think to see if luaCairo is working on x86.
I'll check that next. I can also Valgrind it there.

-- 
Jon Smirl
jonsm...@gmail.com

Attachment: version.diff
Description: Binary data

Attachment: Makefile
Description: Binary data

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to