[Samba] Samba 3.0.11 won't compile on Solaris 8

Celeste Suliin Burris csburris at ci.tacoma.wa.us
Wed Feb 9 00:50:59 GMT 2005


Samba 3.0.11 won't compile on my Solaris 8 machine. It keeps getting 
compile errors in clitar, although I am using exactly the same 
configuration options as in Samba 3.0.10.

Here is the basic configuration from config.log

   $ ./configure --with-ldap --with-ads --with-acl-support --with-pam 
--with-krb5=/usr/local --enable-shared --without-gnu-ld 
--with-mysql-prefix=/usr/local/mysql --enable-cups 
--with-xml-prefix=/usr/local/lib/ --with-python

## --------- ##
## Platform. ##
## --------- ##

hostname = geobase1
uname -m = sun4u
uname -r = 5.8
uname -s = SunOS
uname -v = Generic_117350-05
...
## ----------- ##
## Core tests. ##
## ----------- ##

configure:1765: checking for gcc
configure:1791: result: gcc
configure:2035: checking for C compiler version
configure:2038: gcc --version </dev/null >&5
gcc (GCC) 3.4.1

The program errors read as follows-

Compiling client/client.c
client/client.c: In function `do_get':
client/client.c:699: warning: passing arg 4 of `cli_getattrE' from 
incompatible pointer type
client/client.c: In function `do_put':
client/client.c:1075: warning: passing arg 4 of `cli_getattrE' from 
incompatible pointer type
Compiling client/clitar.c
client/clitar.c:91: error: parse error before '*' token
client/clitar.c:91: warning: data definition has no type or storage 
class
client/clitar.c: In function `tar_parseargs':
client/clitar.c:1754: error: `regex_t' undeclared (first use in this 
function)
client/clitar.c:1754: error: (Each undeclared identifier is reported 
only once
client/clitar.c:1754: error: for each function it appears in.)
client/clitar.c:1754: error: parse error before ')' token
client/clitar.c:1760: error: `errcode' undeclared (first use in this 
function)
client/clitar.c:1760: error: `REG_EXTENDED' undeclared (first use in 
this function)
client/clitar.c: At top level:
client/clitar.c:1775: error: parse error before "if"
client/clitar.c:1797: error: redefinition of 'dry_run'
client/clitar.c:94: error: previous definition of 'dry_run' was here
client/clitar.c:1797: warning: data definition has no type or storage 
class
client/clitar.c:1798: error: parse error before '}' token
client/clitar.c:1799: error: non-static declaration of 'tarhandle' 
follows static declaration
client/clitar.c:118: error: previous declaration of 'tarhandle' was here
client/clitar.c:1799: warning: data definition has no type or storage 
class
client/clitar.c:1800: error: parse error before '}' token
gmake: *** [client/clitar.o] Error 1

Thanks in advance for any help.

Celeste Suliin Burris
Systems Administrator
Tacoma Economic Development Department
Phone - 253-591-5093
Email - csburris at ci.tacoma.wa.us



More information about the samba mailing list