[Samba] Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c

Edward Ashley ned at redmonkeysoftware.com
Thu Oct 25 10:45:37 MDT 2012


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 <esiotrot at gmail.com> wrote:

> Hi
>
> On 25 October 2012 15:29, Edward Ashley <ned at redmonkeysoftware.com> wrote:
> > Hi,
> > ccache is not installed. I have run the strace like this:
> [...]
> > stat("/usr/libexec/gcc/x86_64-redhat-linux/4.4.6/cc1",
> > {st_mode=S_IFREG|0755, st_size=9326392, ...}) = 0
> > access("/usr/libexec/gcc/x86_64-redhat-linux/4.4.6/cc1", X_OK) = 0
> > vfork()                                 = 12573
> > wait4(12573, 0xd36a70, 0, NULL)         = ? ERESTARTSYS (To be restarted)
> > --- SIGWINCH (Window changed) @ 0 (0) ---
> > wait4(12573,
>
> It's waiting for the process with PID 12573 to finish.  I suppose cc1?
>
> > HTH, if I need to use a different strace command or switch please let me
> > know.
> > Thanks
> > Ned
>
> It might help to use "strace -f" to trace the child processes too.
>
> --
> Michael Wood <esiotrot at gmail.com>
>
Edward Ashley
Developer

e. ned at redmonkeysoftware.com
u. www.redmonkeysoftware.com
t. 0845 867 3849
f. 0845 867 4127

Red Monkey Software | Superior Software Solutions

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


More information about the samba mailing list