From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Frey Subject: Re: compilation problem Date: Sat, 30 Aug 2003 08:30:17 -0400 Sender: linux-diald-owner@vger.kernel.org Message-ID: <3F5098D9.60100@sympatico.ca> References: <20030830142814.790ffffb.vhlist@yandex.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080008020604030703080507" Return-path: In-Reply-To: <20030830142814.790ffffb.vhlist@yandex.ru> List-Id: To: Martchukov Anton Cc: linux-diald This is a multi-part message in MIME format. --------------080008020604030703080507 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi VH, I've attached a patch that Duncan Haldane posted to this list Jan 12, 2002. diald.h is not including the correct file with the CLK_TCK definintion. Patch your diald.h and try compiling again. Mark. Martchukov Anton wrote: > Hello, here is output of make > > gcc -g -O2 -DHAVE_CONFIG_H -I. > -DDIALD_CONFIG_FILE=\"/usr/local/etc/diald.conf\" > -DDIALD_DEFS_FILE=\"/usr/local/lib/diald/diald.defs\" > -DRUN_PREFIX=\"/usr/local/var/run\" -c -o diald.o diald.c > diald.c: In function `main': > diald.c:192: `CLK_TCK' undeclared (first use in this function) > diald.c:192: (Each undeclared identifier is reported only once > diald.c:192: for each function it appears in.) > make: *** [diald.o] Error 1 > > diald version 1.0 > gcc version 2.95.3 20010315 > linux kernel 2.4.20 Vector Linux 2.0 (Slackware 8.1) > > Could anybody help me to compile diald? > Maybe there is a package for Slackware, isn't it? > > Please help. > --------------080008020604030703080507 Content-Type: text/plain; name="diald-1.0.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diald-1.0.patch" diff -uNr diald-1.0/diald.h diald-1.0-patched/diald.h --- diald-1.0/diald.h Sat Jun 16 12:01:25 2001 +++ diald-1.0-patched/diald.h Fri Sep 7 02:57:56 2001 @@ -29,6 +29,11 @@ #include #if HAVE_SYS_TIME_H # include +#if TIME_WITH_SYS_TIME +# include +#endif +#else +# include #endif #ifdef _POSIX_PRIORITY_SCHEDULING # include --------------080008020604030703080507--