From: Tomi Manninen (khg.jqohzgzkn@ipns.com)
Date: Sun Apr 15 2001 - 16:44:19 EEST
On Sun, 15 Apr 2001 ykyvdwm.nylm@relay.tunkki.fi 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: bdnebgm.uvjskp@qsicorp.com OH2BNS AX.25: rxwqp.ksfdezdep@vectrasolutions.com KP20ME04 Amprnet: nrlfnmm.lcunpzye@bbdo.ro- To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to fcfupqld.nzio@icode.com
This archive was generated by hypermail 2b30 : Sun Apr 15 2001 - 16:56:31 EEST