RE: [Exim] exim 4.30 compile problem -possible solution

Top Page
Delete this message
Reply to this message
Author: Viljoen Danie
Date:  
To: 'exim-users@exim.org'
Subject: RE: [Exim] exim 4.30 compile problem -possible solution
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
I discovered that pre Solaris 2.7 does not support type socklen_t.
Will changing socklen_t to int in the daemon.c sort this out ?


-----Original Message-----
From: Viljoen Danie [mailto:Danie.Viljoen@iclafrica.com]
Sent: 22 Januarie 2004 08:47
To: 'exim-users@???'
Subject: [Exim] exim 4.30 compile problem


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]



Hi All


I am trying to compile exim-4.30 on Solaris 2.6 using gcc 2.95 and get the
following error:

gcc -c -O -I.    daemon.c
daemon.c: In function `handle_smtp_call':
daemon.c:144: `socklen_t' undeclared (first use in this function)
daemon.c:144: (Each undeclared identifier is reported only once
daemon.c:144: for each function it appears in.)
daemon.c:144: parse error before `ifsize'
daemon.c:320: `ifsize' undeclared (first use in this function)
daemon.c: In function `daemon_go':
daemon.c:1391: `socklen_t' undeclared (first use in this function)
daemon.c:1391: parse error before `len'
daemon.c:1528: `len' undeclared (first use in this function)
*** Error code 1
make: Fatal error: Command failed for target `daemon.o'
Current working directory /opt/packages/exim-4.30/build-SunOS5-5.6-sparc
*** Error code 1
make: Fatal error: Command failed for target `go'


Exim 4.24 compiles without any problems using the same server/software etc.
I also compiled exim 4.30 on Solaris 8 using gcc 3.2 without any problems.

Any suggestions ?




Notice and Disclaimer
The information in this e-mail which includes any attachments is
confidential and is legally privileged.   It is intended solely for the
addressee, and access to this e-mail by anyone else is unauthorised.    If
you are not the intended recipient, any disclosure, copying, distribution or
action taken or omitted in reliance on it, is prohibited and may be
unlawful.   Please notify the sender immediately and delete the e-mail.
Whilst all reasonable steps are taken to ensure the accuracy and integrity
of information and data transmitted electronically and to preserve the
confidentiality thereof, ICL will not be held liable or responsible arising
out of information or data that is, for whatever reason, intercepted,
corrupted, infected with a computer virus or does not reach its intended
destination.    It is the responsibility of the named recipient(s) to ensure
that this e-mail and its contents are virus free.


Directors: M P Stares* (Chairman), E C de Kock (Managing), D J Courtley*
*British
International Computers (South Africa) (Pty) Limited
Registration Number: 1930/002267/07
For full details on our Disclaimer :
www.iclafrica.com


--

--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##
Notice and Disclaimer
The information in this e-mail which includes any attachments is
confidential and is legally privileged.   It is intended solely for the
addressee, and access to this e-mail by anyone else is unauthorised.    If
you are not the intended recipient, any disclosure, copying, distribution or
action taken or omitted in reliance on it, is prohibited and may be
unlawful.   Please notify the sender immediately and delete the e-mail.
Whilst all reasonable steps are taken to ensure the accuracy and integrity
of information and data transmitted electronically and to preserve the
confidentiality thereof, ICL will not be held liable or responsible arising
out of information or data that is, for whatever reason, intercepted,
corrupted, infected with a computer virus or does not reach its intended
destination.    It is the responsibility of the named recipient(s) to ensure
that this e-mail and its contents are virus free.


Directors: M P Stares* (Chairman), E C de Kock (Managing), D J Courtley*
*British
International Computers (South Africa) (Pty) Limited
Registration Number: 1930/002267/07
For full details on our Disclaimer :
www.iclafrica.com


--