gnupic: Re: [gnupic] one week with FreeBSD: PIC related
Subject:
Re: [gnupic] one week with FreeBSD: PIC related
From:
Xiaofan Chen ####@####.####
Date:
10 Jan 2006 02:03:44 +0000
Message-Id: <a276da400601091802s3f42995bif1804dae89399f6e@mail.gmail.com>
On 1/10/06, Xiaofan Chen ####@####.#### wrote:
> >> 12) piklab and pikdev fail to build since they require Linux.
>
> Updates on piklab-0.2 on FreeBSD: I've got a patch from the
> author and now it builds. I am not able to get the serial ICD2
> programmer working under FreeBSD yet. I will work with him
> on the USB ICD2 support.
>
> [xiaofan@myfreebsd xiaofan]$ piklab
> kbuildsycoca running...
> [xiaofan@myfreebsd xiaofan]$ piklab -v
> Qt: 3.3.4
> KDE: 3.4.2
> Piklab: 0.2.0
>
> I will try pikdev now that piklab can be built.
>
With Nicolas's patch, I can also build pikdev-0.8.2 but the resulting
application crashes during startup with the same error log
as reported before.
So I tried to build pikdev-0.8.1 (the older version) using the patch
from Nicolas for the file uparport.cc and it is okay. The result application
also runs without a problem.
//Patch from Nicolas to uparport.cc
#ifdef HAVE_PPDEV
#include <linux/ppdev.h>
#else // dummy
#define PPCLAIM 0
#define PPRELEASE 0
#define PPYIELD 0
#define PPRCONTROL 0
#define PPWCONTROL 0
#define PPRDATA 0
#define PPWDATA 0
#define PPRSTATUS 0
#endif
Regards,
Xiaofan