linux-diald.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* compilation problem
@ 2003-08-30 10:28 Martchukov Anton
  2003-08-30 12:30 ` Mark Frey
  0 siblings, 1 reply; 2+ messages in thread
From: Martchukov Anton @ 2003-08-30 10:28 UTC (permalink / raw)
  To: linux-diald

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.

-- 
Martchukov Anton aka VH ========================================      
---------------------------------------------------------------- 
E-mail: vhlist@yandex.ru    
ICQ: 155279978                     Registered Linux User #323324
================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: compilation problem
  2003-08-30 10:28 compilation problem Martchukov Anton
@ 2003-08-30 12:30 ` Mark Frey
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Frey @ 2003-08-30 12:30 UTC (permalink / raw)
  To: Martchukov Anton; +Cc: linux-diald

[-- 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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-30 12:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-30 10:28 compilation problem Martchukov Anton
2003-08-30 12:30 ` Mark Frey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).