[Samba] build error on samba 3.0.11 to be domain member w/ W2k ADS

G Sly gdssly1 at yahoo.com
Wed Feb 9 15:09:54 GMT 2005


I am trying to build a linux file server as a domain
member w/W2K-ADS .
I have: Slackware 10.1 freshly loaded
        KRB5 1.4
        Sleepycat DB 4.3.7 (needed for openLDAP build)
        OpenLDAP 2.3.23
When building Samba 3.0.11, I recieve the following
errors.

Using FLAGS =  -I/usr/local/include -O  -Iinclude
-I/usr/local/samba-3.0.11/source/include -I/usr/local
/samba-3.0.11/source/ubiqx
-I/usr/local/samba-3.0.11/source/smbwrapper  -I.
-I/usr/local/include -D_LAR
GEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-I/usr/local/samba-3.0.11/source
      LIBS = -lcrypt -lresolv -lnsl -ldl
      LDSHFLAGS = -shared -Wl,-Bsymbolic 
-L/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib
-Wl,-rpath,/us
r/lib
      LDFLAGS = -L/usr/local/lib -Wl,-rpath
-Wl,/usr/local/lib -Wl,-rpath,/usr/lib
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:1775: error: parse error before '['
token
client/clitar.c:1775: error: `argv' undeclared here
(not in a function)
client/clitar.c:1775: error: `Optind' undeclared here
(not in a function)
client/clitar.c:1775: error: `__s2' undeclared here
(not in a function)
client/clitar.c:1775: error: parse error before "if"
client/clitar.c:1775: error: conflicting declarations
of `__result'
client/clitar.c:1775: error: `__result' previously
defined here
client/clitar.c:1775: warning: data definition has no
type or storage class
client/clitar.c:1775: error: parse error before '}'
token
client/clitar.c:1775: error: conflicting declarations
of `__result'
client/clitar.c:1775: error: `__result' previously
declared here
client/clitar.c:1775: error: `__s1' undeclared here
(not in a function)
client/clitar.c:1775: error: parse error before "if"
client/clitar.c:1775: error: conflicting declarations
of `__result'
client/clitar.c:1775: error: `__result' previously
defined here
client/clitar.c:1775: warning: data definition has no
type or storage class
client/clitar.c:1775: error: parse error before '}'
token
client/clitar.c:1789: error: parse error before '['
token
client/clitar.c:1789: error: conflicting declarations
of `__result'
client/clitar.c:1775: error: `__result' previously
declared here
client/clitar.c:1789: error: `argv' undeclared here
(not in a function)
client/clitar.c:1789: error: `Optind' undeclared here
(not in a function)
client/clitar.c:1789: error: `__s2' undeclared here
(not in a function)
client/clitar.c:1789: error: parse error before "if"
client/clitar.c:1789: error: conflicting declarations
of `__result'
client/clitar.c:1789: error: `__result' previously
defined here
client/clitar.c:1789: warning: data definition has no
type or storage class
client/clitar.c:1789: error: parse error before '}'
token
client/clitar.c:1789: error: conflicting declarations
of `__result'
client/clitar.c:1789: error: `__result' previously
declared here
client/clitar.c:1789: error: `__s1' undeclared here
(not in a function)
client/clitar.c:1789: error: parse error before "if"
client/clitar.c:1789: error: conflicting declarations
of `__result'
client/clitar.c:1789: error: `__result' previously
defined here
client/clitar.c:1789: warning: data definition has no
type or storage class
client/clitar.c:1789: error: parse error before '}'
token
client/clitar.c:1794: error: parse error before '['
token
client/clitar.c:1794: error: conflicting declarations
of `__result'
client/clitar.c:1789: error: `__result' previously
declared here
client/clitar.c:1794: error: `argv' undeclared here
(not in a function)
client/clitar.c:1794: error: `Optind' undeclared here
(not in a function)
client/clitar.c:1794: error: `__s2' undeclared here
(not in a function)
client/clitar.c:1794: error: parse error before "if"
client/clitar.c:1794: error: conflicting declarations
of `__result'
client/clitar.c:1794: error: `__result' previously
defined here
client/clitar.c:1794: warning: data definition has no
type or storage class
client/clitar.c:1794: error: parse error before '}'
token
client/clitar.c:1794: error: conflicting declarations
of `__result'
client/clitar.c:1794: error: `__result' previously
declared here
client/clitar.c:1794: error: `__s1' undeclared here
(not in a function)
client/clitar.c:1794: error: parse error before "if"
client/clitar.c:1794: error: conflicting declarations
of `__result'
client/clitar.c:1794: error: `__result' previously
defined here
client/clitar.c:1794: warning: data definition has no
type or storage class
client/clitar.c:1794: error: parse error before '}'
token
client/clitar.c:1797: error: redefinition of `dry_run'
client/clitar.c:94: error: `dry_run' previously
defined 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: conflicting declarations
of `tarhandle'
client/clitar.c:118: error: `tarhandle' previously
declared here
client/clitar.c:1799: warning: data definition has no
type or storage class
client/clitar.c:1800: error: parse error before '}'
token
client/clitar.c:1775: error: register name not
specified for `__result'
client/clitar.c:1775: error: register name not
specified for `__result'
client/clitar.c:1789: error: register name not
specified for `__result'
client/clitar.c:1789: error: register name not
specified for `__result'
client/clitar.c:1794: error: register name not
specified for `__result'
client/clitar.c:1794: error: register name not
specified for `__result'
make: *** [client/clitar.o] Error 1

What can I try next?



		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 


More information about the samba mailing list