tlf-devel
[Top][All Lists]
Advanced

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

Re: [Tlf-devel] problem applying a fix


From: Bob Nielsen
Subject: Re: [Tlf-devel] problem applying a fix
Date: Wed, 5 Dec 2007 08:15:58 -0800

Install libhamlib-dev, which includes rig.h.

73, Bob N7XY

On Dec 5, 2007, at 7:40 AM, Rob Vance wrote:

Thanks to Bob and John for the guidance.

I ran the install for build-essential and still received errors. Then I ran the install for the libncurses5-dev, and ran the make and I received
this:

address@hidden:~/tlf/tlf-0.9.30/src$ make
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT audio.o - MD -MP
-MF ".deps/audio.Tpo" -c -o audio.o audio.c; \
        then mv -f ".deps/audio.Tpo" ".deps/audio.Po"; else rm -f
".deps/audio.Tpo"; exit 1; fi
In file included from audio.c:29:
gettxinfo.h:26:24: error: hamlib/rig.h: No such file or directory
audio.c: In function ‘panscan’:
audio.c:348: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘outfreq’
audio.c:348: error: ‘outfreq’ undeclared (first use in this function)
audio.c:348: error: (Each undeclared identifier is reported only once
audio.c:348: error: for each function it appears in.)
audio.c:417: error: ‘freq_t’ undeclared (first use in this function)
audio.c: In function ‘nbscan’:
audio.c:451: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘outfreq’
audio.c:451: error: ‘outfreq’ undeclared (first use in this function)
audio.c:519: error: ‘freq_t’ undeclared (first use in this function)
make: *** [audio.o] Error 1

It's a different set of errors from the last run. I am getting closer!

I've confirmed I have libc6-dev and libncurses5-dev.  Any others I
should check?

Rob, N6ROB


On Wed, 2007-12-05 at 07:04 +0000, John Ronan wrote:
Try
sudo apt-get install build-essential.

John

On 5 Dec 2007, at 05:02, Rob Vance wrote:

I was applying a fix from NOV-06 that Rein provided in a message (see
http://lists.gnu.org/archive/html/tlf-devel/2006-11/msg00004.html)
and I
am having a problem.

I was using Ubuntu Fiesty before and was able to apply the fix
(patch?)
without a problem. Now I am on a fresh copy of Gutsy Gibbon and I get
this:

address@hidden:~/tlf/tlf-0.9.30/src$ make install
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -MT addarea.o -MD
-MP -MF ".deps/addarea.Tpo" -c -o addarea.o addarea.c; \
then mv -f ".deps/addarea.Tpo" ".deps/addarea.Po"; else rm -f
".deps/addarea.Tpo"; exit 1; fi
In file included from globalvars.h:1,
                 from addarea.c:25:
tlf.h:19:19: error: stdio.h: No such file or directory
tlf.h:20:20: error: stdlib.h: No such file or directory
tlf.h:21:20: error: string.h: No such file or directory
tlf.h:22:20: error: unistd.h: No such file or directory
tlf.h:23:20: error: curses.h: No such file or directory
tlf.h:25:19: error: errno.h: No such file or directory
tlf.h:26:18: error: time.h: No such file or directory
tlf.h:27:19: error: ctype.h: No such file or directory
tlf.h:28:23: error: sys/types.h: No such file or directory
tlf.h:29:22: error: sys/wait.h: No such file or directory
tlf.h:30:20: error: signal.h: No such file or directory
addarea.c: In function ‘add_callarea’:
addarea.c:42: warning: implicit declaration of function ‘strncmp’
make: *** [addarea.o] Error 1
address@hidden:~/tlf/tlf-0.9.30/src$

I checked for all the dependencies and everything checks out.  The
program works; it's just that I'd like to apply this patch before the
contest.

Any suggestions?  Probably something trivial.

I am preparing for the ARRL 10M contest this weekend.  Any help is
appreciated (but I'll survive the contest without the patch so don't
stay up late working on it).

Regards,

Rob Vance, N6ROB



_______________________________________________
Tlf-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/tlf-devel


--
John Ronan <address@hidden>, +353-51-302938
Telecommunications Software &  Systems Group,  http://www.tssg.org





_______________________________________________
Tlf-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/tlf-devel



_______________________________________________
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]