Hi,
I have tried both RC4 and samba-master from the repository but I can't seem
to get samba4 to compile. I have rebuilt the OS (Centos 6.3) from scratch,
applied all updates and followed the samba4 howto but I am still having the
same issue. I get:
In file included from ../source4/include/includes.h:23,
from ../librpc/ndr/ndr_basic.c:22:
../lib/replace/../replace/replace.h:32:20: error: config.h: No such file or
directory
In file included from ../source4/include/includes.h:23,
from ../librpc/ndr/ndr_basic.c:22:
../lib/replace/../replace/replace.h:148: error: conflicting types for
\u2018sys_errlist\u2019
/usr/include/bits/sys_errlist.h:28: note: previous declaration of
\u2018sys_errlist\u2019 was here
../lib/replace/../replace/replace.h:153: error: function declaration
isn\u2019t a prototype
../lib/replace/../replace/replace.h:848: error: conflicting types for
\u2018useconds_t\u2019
/usr/include/sys/types.h:137: note: previous declaration of
\u2018useconds_t\u2019 was here
In file included from ../librpc/ndr/ndr_basic.c:22:
../source4/include/includes.h:28:2: error: #error "make sure you have
removed all config.h files from standalone builds!"
../source4/include/includes.h:29:2: error: #error "the included config.h
isn't from samba!"
In file included from ../source4/include/includes.h:33,
from ../librpc/ndr/ndr_basic.c:22:
../lib/replace/system/time.h:50: error: redefinition of \u2018struct
timespec\u2019
../lib/replace/system/time.h:80: error: conflicting types for
\u2018rep_clock_gettime\u2019
/usr/include/time.h:336: note: previous declaration of
\u2018rep_clock_gettime\u2019 was here
In file included from ../source4/include/includes.h:60,
from ../librpc/ndr/ndr_basic.c:22:
../librpc/../lib/util/debug.h:252: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018get_task_id\u2019
../librpc/../lib/util/debug.h:266: error: expected specifier-qualifier-list
before \u2018uint32_t\u2019
In file included from ../librpc/../lib/util/samba_util.h:24,
from ../source4/include/includes.h:61,
from ../librpc/ndr/ndr_basic.c:22:
../lib/util/charset/charset.h:40: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018smb_ucs2_t\u2019
../lib/util/charset/charset.h:66: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018codepoint_t\u2019
../lib/util/charset/charset.h:142: error: expected declaration specifiers
or \u2018...\u2019 before \u2018smb_ucs2_t\u2019
../lib/util/charset/charset.h:145: warning: type defaults to
\u2018int\u2019 in declaration of \u2018smb_ucs2_t\u2019
../lib/util/charset/charset.h:145: error: expected \u2018;\u2019,
\u2018,\u2019 or \u2018)\u2019 before \u2018*\u2019 token
../lib/util/charset/charset.h:174: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018next_codepoint_ext\u2019
../lib/util/charset/charset.h:176: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018next_codepoint\u2019
../lib/util/charset/charset.h:177: error: expected declaration specifiers
or \u2018...\u2019 before \u2018codepoint_t\u2019
../lib/util/charset/charset.h:180: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018next_codepoint_handle_ext\u2019
../lib/util/charset/charset.h:183: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018next_codepoint_handle\u2019
../lib/util/charset/charset.h:186: error: expected declaration specifiers
or \u2018...\u2019 before \u2018codepoint_t\u2019
../lib/util/charset/charset.h:188: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018toupper_m\u2019
../lib/util/charset/charset.h:189: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018tolower_m\u2019
../lib/util/charset/charset.h:190: error: expected \u2018)\u2019 before
\u2018val\u2019
../lib/util/charset/charset.h:191: error: expected \u2018)\u2019 before
\u2018val\u2019
../lib/util/charset/charset.h:192: error: expected \u2018)\u2019 before
\u2018c1\u2019
../lib/util/charset/charset.h:230: warning: type defaults to
\u2018int\u2019 in declaration of \u2018smb_ucs2_t\u2019
../lib/util/charset/charset.h:230: error: expected \u2018;\u2019,
\u2018,\u2019 or \u2018)\u2019 before \u2018*\u2019 token
../lib/util/charset/charset.h:231: warning: type defaults to
\u2018int\u2019 in declaration of \u2018smb_ucs2_t\u2019
../lib/util/charset/charset.h:231: error: expected \u2018;\u2019,
\u2018,\u2019 or \u2018)\u2019 before \u2018*\u2019 token
../lib/util/charset/charset.h:232: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018*\u2019 token
...
do you have kernel-devel installed? this what you have means you have some missing library installed in your centos.
________________________________
De : Edward Ashley <n...@redmonkeysoftware.com>
À : sa...@lists.samba.org Envoyé le : Mercredi 24 octobre 2012 12h24
Objet : [Samba] Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c
Hi,
I have tried both RC4 and samba-master from the repository but I can't seem
to get samba4 to compile. I have rebuilt the OS (Centos 6.3) from scratch,
applied all updates and followed the samba4 howto but I am still having the
same issue. I get:
In file included from ../source4/include/includes.h:23,
from ../librpc/ndr/ndr_basic.c:22:
../lib/replace/../replace/replace.h:32:20: error: config.h: No such file or
directory
In file included from ../source4/include/includes.h:23,
from ../librpc/ndr/ndr_basic.c:22:
../lib/replace/../replace/replace.h:148: error: conflicting types for
\u2018sys_errlist\u2019
/usr/include/bits/sys_errlist.h:28: note: previous declaration of
\u2018sys_errlist\u2019 was here
../lib/replace/../replace/replace.h:153: error: function declaration
isn\u2019t a prototype
../lib/replace/../replace/replace.h:848: error: conflicting types for
\u2018useconds_t\u2019
/usr/include/sys/types.h:137: note: previous declaration of
\u2018useconds_t\u2019 was here
In file included from ../librpc/ndr/ndr_basic.c:22:
../source4/include/includes.h:28:2: error: #error "make sure you have
removed all config.h files from standalone builds!"
../source4/include/includes.h:29:2: error: #error "the included config.h
isn't from samba!"
In file included from ../source4/include/includes.h:33,
from ../librpc/ndr/ndr_basic.c:22:
../lib/replace/system/time.h:50: error: redefinition of \u2018struct
timespec\u2019
../lib/replace/system/time.h:80: error: conflicting types for
\u2018rep_clock_gettime\u2019
/usr/include/time.h:336: note: previous declaration of
\u2018rep_clock_gettime\u2019 was here
In file included from ../source4/include/includes.h:60,
from ../librpc/ndr/ndr_basic.c:22:
../librpc/../lib/util/debug.h:252: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018get_task_id\u2019
../librpc/../lib/util/debug.h:266: error: expected specifier-qualifier-list
before \u2018uint32_t\u2019
In file included from ../librpc/../lib/util/samba_util.h:24,
from ../source4/include/includes.h:61,
from ../librpc/ndr/ndr_basic.c:22:
../lib/util/charset/charset.h:40: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018smb_ucs2_t\u2019
../lib/util/charset/charset.h:66: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018codepoint_t\u2019
../lib/util/charset/charset.h:142: error: expected declaration specifiers
or \u2018...\u2019 before \u2018smb_ucs2_t\u2019
../lib/util/charset/charset.h:145: warning: type defaults to
\u2018int\u2019 in declaration of \u2018smb_ucs2_t\u2019
../lib/util/charset/charset.h:145: error: expected \u2018;\u2019,
\u2018,\u2019 or \u2018)\u2019 before \u2018*\u2019 token
../lib/util/charset/charset.h:174: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018next_codepoint_ext\u2019
../lib/util/charset/charset.h:176: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018next_codepoint\u2019
../lib/util/charset/charset.h:177: error: expected declaration specifiers
or \u2018...\u2019 before \u2018codepoint_t\u2019
../lib/util/charset/charset.h:180: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018next_codepoint_handle_ext\u2019
../lib/util/charset/charset.h:183: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018next_codepoint_handle\u2019
../lib/util/charset/charset.h:186: error: expected declaration specifiers
or \u2018...\u2019 before \u2018codepoint_t\u2019
../lib/util/charset/charset.h:188: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018toupper_m\u2019
../lib/util/charset/charset.h:189: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018tolower_m\u2019
../lib/util/charset/charset.h:190: error: expected \u2018)\u2019 before
\u2018val\u2019
../lib/util/charset/charset.h:191: error: expected \u2018)\u2019 before
\u2018val\u2019
../lib/util/charset/charset.h:192: error: expected \u2018)\u2019 before
\u2018c1\u2019
../lib/util/charset/charset.h:230: warning: type defaults to
\u2018int\u2019 in declaration of \u2018smb_ucs2_t\u2019
../lib/util/charset/charset.h:230: error: expected \u2018;\u2019,
\u2018,\u2019 or \u2018)\u2019 before
...
On Wed, 2012-10-24 at 09:24 +0100, Edward Ashley wrote:
> Hi,
> I have tried both RC4 and samba-master from the repository but I can't seem
> to get samba4 to compile. I have rebuilt the OS (Centos 6.3) from scratch,
> applied all updates and followed the samba4 howto but I am still having the
> same issue. I get:
> Sorry for the long post, has anyone got any clues as to why this is
> happening?
We don't, at this point. BTW, The normal gcc command is run in 'bin',
which is why all the paths have a ../ on them. If run from there, you
shouldn't need the extra include for config.h
It's always a cop-out to cry 'compiler bug', but I'm lost as to what
else it could be. Do you have any further indication on what exactly
that gcc command is doing when hung?
There isn't anything on that command that could be confused for 'stdin',
so I'm really quite lost. Are ../librpc/ndr/ndr_basic.c and
default/librpc/ndr/ndr_basic_156.o both normal files?
It was the same thing that I encountered it will stop on that
"librpc/ndr/ndr_basic.c" in which I posted before. But using a 64bit CentOS
6.3, no problems encountered as I tried it as I curious with the problems,
but in 32 bit it will hang up in which the server currently running and
can't upgrade to 64bit as of the moment.
Another observation when RC3 was released, it compiled smoothly without any
problems encountered. After which you can't recompile it, unless if you
reinstall the CentOS (which I did, just to test it). That's why I didn't
delete my compiled samba4. My assumptions there is an incompatibility
issues (not sure with it), but why it works when RC3 was released?
I also bit confused of this unusual problem.
Thanks,
Mario
On Wed, Oct 24, 2012 at 10:04 PM, Andrew Bartlett <abart...@samba.org>wrote:
> On Wed, 2012-10-24 at 09:24 +0100, Edward Ashley wrote:
> > Hi,
> > I have tried both RC4 and samba-master from the repository but I can't
> seem
> > to get samba4 to compile. I have rebuilt the OS (Centos 6.3) from
> scratch,
> > applied all updates and followed the samba4 howto but I am still having
> the
> > same issue. I get:
> > Sorry for the long post, has anyone got any clues as to why this is
> > happening?
> We don't, at this point. BTW, The normal gcc command is run in 'bin',
> which is why all the paths have a ../ on them. If run from there, you
> shouldn't need the extra include for config.h
> It's always a cop-out to cry 'compiler bug', but I'm lost as to what
> else it could be. Do you have any further indication on what exactly
> that gcc command is doing when hung?
> There isn't anything on that command that could be confused for 'stdin',
> so I'm really quite lost. Are ../librpc/ndr/ndr_basic.c and
> default/librpc/ndr/ndr_basic_156.o both normal files?
On Thu, 2012-10-25 at 14:31 +1300, Mario Codeniera wrote:
> Hi,
> It was the same thing that I encountered it will stop on that
> "librpc/ndr/ndr_basic.c" in which I posted before. But using a 64bit CentOS
> 6.3, no problems encountered as I tried it as I curious with the problems,
> but in 32 bit it will hang up in which the server currently running and
> can't upgrade to 64bit as of the moment.
> Another observation when RC3 was released, it compiled smoothly without any
> problems encountered. After which you can't recompile it, unless if you
> reinstall the CentOS (which I did, just to test it). That's why I didn't
> delete my compiled samba4. My assumptions there is an incompatibility
> issues (not sure with it), but why it works when RC3 was released?
> I also bit confused of this unusual problem.
Without wiping the OS, does the problem happen if you build in a new
tree?
On Thu, Oct 25, 2012 at 2:40 PM, Andrew Bartlett <abart...@samba.org> wrote:
> On Thu, 2012-10-25 at 14:31 +1300, Mario Codeniera wrote:
> > Hi,
> > It was the same thing that I encountered it will stop on that
> > "librpc/ndr/ndr_basic.c" in which I posted before. But using a 64bit
> CentOS
> > 6.3, no problems encountered as I tried it as I curious with the
> problems,
> > but in 32 bit it will hang up in which the server currently running and
> > can't upgrade to 64bit as of the moment.
> > Another observation when RC3 was released, it compiled smoothly without
> any
> > problems encountered. After which you can't recompile it, unless if you
> > reinstall the CentOS (which I did, just to test it). That's why I didn't
> > delete my compiled samba4. My assumptions there is an incompatibility
> > issues (not sure with it), but why it works when RC3 was released?
> > I also bit confused of this unusual problem.
> Without wiping the OS, does the problem happen if you build in a new
> tree?
I used to create a new tree but still doesn't solved, and ccache is not
installed by default even I installed it. No luck.
What I observed upon compilation it display a warning before compiling the
source4/torture/ and default/librpc/ directories , hope it doesn't affects.
../source4/torture/ndr/samr.c: In function
‘samr_changepassworduser3_w2k8r2_out_check’:
../source4/torture/ndr/samr.c:297: warning: integer constant is too
large for ‘long’ type
-- To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Strange, as I used centos 6.3 32 bit but have no this problem. I did several times recompile and it was ok. have you done make clean before recompiling may be?
________________________________
De : Andrew Bartlett <abart...@samba.org>
À : Mario Codeniera <mario.codeni...@gmail.com> Cc : sa...@lists.samba.org Envoyé le : Jeudi 25 octobre 2012 5h40
Objet : Re: [Samba] Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c
On Thu, 2012-10-25 at 14:31 +1300, Mario Codeniera wrote:
> Hi,
> It was the same thing that I encountered it will stop on that
> "librpc/ndr/ndr_basic.c" in which I posted before. But using a 64bit CentOS
> 6.3, no problems encountered as I tried it as I curious with the problems,
> but in 32 bit it will hang up in which the server currently running and
> can't upgrade to 64bit as of the moment.
> Another observation when RC3 was released, it compiled smoothly without any
> problems encountered. After which you can't recompile it, unless if you
> reinstall the CentOS (which I did, just to test it). That's why I didn't
> delete my compiled samba4. My assumptions there is an incompatibility
> issues (not sure with it), but why it works when RC3 was released?
> I also bit confused of this unusual problem.
Without wiping the OS, does the problem happen if you build in a new
tree?
On Thu, 2012-10-25 at 10:40 +0100, Innocent Yevide wrote:
> Strange, as I used centos 6.3 32 bit but have no this problem. I did
> several times recompile and it was ok. have you done make clean before
> recompiling may be?
I would urge anyone who can reproduce this *not* to just blow things
away with a make clean. Somewhere here is either something very odd in
a file being written out by Samba, or a gcc bug, or (perhaps) a ccache
bug (if that's in use).
We still want to pin down exactly what is going wrong where, if at all
possible, so we can report it to the right upstream, or correct our
code.
Hi,
Sorry I have been so quiet but has been difficult for me to get some time
to look into it. Basically this is what has happened for me so far (I am
running virtual machines on KVM for this):
I setup centos 6.3 x86_64 with all latest updates. I ran the yum install
which is recommended in the OS Requirements documentation. Grabbed a copy
of the samba-master and compiled and made it successfully. I provisioned a
domain and everything seemed fine, until I could not add a windows 7
machine to the domain. It kept coming back with an error message on the
windows machine whenever I tried to add it to the domain. I tried to debug
this and I think it came down to the internal dns server not being able to
update itself as there was no dns.keytab file or something like that.
Anyway I decided that I would make uninstall and make clean and start again
with a fresh compilation, so I started back at the ./configure.developer
stage and never got passed hanging at compiling ndr_basic.c. In the end I
thought I would scratch that setup and try on a fresh rebuild.
So I started again, installed Centos 6.3 x86_64, installed all updates, ran
the yum from the OS requirements and grabbed samba-master. This time it
hang straight away at compiling ndr_basic.c. So I tried a packaged version
which I think was RC4, same result.
To answer a few things that have so far been asked, yes kernel-devel is
installed and it doesn't make a difference. I have tried the gcc command
from the bin folder, no change. A make clean doesn't make any difference it
just starts from the beginning again.
I will try and debug more (trying the strace) but I don't know how quickly
I can to it.
Thanks
Ned
On 25 October 2012 11:01, Andrew Bartlett <abart...@samba.org> wrote:
> On Thu, 2012-10-25 at 10:40 +0100, Innocent Yevide wrote:
> > Strange, as I used centos 6.3 32 bit but have no this problem. I did
> > several times recompile and it was ok. have you done make clean before
> > recompiling may be?
> I would urge anyone who can reproduce this *not* to just blow things
> away with a make clean. Somewhere here is either something very odd in
> a file being written out by Samba, or a gcc bug, or (perhaps) a ccache
> bug (if that's in use).
> We still want to pin down exactly what is going wrong where, if at all
> possible, so we can report it to the right upstream, or correct our
> code.
Red Monkey Software Ltd, 24 The Layne, Elmer Sands, Bognor Regis, West Sussex. PO22 6JL
Registered in England and Wales no 5923420
Registered Office: 20 Springfield Road, Crawley, West Sussex, RH11 8AD
-- To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
On Thu, 2012-10-25 at 11:24 +0100, Edward Ashley wrote:
> Hi,
> Sorry I have been so quiet but has been difficult for me to get some
> time to look into it. Basically this is what has happened for me so
> far (I am running virtual machines on KVM for this):
> I setup centos 6.3 x86_64 with all latest updates. I ran the yum
> install which is recommended in the OS Requirements documentation.
> Grabbed a copy of the samba-master and compiled and made it
> successfully. I provisioned a domain and everything seemed fine, until
> I could not add a windows 7 machine to the domain. It kept coming back
> with an error message on the windows machine whenever I tried to add
> it to the domain. I tried to debug this and I think it came down to
> the internal dns server not being able to update itself as there was
> no dns.keytab file or something like that. Anyway I decided that I
> would make uninstall and make clean and start again with a fresh
> compilation, so I started back at the ./configure.developer stage and
> never got passed hanging at compiling ndr_basic.c. In the end I
> thought I would scratch that setup and try on a fresh rebuild.
> So I started again, installed Centos 6.3 x86_64, installed all
> updates, ran the yum from the OS requirements and grabbed
> samba-master. This time it hang straight away at compiling
> ndr_basic.c. So I tried a packaged version which I think was RC4, same
> result.
> To answer a few things that have so far been asked, yes kernel-devel
> is installed and it doesn't make a difference. I have tried the gcc
> command from the bin folder, no change. A make clean doesn't make any
> difference it just starts from the beginning again.
is ccache installed? does a 'ccache -C' help?
Certainly let's work from the gcc command run from the bin folder, as
that avoids all the waf lines.
An interesting idea would be to see if a copy of this exact tree, run on
a different (currently successful) host succeeds for fails.
> I will try and debug more (trying the strace) but I don't know how
> quickly I can to it.
> Thanks
> Ned
Hi, I'm trying to get a samba4 build on AIX 6.1, and run into a couple of
problems:
1. The entire Kerberos Heindal #includes need to be explicity included(with
path)
2. In order to get the ldap definitions (ldap.h etc) I've installed
openldap 2.4.28.
3. Learning to hate '//' line comments :-)
4. I get the following error and the make stops
[2358/3381] Compiling source3/passdb/pdb_ldap_util.c
"/usr/include/stdio.h", line 528.12: 1506-343 (S) Redeclaration of
fgetpos64 differs from previous declaration on line 323 of
"/usr/include/stdio.h".
"/usr/include/stdio.h", line 528.12: 1506-377 (I) The type "long long*" of
parameter 2 differs from the previous type "long*".
"/usr/include/stdio.h", line 531.12: 1506-343 (S) Redeclaration of fseeko64
differs from previous declaration on line 471 of "/usr/include/stdio.h".
"/usr/include/stdio.h", line 531.12: 1506-377 (I) The type "long long" of
parameter 2 differs from the previous type "long".
"/usr/include/stdio.h", line 532.12: 1506-343 (S) Redeclaration of
fsetpos64 differs from previous declaration on line 325 of
"/usr/include/stdio.h".
"/usr/include/stdio.h", line 532.12: 1506-377 (I) The type "const long
long*" of parameter 2 differs from the previous type "const long*".
"/usr/include/stdio.h", line 533.16: 1506-343 (S) Redeclaration of ftello64
differs from previous declaration on line 472 of "/usr/include/stdio.h".
"/usr/include/stdio.h", line 533.16: 1506-050 (I) Return type "long long"
in redeclaration is not compatible with the previous return type "long".
"/usr/include/unistd.h", line 171.17: 1506-343 (S) Redeclaration of lseek64
differs from previous declaration on line 169 of "/usr/include/unistd.h".
"/usr/include/unistd.h", line 171.17: 1506-050 (I) Return type "long long"
in redeclaration is not compatible with the previous return type "long".
"/usr/include/unistd.h", line 171.17: 1506-377 (I) The type "long long" of
parameter 2 differs from the previous type "long".
"/usr/include/sys/lockf.h", line 64.20: 1506-343 (S) Redeclaration of
lockf64 differs from previous declaration on line 62 of
"/usr/include/sys/lockf.h".
"/usr/include/sys/lockf.h", line 64.20: 1506-377 (I) The type "long long"
of parameter 3 differs from the previous type "long".
"/usr/include/unistd.h", line 809.33: 1506-343 (S) Redeclaration of
ftruncate64 differs from previous declaration on line 807 of
"/usr/include/unistd.h".
"/usr/include/unistd.h", line 809.33: 1506-377 (I) The type "long long" of
parameter 2 differs from the previous type "long".
"/usr/include/unistd.h", line 845.33: 1506-343 (S) Redeclaration of
truncate64 differs from previous declaration on line 843 of
"/usr/include/unistd.h".
"/usr/include/unistd.h", line 845.33: 1506-377 (I) The type "long long" of
parameter 2 differs from the previous type "long".
"/usr/include/unistd.h", line 862.33: 1506-343 (S) Redeclaration of pread64
differs from previous declaration on line 859 of "/usr/include/unistd.h".
"/usr/include/unistd.h", line 862.33: 1506-377 (I) The type "long long" of
parameter 4 differs from the previous type "long".
"/usr/include/unistd.h", line 863.33: 1506-343 (S) Redeclaration of
pwrite64 differs from previous declaration on line 860 of
"/usr/include/unistd.h".
"/usr/include/unistd.h", line 863.33: 1506-377 (I) The type "long long" of
parameter 4 differs from the previous type "long".
"/usr/include/unistd.h", line 942.25: 1506-343 (S) Redeclaration of
fclear64 differs from previous declaration on line 939 of
"/usr/include/unistd.h".
"/usr/include/unistd.h", line 942.25: 1506-050 (I) Return type "long long"
in redeclaration is not compatible with the previous return type "long".
"/usr/include/unistd.h", line 942.25: 1506-377 (I) The type "long long" of
parameter 2 differs from the previous type "long".
"/usr/include/unistd.h", line 943.25: 1506-343 (S) Redeclaration of
fsync_range64 differs from previous declaration on line 940 of
"/usr/include/unistd.h".
"/usr/include/unistd.h", line 943.25: 1506-377 (I) The type "long long" of
parameter 3 differs from the previous type "long".
Waf: Leaving directory `/app/RpmBuild/Work/samba-4.0.0rc3/bin'
Build failed: -> task failed (err #1):
{task: cc pdb_ldap_util.c -> pdb_ldap_util_17.o}
gmake: *** [all] Error 1
If I start make again it seems to go to the next few files, but then fails
agin.
VERTRAULICHKEIT: Diese Nachricht ist ausschließlich für denjenigen
bestimmt, an den sie adressiert ist und kann vertrauliche Informationen
enthalten. Falls Sie nicht der Empfänger dieser Nachricht sind, weisen wir
Sie darauf hin, dass die unberechtigte Weitergabe oder Verwendung sowie das
unberechtigte Verteilen oder Kopieren dieser Nachricht strikt untersagt
sind. Falls Sie diese Nachricht irrtümlich erhalten haben, vernichten Sie
sie bitte sofort.
CONFIDENTIALITY: This message is intended only for the use of the
individuality or entity to which it is addressed and may contain
information that is privileged, confidential and exempt from disclosure. If
you are not the intended recipient you are notified that any dissemination,
distribution, use or copying of this communication is strictly prohibited.
If you received this message in error, please immediately destroy this
message.
--------------------------------------------------------------------------- -----------------------------
-- To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Sorry - the first post got sent as a response to an unrelated thread :-(
...........................
Hi, I'm trying to get a samba4 build on AIX 6.1, and run into a couple of
problems:
1. The entire Kerberos Heindal #includes need to be explicity included(with
path)
2. In order to get the ldap definitions (ldap.h etc) I've installed
openldap 2.4.28.
3. Learning to hate '//' line comments :-)
4. I get the following error and the make stops
[2358/3381] Compiling source3/passdb/pdb_ldap_util.c
"/usr/include/stdio.h", line 528.12: 1506-343 (S) Redeclaration of
fgetpos64 differs from previous declaration on line 323 of
"/usr/include/stdio.h".
"/usr/include/stdio.h", line 528.12: 1506-377 (I) The type "long long*" of
parameter 2 differs from the previous type "long*".
"/usr/include/stdio.h", line 531.12: 1506-343 (S) Redeclaration of fseeko64
differs from previous declaration on line 471 of "/usr/include/stdio.h".
"/usr/include/stdio.h", line 531.12: 1506-377 (I) The type "long long" of
parameter 2 differs from the previous type "long".
"/usr/include/stdio.h", line 532.12: 1506-343 (S) Redeclaration of
fsetpos64 differs from previous declaration on line 325 of
"/usr/include/stdio.h".
"/usr/include/stdio.h", line 532.12: 1506-377 (I) The type "const long
long*" of parameter 2 differs from the previous type "const long*".
"/usr/include/stdio.h", line 533.16: 1506-343 (S) Redeclaration of ftello64
differs from previous declaration on line 472 of "/usr/include/stdio.h".
"/usr/include/stdio.h", line 533.16: 1506-050 (I) Return type "long long"
in redeclaration is not compatible with the previous return type "long".
"/usr/include/unistd.h", line 171.17: 1506-343 (S) Redeclaration of lseek64
differs from previous declaration on line 169 of "/usr/include/unistd.h".
"/usr/include/unistd.h", line 171.17: 1506-050 (I) Return type "long long"
in redeclaration is not compatible with the previous return type "long".
"/usr/include/unistd.h", line 171.17: 1506-377 (I) The type "long long" of
parameter 2 differs from the previous type "long".
"/usr/include/sys/lockf.h", line 64.20: 1506-343 (S) Redeclaration of
lockf64 differs from previous declaration on line 62 of
"/usr/include/sys/lockf.h".
"/usr/include/sys/lockf.h", line 64.20: 1506-377 (I) The type "long long"
of parameter 3 differs from the previous type "long".
"/usr/include/unistd.h", line 809.33: 1506-343 (S) Redeclaration of
ftruncate64 differs from previous declaration on line 807 of
"/usr/include/unistd.h".
"/usr/include/unistd.h", line 809.33: 1506-377 (I) The type "long long" of
parameter 2 differs from the previous type "long".
"/usr/include/unistd.h", line 845.33: 1506-343 (S) Redeclaration of
truncate64 differs from previous declaration on line 843 of
"/usr/include/unistd.h".
"/usr/include/unistd.h", line 845.33: 1506-377 (I) The type "long long" of
parameter 2 differs from the previous type "long".
"/usr/include/unistd.h", line 862.33: 1506-343 (S) Redeclaration of pread64
differs from previous declaration on line 859 of "/usr/include/unistd.h".
"/usr/include/unistd.h", line 862.33: 1506-377 (I) The type "long long" of
parameter 4 differs from the previous type "long".
"/usr/include/unistd.h", line 863.33: 1506-343 (S) Redeclaration of
pwrite64 differs from previous declaration on line 860 of
"/usr/include/unistd.h".
"/usr/include/unistd.h", line 863.33: 1506-377 (I) The type "long long" of
parameter 4 differs from the previous type "long".
"/usr/include/unistd.h", line 942.25: 1506-343 (S) Redeclaration of
fclear64 differs from previous declaration on line 939 of
"/usr/include/unistd.h".
"/usr/include/unistd.h", line 942.25: 1506-050 (I) Return type "long long"
in redeclaration is not compatible with the previous return type "long".
"/usr/include/unistd.h", line 942.25: 1506-377 (I) The type "long long" of
parameter 2 differs from the previous type "long".
"/usr/include/unistd.h", line 943.25: 1506-343 (S) Redeclaration of
fsync_range64 differs from previous declaration on line 940 of
"/usr/include/unistd.h".
"/usr/include/unistd.h", line 943.25: 1506-377 (I) The type "long long" of
parameter 3 differs from the previous type "long".
Waf: Leaving directory `/app/RpmBuild/Work/samba-4.0.0rc3/bin'
Build failed: -> task failed (err #1):
{task: cc pdb_ldap_util.c -> pdb_ldap_util_17.o}
gmake: *** [all] Error 1
If I start make again it seems to go to the next few files, but then fails
agin.
VERTRAULICHKEIT: Diese Nachricht ist ausschließlich für denjenigen
bestimmt, an den sie adressiert ist und kann vertrauliche Informationen
enthalten. Falls Sie nicht der Empfänger dieser Nachricht sind, weisen wir
Sie darauf hin, dass die unberechtigte Weitergabe oder Verwendung sowie das
unberechtigte Verteilen oder Kopieren dieser Nachricht strikt untersagt
sind. Falls Sie diese Nachricht irrtümlich erhalten haben, vernichten Sie
sie bitte sofort.
CONFIDENTIALITY: This message is intended only for the use of the
individuality or entity to which it is addressed and may contain
information that is privileged, confidential and exempt from disclosure. If
you are not the intended recipient you are notified that any dissemination,
distribution, use or copying of this communication is strictly prohibited.
If you received this message in error, please immediately destroy this
message.
--------------------------------------------------------------------------- -----------------------------
-- To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
> On Thu, 2012-10-25 at 11:24 +0100, Edward Ashley wrote:
> > Hi,
> > Sorry I have been so quiet but has been difficult for me to get some
> > time to look into it. Basically this is what has happened for me so
> > far (I am running virtual machines on KVM for this):
> > I setup centos 6.3 x86_64 with all latest updates. I ran the yum
> > install which is recommended in the OS Requirements documentation.
> > Grabbed a copy of the samba-master and compiled and made it
> > successfully. I provisioned a domain and everything seemed fine, until
> > I could not add a windows 7 machine to the domain. It kept coming back
> > with an error message on the windows machine whenever I tried to add
> > it to the domain. I tried to debug this and I think it came down to
> > the internal dns server not being able to update itself as there was
> > no dns.keytab file or something like that. Anyway I decided that I
> > would make uninstall and make clean and start again with a fresh
> > compilation, so I started back at the ./configure.developer stage and
> > never got passed hanging at compiling ndr_basic.c. In the end I
> > thought I would scratch that setup and try on a fresh rebuild.
> > So I started again, installed Centos 6.3 x86_64, installed all
> > updates, ran the yum from the OS requirements and grabbed
> > samba-master. This time it hang straight away at compiling
> > ndr_basic.c. So I tried a packaged version which I think was RC4, same
> > result.
> > To answer a few things that have so far been asked, yes kernel-devel
> > is installed and it doesn't make a difference. I have tried the gcc
> > command from the bin folder, no change. A make clean doesn't make any
> > difference it just starts from the beginning again.
> is ccache installed? does a 'ccache -C' help?
> Certainly let's work from the gcc command run from the bin folder, as
> that avoids all the waf lines.
> An interesting idea would be to see if a copy of this exact tree, run on
> a different (currently successful) host succeeds for fails.
> > I will try and debug more (trying the strace) but I don't know how
> > quickly I can to it.
> > Thanks
> > Ned
Hi,
Thanks for that, the latest output is quite long but ends up with this:
[pid 22991] open("/usr/include/netinet/ip.h", O_RDONLY|O_NOCTTY) = 4
[pid 22991] fstat(4, {st_mode=S_IFREG|0644, st_size=9522, ...}) = 0
[pid 22991] read(4, "/* Copyright (C) 1991,92,93,95,9"..., 9522) = 9522
[pid 22991] close(4) = 0
[pid 22991] open("default/librpc/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT
(No such file or directory)
[pid 22991] open("../librpc/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No
such file or directory)
[pid 22991] open("default/include/public/net/if.h", O_RDONLY|O_NOCTTY) = -1
ENOENT (No such file or directory)
[pid 22991] open("../include/public/net/if.h", O_RDONLY|O_NOCTTY) = -1
ENOENT (No such file or directory)
[pid 22991] open("default/source4/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT
(No such file or directory)
[pid 22991] open("../source4/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No
such file or directory)
[pid 22991] open("default/lib/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No
such file or directory)
[pid 22991] open("../lib/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such
file or directory)
[pid 22991] open("default/source4/lib/net/if.h", O_RDONLY|O_NOCTTY) = -1
ENOENT (No such file or directory)
[pid 22991] open("../source4/lib/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT
(No such file or directory)
[pid 22991] open("default/source4/include/net/if.h", O_RDONLY|O_NOCTTY) =
-1 ENOENT (No such file or directory)
[pid 22991] open("../source4/include/net/if.h", O_RDONLY|O_NOCTTY) = -1
ENOENT (No such file or directory)
[pid 22991] open("default/include/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT
(No such file or directory)
[pid 22991] open("../include/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No
such file or directory)
[pid 22991] open("default/lib/replace/net/if.h", O_RDONLY|O_NOCTTY) = -1
ENOENT (No such file or directory)
[pid 22991] open("../lib/replace/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT
(No such file or directory)
[pid 22991] open("default/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No
such file or directory)
[pid 22991] open("../net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT (No such
file or directory)
[pid 22991] open("default/lib/socket_wrapper/net/if.h", O_RDONLY|O_NOCTTY)
= -1 ENOENT (No such file or directory)
[pid 22991] open("../lib/socket_wrapper/net/if.h", O_RDONLY|O_NOCTTY) = -1
ENOENT (No such file or directory)
[pid 22991] open("default/lib/talloc/net/if.h", O_RDONLY|O_NOCTTY) = -1
ENOENT (No such file or directory)
[pid 22991] open("../lib/talloc/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT
(No such file or directory)
[pid 22991] open("default/lib/util/charset/net/if.h", O_RDONLY|O_NOCTTY) =
-1 ENOENT (No such file or directory)
[pid 22991] open("../lib/util/charset/net/if.h", O_RDONLY|O_NOCTTY) = -1
ENOENT (No such file or directory)
[pid 22991] open("default/lib/crypto/net/if.h", O_RDONLY|O_NOCTTY) = -1
ENOENT (No such file or directory)
[pid 22991] open("../lib/crypto/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT
(No such file or directory)
[pid 22991] open("default/libcli/util/net/if.h", O_RDONLY|O_NOCTTY) = -1
ENOENT (No such file or directory)
[pid 22991] open("../libcli/util/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT
(No such file or directory)
[pid 22991] open("default/lib/nss_wrapper/net/if.h", O_RDONLY|O_NOCTTY) =
-1 ENOENT (No such file or directory)
[pid 22991] open("../lib/nss_wrapper/net/if.h", O_RDONLY|O_NOCTTY) = -1
ENOENT (No such file or directory)
[pid 22991] open("default/lib/uid_wrapper/net/if.h", O_RDONLY|O_NOCTTY) =
-1 ENOENT (No such file or directory)
[pid 22991] open("../lib/uid_wrapper/net/if.h", O_RDONLY|O_NOCTTY) = -1
ENOENT (No such file or directory)
[pid 22991] open("default/dynconfig/net/if.h", O_RDONLY|O_NOCTTY) = -1
ENOENT (No such file or directory)
[pid 22991] open("../dynconfig/net/if.h", O_RDONLY|O_NOCTTY) = -1 ENOENT
(No such file or directory)
[pid 22991] open("/net/if.h", O_RDONLY|O_NOCTTY
Would you like me to copy more in or is this enough?
Thanks
Ned
On 25 October 2012 17:01, Michael Wood <esiot...@gmail.com> wrote:
Red Monkey Software Ltd, 24 The Layne, Elmer Sands, Bognor Regis, West Sussex. PO22 6JL
Registered in England and Wales no 5923420
Registered Office: 20 Springfield Road, Crawley, West Sussex, RH11 8AD
-- To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
-- Jefferson K Davis Technology and Information Systems Manager Standard School District 1200 North Chester Ave Bakersfield, CA 93308 661.392.2110 ext 120 (office) http://district.standard.k12.ca.us
District Users:
Click here to report technology issues
Hi,
I have tried both RC4 and from the repository but I can't seem to get
samba4 to compile. I have rebuilt the OS (Centos 6.3) from scratch and I am
still having the same issue. I get:
In file included from ../source4/include/includes.h:23,
from ../librpc/ndr/ndr_basic.c:22:
../lib/replace/../replace/replace.h:32:20: error: config.h: No such file or
directory
In file included from ../source4/include/includes.h:23,
from ../librpc/ndr/ndr_basic.c:22:
../lib/replace/../replace/replace.h:148: error: conflicting types for
\u2018sys_errlist\u2019
/usr/include/bits/sys_errlist.h:28: note: previous declaration of
\u2018sys_errlist\u2019 was here
../lib/replace/../replace/replace.h:153: error: function declaration
isn\u2019t a prototype
../lib/replace/../replace/replace.h:848: error: conflicting types for
\u2018useconds_t\u2019
/usr/include/sys/types.h:137: note: previous declaration of
\u2018useconds_t\u2019 was here
In file included from ../librpc/ndr/ndr_basic.c:22:
../source4/include/includes.h:28:2: error: #error "make sure you have
removed all config.h files from standalone builds!"
../source4/include/includes.h:29:2: error: #error "the included config.h
isn't from samba!"
In file included from ../source4/include/includes.h:33,
from ../librpc/ndr/ndr_basic.c:22:
../lib/replace/system/time.h:50: error: redefinition of \u2018struct
timespec\u2019
../lib/replace/system/time.h:80: error: conflicting types for
\u2018rep_clock_gettime\u2019
/usr/include/time.h:336: note: previous declaration of
\u2018rep_clock_gettime\u2019 was here
In file included from ../source4/include/includes.h:60,
from ../librpc/ndr/ndr_basic.c:22:
../librpc/../lib/util/debug.h:252: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018get_task_id\u2019
../librpc/../lib/util/debug.h:266: error: expected specifier-qualifier-list
before \u2018uint32_t\u2019
In file included from ../librpc/../lib/util/samba_util.h:24,
from ../source4/include/includes.h:61,
from ../librpc/ndr/ndr_basic.c:22:
../lib/util/charset/charset.h:40: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018smb_ucs2_t\u2019
../lib/util/charset/charset.h:66: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018codepoint_t\u2019
../lib/util/charset/charset.h:142: error: expected declaration specifiers
or \u2018...\u2019 before \u2018smb_ucs2_t\u2019
../lib/util/charset/charset.h:145: warning: type defaults to
\u2018int\u2019 in declaration of \u2018smb_ucs2_t\u2019
../lib/util/charset/charset.h:145: error: expected \u2018;\u2019,
\u2018,\u2019 or \u2018)\u2019 before \u2018*\u2019 token
../lib/util/charset/charset.h:174: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018next_codepoint_ext\u2019
../lib/util/charset/charset.h:176: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018next_codepoint\u2019
../lib/util/charset/charset.h:177: error: expected declaration specifiers
or \u2018...\u2019 before \u2018codepoint_t\u2019
../lib/util/charset/charset.h:180: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018next_codepoint_handle_ext\u2019
../lib/util/charset/charset.h:183: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018next_codepoint_handle\u2019
../lib/util/charset/charset.h:186: error: expected declaration specifiers
or \u2018...\u2019 before \u2018codepoint_t\u2019
../lib/util/charset/charset.h:188: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018toupper_m\u2019
../lib/util/charset/charset.h:189: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018tolower_m\u2019
../lib/util/charset/charset.h:190: error: expected \u2018)\u2019 before
\u2018val\u2019
../lib/util/charset/charset.h:191: error: expected \u2018)\u2019 before
\u2018val\u2019
../lib/util/charset/charset.h:192: error: expected \u2018)\u2019 before
\u2018c1\u2019
../lib/util/charset/charset.h:230: warning: type defaults to
\u2018int\u2019 in declaration of \u2018smb_ucs2_t\u2019
../lib/util/charset/charset.h:230: error: expected \u2018;\u2019,
\u2018,\u2019 or \u2018)\u2019 before \u2018*\u2019 token
../lib/util/charset/charset.h:231: warning: type defaults to
\u2018int\u2019 in declaration of \u2018smb_ucs2_t\u2019
../lib/util/charset/charset.h:231: error: expected \u2018;\u2019,
\u2018,\u2019 or \u2018)\u2019 before \u2018*\u2019 token
../lib/util/charset/charset.h:232: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018*\u2019 token
../lib/util/charset/charset.h:233: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018*\u2019 token
../lib/util/charset/charset.h:234: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018*\u2019 token
../lib/util/charset/charset.h:235: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018*\u2019 token
../lib/util/charset/charset.h:236: error: expected \u2018=\u2019,
\u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019
before \u2018*\u2019 token
../lib/util/charset/charset.h:237: error: expected \u2018)\u2019 before
\u2018*\u2019 token
../lib/util/charset/charset.h:238: error: expected \u2018)\u2019 before
\u2018*\u2019 token
../lib/util/charset/charset.h:239: warning: type defaults to
\u2018int\u2019 in declaration of \u2018smb_ucs2_t\u2019
../lib/util/charset/charset.h:239: error: expected \u2018;\u2019,
\u2018,\u2019 or \u2018)\u2019 before \u2018*\u2019 token
../lib/util/charset/charset.h:240: warning: type defaults to
\u2018int\u2019 in declaration of \u2018smb_ucs2_t\u2019
../lib/util/charset/charset.h:240: error: expected \u2018;\u2019,
\u2018,\u2019 or \u2018)\u2019 before
...
can you strace -p the gcc process and see if it moves ?
You can also try to GDP the process and once in GDP h it ctrl-c and then bt to see where it is.
Hth Matthieu
On Oct 24, 2012, at 2:04 AM, Andrew Bartlett <abart...@samba.org> wrote:
> On Wed, 2012-10-24 at 09:24 +0100, Edward Ashley wrote:
>> Hi,
>> I have tried both RC4 and samba-master from the repository but I can't seem
>> to get samba4 to compile. I have rebuilt the OS (Centos 6.3) from scratch,
>> applied all updates and followed the samba4 howto but I am still having the
>> same issue. I get:
>> Sorry for the long post, has anyone got any clues as to why this is
>> happening?
> We don't, at this point. BTW, The normal gcc command is run in 'bin',
> which is why all the paths have a ../ on them. If run from there, you
> shouldn't need the extra include for config.h
> It's always a cop-out to cry 'compiler bug', but I'm lost as to what
> else it could be. Do you have any further indication on what exactly
> that gcc command is doing when hung?
> There isn't anything on that command that could be confused for 'stdin',
> so I'm really quite lost. Are ../librpc/ndr/ndr_basic.c and
> default/librpc/ndr/ndr_basic_156.o both normal files?
On Wed, 2012-10-24 at 09:24 +0100, Edward Ashley wrote:
> Hi,
> I have tried both RC4 and samba-master from the repository but I can't seem
> to get samba4 to compile. I have rebuilt the OS (Centos 6.3) from scratch,
> applied all updates and followed the samba4 howto but I am still having the
> same issue. I get:
> Sorry for the long post, has anyone got any clues as to why this is
> happening?
We don't, at this point. BTW, The normal gcc command is run in 'bin',
which is why all the paths have a ../ on them. If run from there, you
shouldn't need the extra include for config.h
It's always a cop-out to cry 'compiler bug', but I'm lost as to what
else it could be. Do you have any further indication on what exactly
that gcc command is doing when hung?
There isn't anything on that command that could be confused for 'stdin',
so I'm really quite lost. Are ../librpc/ndr/ndr_basic.c and
default/librpc/ndr/ndr_basic_156.o both normal files?