Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  19 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Edward Ashley  
View profile  
 More options Oct 24 2012, 4:30 am
Newsgroups: linux.samba
From: Edward Ashley <n...@redmonkeysoftware.com>
Date: Wed, 24 Oct 2012 10:30:02 +0200
Local: Wed, Oct 24 2012 4:30 am
Subject: [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:

# make
WAF_MAKE=1 ./buildtools/bin/waf build
Waf: Entering directory `/opt/samba-master/bin'
Selected embedded Heimdal build
[ 133/3978] Generating VERSION
[ 168/3978] Generating smbd/build_options.c
[1815/3978] Compiling librpc/ndr/ndr_basic.c

As previously suggested I have run make V=1 and make V=2 with the following
output:

# make V=1
WAF_MAKE=1 ./buildtools/bin/waf build
Waf: Entering directory `/opt/samba-master/bin'
Selected embedded Heimdal build
[ 133/3978] Generating VERSION
[ 168/3978] Generating smbd/build_options.c
[1815/3978] Compiling librpc/ndr/ndr_basic.c
17:03:55 runner /usr/bin/gcc -DDEVELOPER -DDEBUG_PASSWORD -fPIC
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -Wshadow
-Werror=strict-prototypes -Wstrict-prototypes -Werror=pointer-arith
-Wpointer-arith -Wcast-align -Werror=write-strings -Wwrite-strings
-Werror-implicit-function-declaration -Wformat=2 -Wno-format-y2k
-Wmissing-prototypes -fno-common -Werror=address -Wcast-qual -Werror=format
-DSTATIC_ndr_MODULES=NULL -DSTATIC_ndr_MODULES_PROTO -MD -Idefault/librpc
-I../librpc -Idefault/include/public -I../include/public -Idefault/source4
-I../source4 -Idefault/lib -I../lib -Idefault/source4/lib -I../source4/lib
-Idefault/source4/include -I../source4/include -Idefault/include
-I../include -Idefault/lib/replace -I../lib/replace -Idefault -I..
-Idefault/lib/socket_wrapper -I../lib/socket_wrapper -Idefault/lib/talloc
-I../lib/talloc -Idefault/lib/util/charset -I../lib/util/charset
-Idefault/lib/crypto -I../lib/crypto -Idefault/libcli/util -I../libcli/util
-Idefault/lib/nss_wrapper -I../lib/nss_wrapper -Idefault/lib/uid_wrapper
-I../lib/uid_wrapper -Idefault/dynconfig -I../dynconfig -I/
-I/usr/local/include -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1
-D_XOPEN_SOURCE_EXTENDED=1 ../librpc/ndr/ndr_basic.c -c -o
default/librpc/ndr/ndr_basic_156.o

# make V=2
WAF_MAKE=1 ./buildtools/bin/waf build
Waf: Entering directory `/opt/samba-master/bin'
Selected embedded Heimdal build
[ 133/3978] Generating VERSION
[ 168/3978] Generating smbd/build_options.c
[1815/3978] Compiling librpc/ndr/ndr_basic.c
17:05:01 runner /usr/bin/gcc -DDEVELOPER -DDEBUG_PASSWORD -fPIC
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -Wshadow
-Werror=strict-prototypes -Wstrict-prototypes -Werror=pointer-arith
-Wpointer-arith -Wcast-align -Werror=write-strings -Wwrite-strings
-Werror-implicit-function-declaration -Wformat=2 -Wno-format-y2k
-Wmissing-prototypes -fno-common -Werror=address -Wcast-qual -Werror=format
-DSTATIC_ndr_MODULES=NULL -DSTATIC_ndr_MODULES_PROTO -MD -Idefault/librpc
-I../librpc -Idefault/include/public -I../include/public -Idefault/source4
-I../source4 -Idefault/lib -I../lib -Idefault/source4/lib -I../source4/lib
-Idefault/source4/include -I../source4/include -Idefault/include
-I../include -Idefault/lib/replace -I../lib/replace -Idefault -I..
-Idefault/lib/socket_wrapper -I../lib/socket_wrapper -Idefault/lib/talloc
-I../lib/talloc -Idefault/lib/util/charset -I../lib/util/charset
-Idefault/lib/crypto -I../lib/crypto -Idefault/libcli/util -I../libcli/util
-Idefault/lib/nss_wrapper -I../lib/nss_wrapper -Idefault/lib/uid_wrapper
-I../lib/uid_wrapper -Idefault/dynconfig -I../dynconfig -I/
-I/usr/local/include -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1
-D_XOPEN_SOURCE_EXTENDED=1 ../librpc/ndr/ndr_basic.c -c -o
default/librpc/ndr/ndr_basic_156.o

When running the commands directly I get:
#/usr/bin/gcc -DDEVELOPER -DDEBUG_PASSWORD -fPIC -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -Wall -g -Wshadow -Werror=strict-prototypes
-Wstrict-prototypes -Werror=pointer-arith -Wpointer-arith -Wcast-align
-Werror=write-strings -Wwrite-strings -Werror-implicit-function-declaration
-Wformat=2 -Wno-format-y2k -Wmissing-prototypes -fno-common -Werror=address
-Wcast-qual -Werror=format -DSTATIC_ndr_MODULES=NULL
-DSTATIC_ndr_MODULES_PROTO -MD -Idefault/librpc -I../librpc
-Idefault/include/public -I../include/public -Idefault/source4 -I../source4
-Idefault/lib -I../lib -Idefault/source4/lib -I../source4/lib
-Idefault/source4/include -I../source4/include -Idefault/include
-I../include -Idefault/lib/replace -I../lib/replace -Idefault -I..
-Idefault/lib/socket_wrapper -I../lib/socket_wrapper -Idefault/lib/talloc
-I../lib/talloc -Idefault/lib/util/charset -I../lib/util/charset
-Idefault/lib/crypto -I../lib/crypto -Idefault/libcli/util -I../libcli/util
-Idefault/lib/nss_wrapper -I../lib/nss_wrapper -Idefault/lib/uid_wrapper
-I../lib/uid_wrapper -Idefault/dynconfig -I../dynconfig -I/
-I/usr/local/include -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1
-D_XOPEN_SOURCE_EXTENDED=1 ../librpc/ndr/ndr_basic.c -c -o
default/librpc/ndr/ndr_basic_156.o

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 ...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Innocent Yevide  
View profile  
 More options Oct 24 2012, 4:50 am
Newsgroups: linux.samba
From: Innocent Yevide <inye...@yahoo.fr>
Date: Wed, 24 Oct 2012 10:50:02 +0200
Local: Wed, Oct 24 2012 4:50 am
Subject: Re: [Samba] Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c
Hi,

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:

# make
WAF_MAKE=1 ./buildtools/bin/waf build
Waf: Entering directory `/opt/samba-master/bin'
Selected embedded Heimdal build
[ 133/3978] Generating VERSION
[ 168/3978] Generating smbd/build_options.c
[1815/3978] Compiling librpc/ndr/ndr_basic.c

As previously suggested I have run make V=1 and make V=2 with the following
output:

# make V=1
WAF_MAKE=1 ./buildtools/bin/waf build
Waf: Entering directory `/opt/samba-master/bin'
Selected embedded Heimdal build
[ 133/3978] Generating VERSION
[ 168/3978] Generating smbd/build_options.c
[1815/3978] Compiling librpc/ndr/ndr_basic.c
17:03:55 runner /usr/bin/gcc -DDEVELOPER -DDEBUG_PASSWORD -fPIC
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -Wshadow
-Werror=strict-prototypes -Wstrict-prototypes -Werror=pointer-arith
-Wpointer-arith -Wcast-align -Werror=write-strings -Wwrite-strings
-Werror-implicit-function-declaration -Wformat=2 -Wno-format-y2k
-Wmissing-prototypes -fno-common -Werror=address -Wcast-qual -Werror=format
-DSTATIC_ndr_MODULES=NULL -DSTATIC_ndr_MODULES_PROTO -MD -Idefault/librpc
-I../librpc -Idefault/include/public -I../include/public -Idefault/source4
-I../source4 -Idefault/lib -I../lib -Idefault/source4/lib -I../source4/lib
-Idefault/source4/include -I../source4/include -Idefault/include
-I../include -Idefault/lib/replace -I../lib/replace -Idefault -I..
-Idefault/lib/socket_wrapper -I../lib/socket_wrapper -Idefault/lib/talloc
-I../lib/talloc -Idefault/lib/util/charset -I../lib/util/charset
-Idefault/lib/crypto -I../lib/crypto -Idefault/libcli/util -I../libcli/util
-Idefault/lib/nss_wrapper -I../lib/nss_wrapper -Idefault/lib/uid_wrapper
-I../lib/uid_wrapper -Idefault/dynconfig -I../dynconfig -I/
-I/usr/local/include -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1
-D_XOPEN_SOURCE_EXTENDED=1 ../librpc/ndr/ndr_basic.c -c -o
default/librpc/ndr/ndr_basic_156.o

# make V=2
WAF_MAKE=1 ./buildtools/bin/waf build
Waf: Entering directory `/opt/samba-master/bin'
Selected embedded Heimdal build
[ 133/3978] Generating VERSION
[ 168/3978] Generating smbd/build_options.c
[1815/3978] Compiling librpc/ndr/ndr_basic.c
17:05:01 runner /usr/bin/gcc -DDEVELOPER -DDEBUG_PASSWORD -fPIC
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -Wshadow
-Werror=strict-prototypes -Wstrict-prototypes -Werror=pointer-arith
-Wpointer-arith -Wcast-align -Werror=write-strings -Wwrite-strings
-Werror-implicit-function-declaration -Wformat=2 -Wno-format-y2k
-Wmissing-prototypes -fno-common -Werror=address -Wcast-qual -Werror=format
-DSTATIC_ndr_MODULES=NULL -DSTATIC_ndr_MODULES_PROTO -MD -Idefault/librpc
-I../librpc -Idefault/include/public -I../include/public -Idefault/source4
-I../source4 -Idefault/lib -I../lib -Idefault/source4/lib -I../source4/lib
-Idefault/source4/include -I../source4/include -Idefault/include
-I../include -Idefault/lib/replace -I../lib/replace -Idefault -I..
-Idefault/lib/socket_wrapper -I../lib/socket_wrapper -Idefault/lib/talloc
-I../lib/talloc -Idefault/lib/util/charset -I../lib/util/charset
-Idefault/lib/crypto -I../lib/crypto -Idefault/libcli/util -I../libcli/util
-Idefault/lib/nss_wrapper -I../lib/nss_wrapper -Idefault/lib/uid_wrapper
-I../lib/uid_wrapper -Idefault/dynconfig -I../dynconfig -I/
-I/usr/local/include -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1
-D_XOPEN_SOURCE_EXTENDED=1 ../librpc/ndr/ndr_basic.c -c -o
default/librpc/ndr/ndr_basic_156.o

When running the commands directly I get:
#/usr/bin/gcc -DDEVELOPER -DDEBUG_PASSWORD -fPIC -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -Wall -g -Wshadow -Werror=strict-prototypes
-Wstrict-prototypes -Werror=pointer-arith -Wpointer-arith -Wcast-align
-Werror=write-strings -Wwrite-strings -Werror-implicit-function-declaration
-Wformat=2 -Wno-format-y2k -Wmissing-prototypes -fno-common -Werror=address
-Wcast-qual -Werror=format -DSTATIC_ndr_MODULES=NULL
-DSTATIC_ndr_MODULES_PROTO -MD -Idefault/librpc -I../librpc
-Idefault/include/public -I../include/public -Idefault/source4 -I../source4
-Idefault/lib -I../lib -Idefault/source4/lib -I../source4/lib
-Idefault/source4/include -I../source4/include -Idefault/include
-I../include -Idefault/lib/replace -I../lib/replace -Idefault -I..
-Idefault/lib/socket_wrapper -I../lib/socket_wrapper -Idefault/lib/talloc
-I../lib/talloc -Idefault/lib/util/charset -I../lib/util/charset
-Idefault/lib/crypto -I../lib/crypto -Idefault/libcli/util -I../libcli/util
-Idefault/lib/nss_wrapper -I../lib/nss_wrapper -Idefault/lib/uid_wrapper
-I../lib/uid_wrapper -Idefault/dynconfig -I../dynconfig -I/
-I/usr/local/include -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1
-D_XOPEN_SOURCE_EXTENDED=1 ../librpc/ndr/ndr_basic.c -c -o
default/librpc/ndr/ndr_basic_156.o

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 ...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c" by Andrew Bartlett
Andrew Bartlett  
View profile  
 More options Oct 24 2012, 5:10 am
Newsgroups: linux.samba
From: Andrew Bartlett <abart...@samba.org>
Date: Wed, 24 Oct 2012 11:10:02 +0200
Local: Wed, Oct 24 2012 5:10 am
Subject: Re: [Samba] Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c

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?

Thanks,

Andrew Bartlett

--
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c" by Mario Codeniera
Mario Codeniera  
View profile  
 More options Oct 24 2012, 9:40 pm
Newsgroups: linux.samba
From: Mario Codeniera <mario.codeni...@gmail.com>
Date: Thu, 25 Oct 2012 03:40:02 +0200
Local: Wed, Oct 24 2012 9:40 pm
Subject: Re: [Samba] Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c
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.

Thanks,
Mario

On Wed, Oct 24, 2012 at 10:04 PM, Andrew Bartlett <abart...@samba.org>wrote:

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c" by Andrew Bartlett
Andrew Bartlett  
View profile  
 More options Oct 24 2012, 9:50 pm
Newsgroups: linux.samba
From: Andrew Bartlett <abart...@samba.org>
Date: Thu, 25 Oct 2012 03:50:01 +0200
Local: Wed, Oct 24 2012 9:50 pm
Subject: Re: [Samba] Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c

Without wiping the OS, does the problem happen if you build in a new
tree?

Does removing the ccache package help?

Andrew Bartlett

--
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c" by Mario Codeniera
Mario Codeniera  
View profile  
 More options Oct 25 2012, 12:10 am
Newsgroups: linux.samba
From: Mario Codeniera <mario.codeni...@gmail.com>
Date: Thu, 25 Oct 2012 06:10:02 +0200
Local: Thurs, Oct 25 2012 12:10 am
Subject: Re: [Samba] Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Innocent Yevide  
View profile  
 More options Oct 25 2012, 5:50 am
Newsgroups: linux.samba
From: Innocent Yevide <inye...@yahoo.fr>
Date: Thu, 25 Oct 2012 11:50:02 +0200
Local: Thurs, Oct 25 2012 5:50 am
Subject: Re: [Samba] Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c
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

Without wiping the OS, does the problem happen if you build in a new
tree?

Does removing the ccache package help?

Andrew Bartlett

--
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team          http://samba.org

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c" by Andrew Bartlett
Andrew Bartlett  
View profile  
 More options Oct 25 2012, 6:10 am
Newsgroups: linux.samba
From: Andrew Bartlett <abart...@samba.org>
Date: Thu, 25 Oct 2012 12:10:02 +0200
Local: Thurs, Oct 25 2012 6:10 am
Subject: Re: [Samba] Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c

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.

Andrew Bartlett

--
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c" by Edward Ashley
Edward Ashley  
View profile  
 More options Oct 25 2012, 6:30 am
Newsgroups: linux.samba
From: Edward Ashley <n...@redmonkeysoftware.com>
Date: Thu, 25 Oct 2012 12:30:01 +0200
Local: Thurs, Oct 25 2012 6:30 am
Subject: Re: [Samba] Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c
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:

Edward Ashley
Developer

e. n...@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
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c" by Andrew Bartlett
Andrew Bartlett  
View profile  
 More options Oct 25 2012, 6:40 am
Newsgroups: linux.samba
From: Andrew Bartlett <abart...@samba.org>
Date: Thu, 25 Oct 2012 12:40:02 +0200
Local: Thurs, Oct 25 2012 6:40 am
Subject: Re: [Samba] Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c

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

Please do the strace of the gcc command.

Thanks,

Andrew Bartlett

--
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Compiling Samba4 RC3 on AIX 6.1 with IBM vac" by Howard Allison
Howard Allison  
View profile  
 More options Oct 25 2012, 7:10 am
Newsgroups: linux.samba
From: Howard Allison <howard.alli...@pensionsversicherung.at>
Date: Thu, 25 Oct 2012 13:10:01 +0200
Local: Thurs, Oct 25 2012 7:10 am
Subject: [Samba] Compiling Samba4 RC3 on AIX 6.1 with IBM vac

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.

My Environment

CC=cc
CXX=xlC
F77=xlf
LDFLAGS=-L/opt/freeware/lib -Wl,-bmaxdata:0x80000000
FFLAGS=-qmaxmem=16384 -O -I/opt/freeware/include
CFLAGS=-qmaxmem=-1 -DSYSV -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51
-D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE -O
-I/opt/pware/openldap/2.4.28/include -L/opt/pware/openldap/2.4.28/lib
-I/opt/freeware/include -L/opt/freeware/lib

Thanks
Howard

--------------------------------------------------------------------------- -----------------------------

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Howard Allison  
View profile  
 More options Oct 25 2012, 7:20 am
Newsgroups: linux.samba
From: Howard Allison <howard.alli...@pensionsversicherung.at>
Date: Thu, 25 Oct 2012 13:20:02 +0200
Local: Thurs, Oct 25 2012 7:20 am
Subject: [Samba] Compiling Samba4 RC3 on AIX 6.1 with IBM vac

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.

My Environment

CC=cc
CXX=xlC
F77=xlf
LDFLAGS=-L/opt/freeware/lib -Wl,-bmaxdata:0x80000000
FFLAGS=-qmaxmem=16384 -O -I/opt/freeware/include
CFLAGS=-qmaxmem=-1 -DSYSV -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51
-D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE -O
-I/opt/pware/openldap/2.4.28/include -L/opt/pware/openldap/2.4.28/lib
-I/opt/freeware/include -L/opt/freeware/lib

Thanks
Howard

--------------------------------------------------------------------------- -----------------------------

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c" by Edward Ashley
Edward Ashley  
View profile  
 More options Oct 25 2012, 9:30 am
Newsgroups: linux.samba
From: Edward Ashley <n...@redmonkeysoftware.com>
Date: Thu, 25 Oct 2012 15:30:01 +0200
Local: Thurs, Oct 25 2012 9:30 am
Subject: Re: [Samba] Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c
Hi,
ccache is not installed. I have run the strace like this:

#strace /usr/bin/gcc -DDEVELOPER -DDEBUG_PASSWORD -fPIC -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -Wall -g -Wshadow -Werror=strict-prototypes
-Wstrict-prototypes -Werror=pointer-arith -Wpointer-arith -Wcast-align
-Werror=write-strings -Wwrite-strings -Werror-implicit-function-declaration
-Wformat=2 -Wno-format-y2k -Wmissing-prototypes -fno-common -Werror=address
-Wcast-qual -Werror=format -DSTATIC_ndr_MODULES=NULL
-DSTATIC_ndr_MODULES_PROTO -MD -Idefault/librpc -I../librpc
-Idefault/include/public -I../include/public -Idefault/source4 -I../source4
-Idefault/lib -I../lib -Idefault/source4/lib -I../source4/lib
-Idefault/source4/include -I../source4/include -Idefault/include
-I../include -Idefault/lib/replace -I../lib/replace -Idefault -I..
-Idefault/lib/socket_wrapper -I../lib/socket_wrapper -Idefault/lib/talloc
-I../lib/talloc -Idefault/lib/util/charset -I../lib/util/charset
-Idefault/lib/crypto -I../lib/crypto -Idefault/libcli/util -I../libcli/util
-Idefault/lib/nss_wrapper -I../lib/nss_wrapper -Idefault/lib/uid_wrapper
-I../lib/uid_wrapper -Idefault/dynconfig -I../dynconfig -I/
-I/usr/local/include -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1
-D_XOPEN_SOURCE_EXTENDED=1 ../librpc/ndr/ndr_basic.c -c -o
default/librpc/ndr/ndr_basic_156.o
execve("/usr/bin/gcc", ["/usr/bin/gcc", "-DDEVELOPER", "-DDEBUG_PASSWORD",
"-fPIC", "-D_REENTRANT", "-D_POSIX_PTHREAD_SEMANTICS", "-Wall", "-g",
"-Wshadow", "-Werror=strict-prototypes", "-Wstrict-prototypes",
"-Werror=pointer-arith", "-Wpointer-arith", "-Wcast-align",
"-Werror=write-strings", "-Wwrite-strings", ...], [/* 29 vars */]) = 0
brk(0)                                  = 0xd2e000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f9489257000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=60481, ...}) = 0
mmap(NULL, 60481, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f9489248000
close(3)                                = 0
open("/lib64/libc.so.6", O_RDONLY)      = 3
read(3,
"\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\355a\2332\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1922112, ...}) = 0
mmap(0x329b600000, 3745960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
3, 0) = 0x329b600000
mprotect(0x329b789000, 2097152, PROT_NONE) = 0
mmap(0x329b989000, 20480, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x189000) = 0x329b989000
mmap(0x329b98e000, 18600, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x329b98e000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f9489247000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f9489246000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f9489245000
arch_prctl(ARCH_SET_FS, 0x7f9489246700) = 0
mprotect(0x329b989000, 16384, PROT_READ) = 0
mprotect(0x329b01f000, 4096, PROT_READ) = 0
munmap(0x7f9489248000, 60481)           = 0
brk(0)                                  = 0xd2e000
brk(0xd4f000)                           = 0xd4f000
open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=99158576, ...}) = 0
mmap(NULL, 99158576, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f94833b4000
close(3)                                = 0
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2512, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f9489256000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2512
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7f9489256000, 4096)            = 0
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/gcc.mo", O_RDONLY) = -1 ENOENT (No
such file or directory)
rt_sigaction(SIGINT, {SIG_IGN, [INT], SA_RESTORER|SA_RESTART,
0x329b632920}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x403017, [INT], SA_RESTORER|SA_RESTART,
0x329b632920}, {SIG_IGN, [INT], SA_RESTORER|SA_RESTART, 0x329b632920}, 8) =

0
rt_sigaction(SIGHUP, {SIG_IGN, [HUP], SA_RESTORER|SA_RESTART,
0x329b632920}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGHUP, {0x403017, [HUP], SA_RESTORER|SA_RESTART,
0x329b632920}, {SIG_IGN, [HUP], SA_RESTORER|SA_RESTART, 0x329b632920}, 8) =

0
rt_sigaction(SIGTERM, {SIG_IGN, [TERM], SA_RESTORER|SA_RESTART,
0x329b632920}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {0x403017, [TERM], SA_RESTORER|SA_RESTART,
0x329b632920}, {SIG_IGN, [TERM], SA_RESTORER|SA_RESTART, 0x329b632920}, 8)
= 0
rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART,
0x329b632920}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGPIPE, {0x403017, [PIPE], SA_RESTORER|SA_RESTART,
0x329b632920}, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x329b632920}, 8)
= 0
rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTORER|SA_RESTART,
0x329b632920}, {SIG_DFL, [], 0}, 8) = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/bin", {st_mode=S_IFDIR|0555, st_size=45056, ...}) = 0
lstat("/usr/bin/gcc", {st_mode=S_IFREG|0755, st_size=268096, ...}) = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/bin", {st_mode=S_IFDIR|0555, st_size=45056, ...}) = 0
lstat("/usr/bin/gcc", {st_mode=S_IFREG|0755, st_size=268096, ...}) = 0
access("/usr/lib/gcc/x86_64-redhat-linux/4.4.6/", X_OK) = 0
access("/usr/lib/gcc/x86_64-redhat-linux/4.4.6/", X_OK) = 0
access("../librpc/ndr/ndr_basic.c", F_OK) = 0
access("/usr/lib/gcc/x86_64-redhat-linux/4.4.6/specs", R_OK) = -1 ENOENT
(No such file or directory)
access("/usr/lib/gcc/x86_64-redhat-linux/4.4.6/specs", R_OK) = -1 ENOENT
(No such file or directory)
access("/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../x86_64-redhat-li nux/lib/x86_64-redhat-linux/4.4.6/specs",
R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../x86_64-redhat-li nux/lib/specs",
R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-redhat-linux/specs", R_OK) = -1 ENOENT (No such
file or directory)
access("/usr/lib/gcc/x86_64-redhat-linux/4.4.6/", X_OK) = 0
access("/tmp", R_OK|W_OK|X_OK)          = 0
gettimeofday({1351171586, 629103}, NULL) = 0
getpid()                                = 12572
open("/tmp/ccX1sGbp.s", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
close(3)                                = 0
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,

HTH, if I need to use a different strace command or switch please let me
know.
Thanks
Ned

On 25 October 2012 11:37, Andrew Bartlett <abart...@samba.org> wrote:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Wood  
View profile  
 More options Oct 25 2012, 12:10 pm
Newsgroups: linux.samba
From: Michael Wood <esiot...@gmail.com>
Date: Thu, 25 Oct 2012 18:10:02 +0200
Local: Thurs, Oct 25 2012 12:10 pm
Subject: Re: [Samba] Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c
Hi

On 25 October 2012 15:29, Edward Ashley <n...@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 <esiot...@gmail.com>
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Edward Ashley  
View profile  
 More options Oct 25 2012, 12:50 pm
Newsgroups: linux.samba
From: Edward Ashley <n...@redmonkeysoftware.com>
Date: Thu, 25 Oct 2012 18:50:02 +0200
Local: Thurs, Oct 25 2012 12:50 pm
Subject: Re: [Samba] Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c
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:

Edward Ashley
Developer

e. n...@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
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c" by Andrew Bartlett
Andrew Bartlett  
View profile  
 More options Oct 25 2012, 5:00 pm
Newsgroups: linux.samba
From: Andrew Bartlett <abart...@samba.org>
Date: Thu, 25 Oct 2012 23:00:02 +0200
Local: Thurs, Oct 25 2012 5:00 pm
Subject: Re: [Samba] Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c

THIS is the critical clue.  The problem is caused by two things:

automount and " -I/"

We need to work out how -I/ got into the gcc command line (ie, what
dependency declared -I/).

Now I know what I'm looking for, I'll go hunting.

Andrew Bartlett

--
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jefferson Davis  
View profile  
 More options Oct 27 2012, 12:20 pm
Newsgroups: linux.samba
From: Jefferson Davis <jda...@standard.k12.ca.us>
Date: Sat, 27 Oct 2012 18:20:01 +0200
Local: Sat, Oct 27 2012 12:20 pm
Subject: Re: [Samba] Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c
great catch!!!   I ran into this yesterday on my first build attempt.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c" by Edward Ashley
Edward Ashley  
View profile  
 More options Oct 27 2012, 8:30 pm
Newsgroups: linux.samba
From: Edward Ashley <n...@redmonkeysoftware.com>
Date: Sun, 28 Oct 2012 02:30:01 +0200
Local: Sat, Oct 27 2012 8:30 pm
Subject: [Samba] Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c
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:

WAF_MAKE=1 ./buildtools/bin/waf build
Waf: Entering directory `/opt/samba-master/bin'
Selected embedded Heimdal build
[ 133/3978] Generating VERSION
[ 168/3978] Generating smbd/build_options.c
[1815/3978] Compiling librpc/ndr/ndr_basic.c

As previously suggested I have run make V=1 and make V=2 with the following
output:

# make V=1

WAF_MAKE=1 ./buildtools/bin/waf build
Waf: Entering directory `/opt/samba-master/bin'
Selected embedded Heimdal build
[ 133/3978] Generating VERSION
[ 168/3978] Generating smbd/build_options.c
[1815/3978] Compiling librpc/ndr/ndr_basic.c
17:03:55 runner /usr/bin/gcc -DDEVELOPER -DDEBUG_PASSWORD -fPIC
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -Wshadow
-Werror=strict-prototypes -Wstrict-prototypes -Werror=pointer-arith
-Wpointer-arith -Wcast-align -Werror=write-strings -Wwrite-strings
-Werror-implicit-function-declaration -Wformat=2 -Wno-format-y2k
-Wmissing-prototypes -fno-common -Werror=address -Wcast-qual -Werror=format
-DSTATIC_ndr_MODULES=NULL -DSTATIC_ndr_MODULES_PROTO -MD -Idefault/librpc
-I../librpc -Idefault/include/public -I../include/public -Idefault/source4
-I../source4 -Idefault/lib -I../lib -Idefault/source4/lib -I../source4/lib
-Idefault/source4/include -I../source4/include -Idefault/include
-I../include -Idefault/lib/replace -I../lib/replace -Idefault -I..
-Idefault/lib/socket_wrapper -I../lib/socket_wrapper -Idefault/lib/talloc
-I../lib/talloc -Idefault/lib/util/charset -I../lib/util/charset
-Idefault/lib/crypto -I../lib/crypto -Idefault/libcli/util -I../libcli/util
-Idefault/lib/nss_wrapper -I../lib/nss_wrapper -Idefault/lib/uid_wrapper
-I../lib/uid_wrapper -Idefault/dynconfig -I../dynconfig -I/
-I/usr/local/include -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1
-D_XOPEN_SOURCE_EXTENDED=1 ../librpc/ndr/ndr_basic.c -c -o
default/librpc/ndr/ndr_basic_156.o

# make V=2

WAF_MAKE=1 ./buildtools/bin/waf build
Waf: Entering directory `/opt/samba-master/bin'
Selected embedded Heimdal build
[ 133/3978] Generating VERSION
[ 168/3978] Generating smbd/build_options.c
[1815/3978] Compiling librpc/ndr/ndr_basic.c
17:05:01 runner /usr/bin/gcc -DDEVELOPER -DDEBUG_PASSWORD -fPIC
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -Wshadow
-Werror=strict-prototypes -Wstrict-prototypes -Werror=pointer-arith
-Wpointer-arith -Wcast-align -Werror=write-strings -Wwrite-strings
-Werror-implicit-function-declaration -Wformat=2 -Wno-format-y2k
-Wmissing-prototypes -fno-common -Werror=address -Wcast-qual -Werror=format
-DSTATIC_ndr_MODULES=NULL -DSTATIC_ndr_MODULES_PROTO -MD -Idefault/librpc
-I../librpc -Idefault/include/public -I../include/public -Idefault/source4
-I../source4 -Idefault/lib -I../lib -Idefault/source4/lib -I../source4/lib
-Idefault/source4/include -I../source4/include -Idefault/include
-I../include -Idefault/lib/replace -I../lib/replace -Idefault -I..
-Idefault/lib/socket_wrapper -I../lib/socket_wrapper -Idefault/lib/talloc
-I../lib/talloc -Idefault/lib/util/charset -I../lib/util/charset
-Idefault/lib/crypto -I../lib/crypto -Idefault/libcli/util -I../libcli/util
-Idefault/lib/nss_wrapper -I../lib/nss_wrapper -Idefault/lib/uid_wrapper
-I../lib/uid_wrapper -Idefault/dynconfig -I../dynconfig -I/
-I/usr/local/include -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1
-D_XOPEN_SOURCE_EXTENDED=1 ../librpc/ndr/ndr_basic.c -c -o
default/librpc/ndr/ndr_basic_156.o

When running the commands 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 ...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
m...@matws.net  
View profile  
 More options Oct 27 2012, 8:30 pm
Newsgroups: linux.samba
From: m...@matws.net
Date: Sun, 28 Oct 2012 02:30:02 +0200
Local: Sat, Oct 27 2012 8:30 pm
Subject: Re: [Samba] Compiling samba4 hangs at [1815/3978] Compiling librpc/ndr/ndr_basic.c
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:

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?

Thanks,

Andrew Bartlett

--
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »