[Samba] Solaris 9 compile errors, samba 3.0.2rc1

Ganguly, Sapan Sapan.Ganguly at thalesgroup.com
Mon Jan 26 15:58:35 GMT 2004


I've tried compiling samba 3.0.2rc1, 'gcc -v' gives me -

Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.3.2

Here are a few bits from my config.log that I probably need help with, tell
me if you need the whole thing -

In file included from configure:5980:
/usr/include/security/pam_modules.h:17: error: parse error before '*' token
/usr/include/security/pam_modules.h:24: error: parse error before '*' token
/usr/include/security/pam_modules.h:31: error: parse error before '*' token
/usr/include/security/pam_modules.h:38: error: parse error before '*' token
/usr/include/security/pam_modules.h:45: error: parse error before '*' token
/usr/include/security/pam_modules.h:59: error: parse error before '*' token
/usr/include/security/pam_modules.h:71: error: parse error before '*' token
/usr/include/security/pam_modules.h:74: error: parse error before '*' token
/usr/include/security/pam_modules.h:83: error: parse error before '*' token

#include <security/pam_modules.h>
configure:5970: result: no
configure:5974: checking security/pam_modules.h presence
configure:5981: gcc -E  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
conftest.c
configure:5987: $? = 0
configure:6005: result: yes
configure:6016: WARNING: security/pam_modules.h: present but cannot be
compiled
configure:6018: WARNING: security/pam_modules.h: check for missing
prerequisite headers?
configure:6020: WARNING: security/pam_modules.h: proceeding with the
preprocessor's result
configure:6023: checking for security/pam_modules.h
configure:6030: result: yes
configure:5943: checking security/_pam_macros.h usability
configure:5952: gcc -c -O   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
conftest.c >&5
configure:5980:34: security/_pam_macros.h: No such file or directory
configure:5955: $? = 1
configure: failed program was:
#line 5945 "configure"

In file included from configure:6501:
/usr/include/netinet/ip.h:61: error: field `ip_src' has incomplete type
/usr/include/netinet/ip.h:61: error: field `ip_dst' has incomplete type
/usr/include/netinet/ip.h:134: error: field `ipt_addr' has incomplete type
configure:6476: $? = 1
configure: failed program was:
#line 6466 "configure"

configure:6618:17: nss.h: No such file or directory
configure:6628: $? = 1
configure: failed program was:
#line 6617 "configure"

#include <ns_api.h>
configure:6611: result: no
configure:6615: checking ns_api.h presence
configure:6622: gcc -E  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
conftest.c
configure:6618:20: ns_api.h: No such file or directory
configure:6628: $? = 1
configure: failed program was:
#line 6617 "configure"
#include "confdefs.h"
#include <ns_api.h>
configure:6646: result: no
configure:6664: checking for ns_api.h
configure:6671: result: no
configure:6584: checking sys/security.h usability
configure:6593: gcc -c -O   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
conftest.c >&5
configure:6621:26: sys/security.h: No such file or directory
configure:6596: $? = 1
configure: failed program was:
#line 6586 "configure"

There are more but they are pretty similar to these.

Can you help?

Thanks,
Sapan


More information about the samba mailing list