Re: [Gpe] gpe-expenses

From: Neil Williams <linux_at_codehelp.co.uk>
Date: Sun, 13 Nov 2005 22:12:06 +0000

(Sorry, forgot to send to list)

On Sunday 13 November 2005 8:55 pm, Koen Kooi wrote:
> Neil Williams wrote:
> > I've got some experimental code that I'd like to put into handhelds.org
> > CVS for others to view.

(It wasn't meant to be ready for cross-compiling, sorry, should have mentioned
that. However, if the log_module is the only problem, it may actually work.)

> I tried to crosscompile it (and qof) using the openembedded framework
> and ran in to a few issues.

The issues you found are due to using the pre-release:

+++ qof-0.6.0-pre1/qof/Makefilie.am

The QofLogModule issue is a result of a change in 0.6.0 final where the
previous log calls used a short int.

QOF >= 0.6.0 does compile on ARM. The pre-release did too but the gpe-expenses
code is intended for the final release, not the pre-release.

> I attached a patch for qof to stop it
> dragging in host includes when crosscompiling.

OK, thanks. That'll be in QOF 0.6.1.

> | qof-expenses.c:41: error: parse error before "log_module"
> | qof-expenses.c:41: warning: type defaults to `int' in declaration of

It was a short int in QOF 0.6.0-pre1, changed to a QofLogModule (typedef const
ghcar*) in the final 0.6.0 release.

> any hints on this?

Where did you find the pre-release? Each site should now show the final 0.6.0
release as newer than pre1.

-- 
Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Received on Sun Nov 13 2005 - 17:18:16 EST

This archive was generated by hypermail 2.2.0 : Sun Nov 13 2005 - 17:18:22 EST