tlf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tlf-devel] non-hamlib


From: Rein Couperus PA0R
Subject: Re: [Tlf-devel] non-hamlib
Date: Fri, 04 Nov 2005 10:52:50 +0100

tnx Jason, I noticed this one while compiling tlf on the PI60HQ contest
computer :)

Will fix it after trip (presently in North of France)

Rein PA0R

-- via PSKmail --

On Tue, 2005-11-01 at 12:13 -0500, Jason Wright wrote:
> On Tue, Nov 01, 2005 at 11:57:25AM -0500, Jason Wright wrote:
> > Not sure exactly what the intent in this code is, but trying to compile
> > tlf w/out hamlib support doesn't work without this (undefined reference
> > to rignum).
> > 
> > Patch below is against 0.9.24
> 
> *sigh*  Better patch... this one allows hamlib-enabled and hamlib-disabled
> tlf to compile.  Still against 0.9.24
> 
> --Jason L. Wright
> 
> --- src/callinput.c.orig      Mon Oct 24 03:45:17 2005
> +++ src/callinput.c   Tue Nov  1 12:08:27 2005
> @@ -66,6 +66,7 @@ extern float freq;
>  extern float mem;
>  #ifdef HAVE_LIBHAMLIB
>  extern freq_t outfreq;
> +extern int rignumber;
>  #else
>  extern int outfreq;
>  #endif
> @@ -258,7 +259,7 @@ printcall();
>                                       mvprintw(12, 0, band[bandinx]);
>                                       printcall();
>                                       i--;
> -#ifdef HAVE_LIBHAMLIB
> +#ifndef HAVE_LIBHAMLIB
>                                       if (trx_control == 1) {
>  
>                                               outfreq = (int) 
> (bandfrequency[bandinx] * 1000)    ;
> @@ -297,7 +298,7 @@ printcall();
>                                       attron(A_STANDOUT);
>                                       mvprintw(12, 29 +  strlen(hiscall), "");
>  
> -#ifdef HAVE_LIBHAMLIB
> +#ifndef HAVE_LIBHAMLIB
>  
>                                               if (trx_control == 1) {
>                                                       freq = 
> bandfrequency[bandinx];
> 
> 
> _______________________________________________
> Tlf-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/tlf-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]