From: Hamish Moffatt Subject: Re: KPSK won't 'make' Date: Wed, 16 Nov 2005 09:22:52 +1100 Message-ID: <20051115222252.GB5002@cloud.net.au> References: <200511152259.02918.on4hso@amsat.org> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <200511152259.02918.on4hso@amsat.org> Sender: linux-hams-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Linux-Hams@vger.kernel.org On Tue, Nov 15, 2005 at 10:59:02PM +0100, Henk Oegema wrote: > I've downloaded KPSK version 1.0.1 Perhaps try one of the other dozen PSK programs for X? gmfsk, phaseshift, linpsk, etc. > logcore.cpp: In constructor `logCore::logCore()': > logcore.cpp:33: error: cannot convert `char*' to `DB_TXN*' in argument > passing > logcore.cpp:40: error: cannot convert `char*' to `DB_TXN*' in argument > passing This seems to be caused by new versions of libdb. You could try this patch which I extracted from the Debian sources.. but I haven't compiled it myself. Hamish --- kpsk-1.0.1.orig/kpsk/logcore.cpp +++ kpsk-1.0.1/kpsk/logcore.cpp @@ -30,14 +30,14 @@ if (locate ("appdata", "dxcc.db") != NULL){ char *dxccfile = strdup (locate ("appdata", "dxcc.db")); db_create(&dxccdb, NULL, 0); - dxccdb->open(dxccdb, dxccfile, NULL, DB_BTREE, DB_RDONLY, 0664); + dxccdb->open(dxccdb, NULL, dxccfile, NULL, DB_BTREE, DB_RDONLY, 0664); } /* And the QSO Logbook... */ char *logfile = strdup (locateLocal ("appdata", "log.db")); db_create(&calldb, NULL, 0); calldb->set_flags(calldb, DB_DUP); - calldb->open(calldb, logfile, NULL, DB_BTREE, DB_CREATE, 0664); + calldb->open(calldb, NULL, logfile, NULL, DB_BTREE, DB_CREATE, 0664); } logCore::~logCore() { --- kpsk-1.0.1.orig/kpsk/logcore.h +++ kpsk-1.0.1/kpsk/logcore.h @@ -23,7 +23,9 @@ #include #include #include -#ifdef HAVE_LIBDB_4_0 +#ifdef HAVE_LIBDB_4_0 +#include +#elif HAVE_LIBDB_4_2 #include #else #include -- Hamish Moffatt VK3SB