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 <[email protected]>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: > > > > # 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: > > > And when adding the path to a config.h that I found so: > > > > # /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../bin/default/include/ -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 > > > > It just hangs with no output. > > > > > > 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? > > 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 > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
