Bug 11214 - Failed to compile on AIX 5.3 in time.c
Failed to compile on AIX 5.3 in time.c
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build
4.2.0
PPC AIX
: P5 normal
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
:
: 11617 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-04-14 12:45 UTC by bug.zilla
Modified: 2016-05-02 15:32 UTC (History)
6 users (show)

See Also:


Attachments
config.log zipped (404.42 KB, application/x-gzip)
2015-04-17 07:24 UTC, bug.zilla
no flags Details
config.log AIX6.1 zipped (397.84 KB, application/x-gzip)
2015-04-24 12:32 UTC, bug.zilla
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description bug.zilla 2015-04-14 12:45:19 UTC
Hardware: IBM IntelliStation 185
OS: AIX 5.3 ML 12
Compiler: GCC 3.4.6

configure options: --without-ad-ac --without-ldap --without-ads

Error message:

WAF_MAKE=1 python ./buildtools/bin/waf build
Waf: Entering directory `/opt/samba/samba-4.2.0/bin'
	Selected embedded Heimdal build
[ 554/3436] Compiling lib/util/time.c
../lib/util/time.c:63:5: missing binary operator before token "10"
../lib/util/time.c: In function `unix_to_nt_time':
../lib/util/time.c:145: warning: comparison is always false due to limited range of data type
Waf: Leaving directory `/opt/samba/samba-4.2.0/bin'
Build failed:  -> task failed (err #1): 
	{task: cc time.c -> time_9.o}
make: *** [all] Error 1

Any suggestions ?

Regards
Arne
Comment 1 Christian Ambach 2015-04-16 21:03:37 UTC
Can you attach your config.log?
Comment 2 bug.zilla 2015-04-17 07:24:54 UTC
Created attachment 10960 [details]
config.log zipped
Comment 3 bug.zilla 2015-04-24 12:32:44 UTC
Created attachment 10985 [details]
config.log AIX6.1 zipped

config.log AIX6.1 zipped
Comment 4 bug.zilla 2015-04-24 12:34:04 UTC
Additional try on AIX 6.1 ML 08:

Hardware: IBM eServer p5 520
OS: AIX 6.1 ML 08
Compiler: GCC 4.4.5

configure options: --without-ad-dc --without-ldap --without-ads

Error message:

[ 552/3434] Compiling lib/util/time.c
../lib/util/time.c:63:5: error: missing binary operator before token "10"
Waf: Leaving directory `/opt/samba/samba-4.2.0/bin'
Build failed:  -> task failed (err #1): 
        {task: cc time.c -> time_9.o}
make: *** [all] Error 1

config.log.aix61.gz attached
Comment 5 Christian Ambach 2015-11-24 18:46:55 UTC
*** Bug 11617 has been marked as a duplicate of this bug. ***