qmail compile error

2001-01-25 Thread Fish Flowers

Hi --

I'm trying to install qmail on a Solaris box, and when running "make setup
check" I'm getting the following string:

... [happy compile messages] ...
./compile dns.c
"/usr/include/arpa/nameser.h", line 127: warning: const is a keyword in
ANSI C
"/usr/include/arpa/nameser.h", line 127: syntax error before or at: const
"/usr/include/arpa/nameser.h", line 127: cannot recover from previous
errors
make: *** [dns.o] Error 10
#

The relevant lines of /usr/include/arpa/nameser.h are:

typdef struct __ns_msg {
const uchar_t   *_msg, *_eom;
uint16_t_id, _flags, _counts[ns_s_max];
const uchar_t   *_sections[ns_s_max];
ns_sect _sect;
int _rrnum;
const uchar_t   *_ptr;
} ns_msg;

Does anyone have any pointers on how to resolve this?

Thanks,

Fish Flowers.




Re: qmail compile error

2001-01-25 Thread Peter van Dijk

On Thu, Jan 25, 2001 at 11:06:49AM -0600, Fish Flowers wrote:
[snip]
 typdef struct __ns_msg {

Are you sure it says 'typdef' there? It should be 'typedef'. Looks
like someone messed with your includefiles.

Greetz, Peter.



Qmail Compile Error on linux RH 6.1

2000-04-11 Thread Madhav

Hi all,
I have got the following error while compiling(make setup check). I have
searched for this in mailing list archive without any use. Here is my error.
I am using RH 6.1 linux distro.

[root@server1 qmail-1.03]# make setup check
./load auto-str substdio.a error.a str.a
/usr/bin/ld: cannot open -lsyncdir: No such file or directory
collect2: ld returned 1 exit status
make: *** [auto-str] Error 1

Can anyone help me out?

Thanks in advance,
Madhav