I'm having a problem
compiling courier 0.41.0 on my system. I run ./configure with the no
ipv6 option and no change password option and configure runs fine, but when i go
to make the build it runs fine for quite some time and then i get this
error:
Compiling
cmlm3.C
cmlm3.C: In function `CString mktmpfilename()':
cmlm3.C:187: `sleep' undeclared (first use this function)
cmlm3.C:187: (Each undeclared identifier is reported only once for each
function it appears in.)
/usr/local/include/c++/3.2.2/bits/stl_threads.h: At global scope:
/usr/local/include/c++/3.2.2/bits/stl_threads.h: In instantiation of `__gthread_mutex_t std::_Swap_lock_struct<0>::_S_swap_lock':
/usr/local/include/c++/3.2.2/bits/stl_threads.h:122: instantiated from here
/usr/local/include/c++/3.2.2/bits/stl_threads.h:115: warning: aggregate has a
partly bracketed initializer
/usr/local/include/c++/3.2.2/bits/stl_threads.h:115: warning: aggregate has a
partly bracketed initializer
make[3]: *** [cmlm3.o] Error 1
make[3]: Leaving directory `/export/home/bwalter/courier/courier-0.41.0/courier'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/export/home/bwalter/courier/courier-0.41.0/courier'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/export/home/bwalter/courier/courier-0.41.0/courier'
make: *** [all-recursive] Error 1
cmlm3.C: In function `CString mktmpfilename()':
cmlm3.C:187: `sleep' undeclared (first use this function)
cmlm3.C:187: (Each undeclared identifier is reported only once for each
function it appears in.)
/usr/local/include/c++/3.2.2/bits/stl_threads.h: At global scope:
/usr/local/include/c++/3.2.2/bits/stl_threads.h: In instantiation of `__gthread_mutex_t std::_Swap_lock_struct<0>::_S_swap_lock':
/usr/local/include/c++/3.2.2/bits/stl_threads.h:122: instantiated from here
/usr/local/include/c++/3.2.2/bits/stl_threads.h:115: warning: aggregate has a
partly bracketed initializer
/usr/local/include/c++/3.2.2/bits/stl_threads.h:115: warning: aggregate has a
partly bracketed initializer
make[3]: *** [cmlm3.o] Error 1
make[3]: Leaving directory `/export/home/bwalter/courier/courier-0.41.0/courier'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/export/home/bwalter/courier/courier-0.41.0/courier'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/export/home/bwalter/courier/courier-0.41.0/courier'
make: *** [all-recursive] Error 1
OS: Solaris 2.6
hardware 3/98 with full patch cluster
GCC:
3.2.2
Make:
3.80
Courier: 0.41.0
Any help would be
greatly appreciated.
Thank
you,
BDW
Bradley D. Walter
IT Analyst -
AdvanceRx.com
1 Great Valley Blvd.
Wilkes-Barre, PA 18706
Desk:
(570)820-2778
Mobile: (570)239-0649
On Net: #6,240-2778
