From: Tomi Manninen (yzpfjefh@mail.dy.fi)
Date: Mon Apr 16 2001 - 06:46:46 EEST
Hi Brad,
yes, looks different but seems to be the same problem... "FILE" and
"perror()" are symbols also declared in stdio.h so again, try adding
#include <stdio.h>
near the top of twpskDiags.C.
/Tomi
On Mon, 16 Apr 2001 azd@roskapostia.tunk.net wrote:
> Thanks for the response. Did your change and got this error which looks
> different - it looks like your making some progress. Thanks
>
> g++ -Wall -O2 -g -DUSE_PTHREAD -I/usr/X11R6/LessTif/Motif2.1/include -c
> twpskDiags.C -o twpskDiags.o
> twpskDiags.C: In function `char * getFile(char *)':
> twpskDiags.C:157: `FILE' undeclared (first use this function)
> twpskDiags.C:157: (Each undeclared identifier is reported only once
> twpskDiags.C:157: for each function it appears in.)
> twpskDiags.C:157: `fp' undeclared (first use this function)
> twpskDiags.C:162: warning: implicit declaration of function `int
> perror(...)'
> twpskDiags.C:172: confused by earlier errors, bailing out
> make[1]: *** [twpskDiags.o] Error 1
> make[1]: Leaving directory `/opt/HAM/twpsk-1.1/user-twpsk'
> make: *** [twpsk_d] Error 2
>
> Brad Mugleston, KI0OT
> Aurora, Arapahoe Cty, Colorado
> DM79oq 39.692500N 104.802600W
> CQC #170, QRP-L #316, NorCal #2934
>
> On Sun, 15 Apr 2001, Tomi Manninen wrote:
>
> > On Sun, 15 Apr 2001 terhi.victor@logonet.com wrote:
> >
> > > g++ -Wall -O2 -g -DUSE_PTHREAD -I/usr/X11R6/LessTif/Motif2.1/include -c
> > > twpskWids.C -o twpskWids.o
> > > make[1]: Leaving directory `/opt/HAM/twpsk-1.1/user-twpsk'
> > > twpskWids.h: In method `void Wids::setFreq(float)':
> > > In file included from twpskWids.C:24:
> > > twpskWids.h:147: warning: implicit declaration of function `int
> > > sprintf(...)'
> > > twpskWids.C: In method `void Wids::createButtons(struct _WidgetRec *, char
> > > *)':
> > > twpskWids.C:1303: `stderr' undeclared (first use this function)
> > > twpskWids.C:1303: (Each undeclared identifier is reported only once
> > > twpskWids.C:1303: for each function it appears in.)
> > > twpskWids.C:1303: warning: implicit declaration of function `int
> > > fprintf(...)'
> > > make[1]: *** [twpskWids.o] Error 1
> > > make: *** [twpsk_d] Error 2
> >
> > Try adding the line
> >
> > #include <stdio.h>
> >
> > near the top of the file twpskWids.h. That might do it.
> >
> > --
> > Tomi Manninen Internet: ryrzi@lawbulletin.com
> > OH2BNS AX.25: terhi.victor@logonet.com
> > KP20ME04 Amprnet: terhi.victor@logonet.com
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-hams" in
> > the body of a message to dwgebf.gonjifeck@tvtel209.bptnet.pl
> >
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-hams" in
> the body of a message to fbtx@rose.net
>
-- Tomi Manninen Internet: jwzwuurl@xodiax.org OH2BNS AX.25: tpvl@hscg.net KP20ME04 Amprnet: rmhvkemz.pvca@corelab.com- To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to swhzvs.pcewbsair@companygw.com
This archive was generated by hypermail 2b30 : Mon Apr 16 2001 - 07:05:22 EEST