XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum -> Problems with build on Sun Solaris 8

Reply to this topicStart new topicStart Poll

> Problems with build on Sun Solaris 8
kong
Posted: Dec 17 2001, 03:00 PM
Quote Post


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
PM
Top
davide
Posted: Jan 2 2002, 03:19 AM
Quote Post


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.


PM
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | XMail Server | Next Newest »

Reply to this topicStart new topicStart Poll