From: Mark Frey <markfrey@sympatico.ca>
To: Martchukov Anton <vhlist@yandex.ru>
Cc: linux-diald <linux-diald@vger.kernel.org>
Subject: Re: compilation problem
Date: Sat, 30 Aug 2003 08:30:17 -0400 [thread overview]
Message-ID: <3F5098D9.60100@sympatico.ca> (raw)
In-Reply-To: <20030830142814.790ffffb.vhlist@yandex.ru>
[-- Attachment #1: Type: text/plain, Size: 945 bytes --]
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.
>
[-- Attachment #2: diald-1.0.patch --]
[-- Type: text/plain, Size: 388 bytes --]
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 <signal.h>
#if HAVE_SYS_TIME_H
# include <sys/time.h>
+#if TIME_WITH_SYS_TIME
+# include <time.h>
+#endif
+#else
+# include <time.h>
#endif
#ifdef _POSIX_PRIORITY_SCHEDULING
# include <sched.h>
next prev parent reply other threads:[~2003-08-30 12:30 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-30 10:28 compilation problem Martchukov Anton
2003-08-30 12:30 ` Mark Frey [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-05-19 6:25 Wieslaw Faruga
2005-05-19 6:25 ` Jean Delvare
2006-12-08 11:46 Compilation problem PUCCETTI Armand
2006-12-08 11:17 ` Steven Hand
2006-12-08 16:23 ` PUCCETTI Armand
2008-07-10 8:58 Compilation Problem Chris Calitz
2008-07-11 21:30 ` Bob Copeland
2008-07-11 23:37 ` Luis R. Rodriguez
2008-08-19 13:16 Compilation problem Kevin Hickey
2008-08-19 13:27 ` Martin Michlmayr
2008-08-19 16:06 ` Ralf Baechle
2010-05-31 14:54 compilation problem Onkar Mahajan
2011-01-26 10:48 antoni artigues
2011-01-26 11:17 ` Avi Kivity
2011-01-26 11:37 ` antoni artigues
2011-01-26 12:53 ` Avi Kivity
2014-01-23 22:06 Niklas Molin
2014-01-23 22:12 ` Gary Thomas
2014-01-24 1:12 Niklas Molin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F5098D9.60100@sympatico.ca \
--to=markfrey@sympatico.ca \
--cc=linux-diald@vger.kernel.org \
--cc=vhlist@yandex.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.