G Sly
2005-Feb-09 15:10 UTC
[Samba] build error on samba 3.0.11 to be domain member w/ W2k ADS
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
Gerald (Jerry) Carter
2005-Feb-09 15:58 UTC
[Samba] build error on samba 3.0.11 to be domain member w/ W2k ADS
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 G Sly wrote: | 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) See https://bugzilla.samba.org/show_bug.cgi?id=2309 for one reference. But didn't I just talk about this yesterday. ?? Somehow it appears that the MIT headers are setting HAVE_REGEX_H. Still working on it. cheers, jerry ====================================================================Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "I never saved anything for the swim back." Ethan Hawk in Gattaca -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCCjMhIR7qMdg1EfYRAkDyAJ463oJoKoyoXndQmY9vxhaRYqeTJgCgvey2 ctNCx1Mzav4GLolX+35nZ0k=3Wvn -----END PGP SIGNATURE-----