2019-09-20 - hschneider, Admin
Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.
XMail Forum · Newbies read here ! All about SMTP,MX-Records,DNS etc. | Help Search Members Calendar |
Welcome Guest ( Log In | Register ) | Resend Validation Email |
kong |
Posted: Dec 17 2001, 03:00 PM
|
Newbie Group: Members Posts: 1 Member No.: 112 Joined: 17-December 01 |
Hi!
I have a problem with building XMail 1.2 on Sun Solaris 8. GCC is 3.0. Can anybody help me? I'm getting following error messages: c++ -O2 -I. -D__SOLARIS__ -DXMAIL_SPARC -D_THREAD_SAFE=1 -D_REENTRANT=1 -c SysDep.cpp In file included from SysDep.cpp:35: /usr/include/dirent.h: In function `SYS_HANDLE SysFirstFile(const char*, char*)': /usr/include/dirent.h:148: too few arguments to function `int readdir_r(DIR*, dirent*, dirent**)' SysDepSolaris.cpp:2260: at this point in file SysDepSolaris.cpp:2260: cannot convert `int' to `dirent*' in initialization In file included from SysDep.cpp:35: /usr/include/dirent.h: In function `int SysNextFile(long unsigned int, char*)': /usr/include/dirent.h:148: too few arguments to function `int readdir_r(DIR*, dirent*, dirent**)' SysDepSolaris.cpp:2328: at this point in file SysDepSolaris.cpp:2328: cannot convert `int' to `dirent*' in initialization /usr/include/time.h: In function `char* SysCTime(time_t*, char*, int)': /usr/include/time.h:264: too many arguments to function `char* ctime_r(const time_t*, char*)' SysDepSolaris.cpp:2528: at this point in file /usr/include/time.h: In function `char* SysAscTime(tm*, char*, int)': /usr/include/time.h:258: too many arguments to function `char* asctime_r(const tm*, char*)' SysDepSolaris.cpp:2555: at this point in file SysDepSolaris.cpp: In function `unsigned int SysStkCall(unsigned int (*)(void*), void*)': SysDepSolaris.cpp:2769: `alloca' undeclared (first use this function) SysDepSolaris.cpp:2769: (Each undeclared identifier is reported only once for each function it appears in.) make: *** [SysDep.o] Error 1 adios, /komg |
davide |
Posted: Jan 2 2002, 03:19 AM
|
Junior Member Group: Members Posts: 26 Member No.: 3 Joined: 27-February 01 |
There's something wrong with your includes. I've an UltraSparc 5 with Solaris 8 and everything build just fine.
|