[Dovecot] Error compiling on Solaris 10

Dirk Essl de at floydworld.de
Sun Jul 2 17:04:05 EEST 2006


Timo Sirainen wrote:
> On Sun, 2006-07-02 at 14:54 +0200, Dirk Essl wrote:
>> Hi,
>>
>> I'm trying to compile dovecot 1.0rc1 on a V250, Solaris 10 installed.
>>
>> -- configure:
>> CPPFLAGS=-I/usr/local/ssl/include LDFLAGS='-L/usr/local/ssl/lib 
>> -R/usr/local/ssl/lib' ./configure --with-ssl=openssl 
>> --with-file-offset-size=32
> ..
>> In file included from /usr/include/sys/signal.h:34,
>>                   from /usr/include/signal.h:26,
>>                   from file-dotlock.c:13:
>> /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
> 
> This looks more like something's broken in your system. I'm using
> Dovecot with Solaris 10 all the time just fine. What does this say:
> 
> grep ctid_t /usr/include/sys/types.h 


fiction:/tmp# grep ctid_t /usr/include/sys/types.h
typedef id_t    ctid_t;
fiction:/tmp#

> If it find it, then it's not being included for some reason. I'd try
> compiling a simple test program to see if it breaks also (gcc test.c -o
> test):
> 
> #include <sys/types.h>
> #include <signal.h>
> 
> int main(void) { return 0; }

fiction:/tmp# gcc test.c -o test
In file included from /usr/include/sys/signal.h:34,
                  from /usr/include/signal.h:26,
                  from test.c:2:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/signal.h:26,
                  from test.c:2:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from test.c:2:
/usr/include/signal.h:111: error: parse error before "siginfo_t"
/usr/include/signal.h:113: error: parse error before "siginfo_t"
fiction:/tmp#

:-(

The System is a fresh installed Solaris 10
fiction:/tmp# uname -ar
SunOS fiction 5.10 Generic_118833-17 sun4u sparc SUNW,Sun-Fire-V250

maybe I'm missing some patches?

--
TIA
dirk


More information about the dovecot mailing list