Hi all,
I can't get diald to compile. I am using RH 6.1 with kernel 2.2.12-20.
I downloaded & unpacked the source code, then ran "make", and I get all sorts
of errors. It seems that lots of the library files aren't there or can't be
found.
This is a new box I'm setting up and found that I hadn't installed the gcc
package. So I just downloaded it and installed the RPM
(egcs-1_1_2-24_i386.rpm). It seems to be working fine, but could this be
causing the problem? I've never been good at solving these compiling issues.
Am I missing something easy? Any & all help is greatly appreciated!
Here's a short chunk of the error output:
[root@mybox diald]# make
cc -O2 -Wall -pipe -DTCP_WRAPPERS -DAUTH_PAM -c diald.c -o diald.o
In file included from diald.c:29:
diald.h:9: stdio.h: No such file or directory
diald.h:10: stdlib.h: No such file or directory
In file included from diald.c:29:
diald.h:12: unistd.h: No such file or directory
diald.h:13: string.h: No such file or directory
diald.h:14: dirent.h: No such file or directory
diald.h:15: fcntl.h: No such file or directory
diald.h:16: ctype.h: No such file or directory
diald.h:17: errno.h: No such file or directory
diald.h:18: syslog.h: No such file or directory
diald.h:19: signal.h: No such file or directory
diald.h:20: time.h: No such file or directory
diald.h:24: sys/time.h: No such file or directory
diald.h:25: sys/wait.h: No such file or directory
diald.h:26: sys/types.h: No such file or directory
diald.h:27: sys/stat.h: No such file or directory
diald.h:28: sys/ioctl.h: No such file or directory
diald.h:29: sys/socket.h: No such file or directory
diald.h:30: sys/termios.h: No such file or directory
diald.h:32: net/if.h: No such file or directory
diald.h:33: netdb.h: No such file or directory
diald.h:40: netinet/in.h: No such file or directory
diald.h:45: linux/ip.h: No such file or directory
diald.h:46: linux/in.h: No such file or directory
diald.h:47: linux/udp.h: No such file or directory
diald.h:48: linux/tcp.h: No such file or directory
diald.h:49: linux/icmp.h: No such file or directory
diald.h:55: arpa/inet.h: No such file or directory
diald.h:58: linux/if_ether.h: No such file or directory
diald.h:59: linux/if_slip.h: No such file or directory
diald.h:60: linux/if_packet.h: No such file or directory
In file included from diald.c:29:
diald.h:242: parse error before `*'
diald.h:242: warning: type defaults to `int' in declaration of `acctfp'
diald.h:242: warning: data definition has no type or storage class
diald.h:296: parse error before `ctrl_fds'
diald.h:296: warning: type defaults to `int' in declaration of `ctrl_fds'
diald.h:296: warning: data definition has no type or storage class
You get the idea, it goes on and on....
Thanks again!
*******************************
Ben Frame
Academic Computing Intern
Wabash College
765.361.6344
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]