Bug 5501 - Samba4 fails for compile under AIX 5.3
Summary: Samba4 fails for compile under AIX 5.3
Status: RESOLVED INVALID
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: Build (show other bugs)
Version: unspecified
Hardware: PPC AIX
: P3 major (vote)
Target Milestone: ---
Assignee: Jelmer Vernooij
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-29 10:14 UTC by David Markey
Modified: 2008-09-10 09:36 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Markey 2008-05-29 10:14:30 UTC
Compiling heimdal/lib/asn1/main.c with host compiler
Compiling heimdal/lib/asn1/gen.c with host compiler
Compiling heimdal/lib/asn1/gen_copy.c with host compiler
Compiling heimdal/lib/asn1/gen_decode.c with host compiler
Compiling heimdal/lib/asn1/gen_encode.c with host compiler
Compiling heimdal/lib/asn1/gen_free.c with host compiler
Compiling heimdal/lib/asn1/gen_glue.c with host compiler
Compiling heimdal/lib/asn1/gen_length.c with host compiler
Compiling heimdal/lib/asn1/gen_seq.c with host compiler
Compiling heimdal/lib/asn1/hash.c with host compiler
Compiling heimdal/lib/asn1/parse.c with host compiler
Compiling heimdal/lib/roken/emalloc.c with host compiler
Compiling heimdal/lib/roken/getarg.c with host compiler
Compiling heimdal/lib/roken/setprogname.c with host compiler
Compiling heimdal/lib/roken/strupr.c with host compiler
Compiling heimdal/lib/roken/get_window_size.c with host compiler
Compiling heimdal/lib/roken/estrdup.c with host compiler
Compiling heimdal/lib/roken/ecalloc.c with host compiler
Compiling heimdal/lib/asn1/symbol.c with host compiler
Compiling heimdal/lib/vers/print_version.c with host compiler
Compiling lib/socket_wrapper/socket_wrapper.c with host compiler
Compiling heimdal/../heimdal_build/replace.c with host compiler
Compiling heimdal/lib/roken/getprogname.c with host compiler
Partially linking bin/mergedobj/heimdal_roken_getprogname_h.o
Compiling heimdal/lib/asn1/lex.c with host compiler
"/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 795.33: 1506-343 (S) Redeclaration of ftruncate64 differs from previous declaration on line 793 of "/usr/include/unistd.h".
"/usr/include/unistd.h", line 795.33: 1506-377 (I) The type "long long" of parameter 2 differs from the previous type "long".
"/usr/include/unistd.h", line 831.33: 1506-343 (S) Redeclaration of truncate64 differs from previous declaration on line 829 of "/usr/include/unistd.h".
"/usr/include/unistd.h", line 831.33: 1506-377 (I) The type "long long" of parameter 2 differs from the previous type "long".
"/usr/include/unistd.h", line 848.33: 1506-343 (S) Redeclaration of pread64 differs from previous declaration on line 845 of "/usr/include/unistd.h".
"/usr/include/unistd.h", line 848.33: 1506-377 (I) The type "long long" of parameter 4 differs from the previous type "long".
"/usr/include/unistd.h", line 849.33: 1506-343 (S) Redeclaration of pwrite64 differs from previous declaration on line 846 of "/usr/include/unistd.h".
"/usr/include/unistd.h", line 849.33: 1506-377 (I) The type "long long" of parameter 4 differs from the previous type "long".
"/usr/include/unistd.h", line 916.25: 1506-343 (S) Redeclaration of fclear64 differs from previous declaration on line 913 of "/usr/include/unistd.h".
"/usr/include/unistd.h", line 916.25: 1506-050 (I) Return type "long long" in redeclaration is not compatible with the previous return type "long".
"/usr/include/unistd.h", line 916.25: 1506-377 (I) The type "long long" of parameter 2 differs from the previous type "long".


This is on 32bit.  Standard configure. IBM VAC compiler.
Comment 1 David Markey 2008-05-29 11:24:21 UTC
i configured with --disable-largefile and got slightly further this time:


Compiling heimdal/lib/roken/getprogname.c with host compiler
Partially linking bin/mergedobj/heimdal_roken_getprogname_h.o
Compiling heimdal/lib/asn1/lex.c with host compiler
Partially linking bin/mergedobj/heimdal_asn1_compile_lex.o
Compiling lib/replace/replace.c with host compiler
Compiling lib/replace/snprintf.c with host compiler
Compiling lib/replace/getpass.c with host compiler
Compiling lib/replace/strptime.c with host compiler
Compiling lib/replace/timegm.c with host compiler
Compiling lib/replace/getifaddrs.c with host compiler
"lib/replace/getifaddrs.c", line 299.38: 1506-280 (W) Function argument assignment between types "struct addrinfo*" and "struct ifaddrs*" is not allowed.
"lib/replace/getifaddrs.c", line 318.38: 1506-280 (W) Function argument assignment between types "struct addrinfo*" and "struct ifaddrs*" is not allowed.
"lib/replace/getifaddrs.c", line 325.38: 1506-280 (W) Function argument assignment between types "struct addrinfo*" and "struct ifaddrs*" is not allowed.
Partially linking bin/mergedobj/replace_hostcc.o
Linking bin/asn1_compile
cc: 1501-218 file heimdal/lib/asn1/main.ho contains an incorrect file suffix
cc: 1501-218 file heimdal/lib/asn1/gen.ho contains an incorrect file suffix
cc: 1501-218 file heimdal/lib/asn1/gen_copy.ho contains an incorrect file suffix
cc: 1501-218 file heimdal/lib/asn1/gen_decode.ho contains an incorrect file suffix
cc: 1501-218 file heimdal/lib/asn1/gen_encode.ho contains an incorrect file suffix
cc: 1501-218 file heimdal/lib/asn1/gen_free.ho contains an incorrect file suffix
cc: 1501-218 file heimdal/lib/asn1/gen_glue.ho contains an incorrect file suffix
cc: 1501-218 file heimdal/lib/asn1/gen_length.ho contains an incorrect file suffix
cc: 1501-218 file heimdal/lib/asn1/gen_seq.ho contains an incorrect file suffix
cc: 1501-218 file heimdal/lib/asn1/hash.ho contains an incorrect file suffix
cc: 1501-218 file heimdal/lib/asn1/parse.ho contains an incorrect file suffix
cc: 1501-218 file heimdal/lib/roken/emalloc.ho contains an incorrect file suffix
cc: 1501-218 file heimdal/lib/roken/getarg.ho contains an incorrect file suffix
cc: 1501-218 file heimdal/lib/roken/setprogname.ho contains an incorrect file suffix
cc: 1501-218 file heimdal/lib/roken/strupr.ho contains an incorrect file suffix
cc: 1501-218 file heimdal/lib/roken/get_window_size.ho contains an incorrect file suffix
cc: 1501-218 file heimdal/lib/roken/estrdup.ho contains an incorrect file suffix
cc: 1501-218 file heimdal/lib/roken/ecalloc.ho contains an incorrect file suffix
cc: 1501-218 file heimdal/lib/asn1/symbol.ho contains an incorrect file suffix
cc: 1501-218 file heimdal/lib/vers/print_version.ho contains an incorrect file suffix
cc: 1501-218 file lib/socket_wrapper/socket_wrapper.ho contains an incorrect file suffix
cc: 1501-218 file heimdal/../heimdal_build/replace.ho contains an incorrect file suffix
Compiling ASN1 file heimdal/lib/hdb/hdb.asn1
heimdal/../heimdal_build/asn1_compile_wrapper.sh[13]: shift: bad number
gmake: *** [heimdal/lib/hdb/hdb_asn1.h] Error 1
Comment 2 Matthias Dieter Wallnöfer 2008-08-02 08:38:57 UTC
We've now a new HEIMDAL Kerberos library in the source tree. Please retest and report!
Comment 3 Matthias Dieter Wallnöfer 2008-09-10 09:36:08 UTC
Closed until the user reproduces the problem.