samba-4.2.1 build failed on HPUX11.23-ia64

运帅 jinyunshuai at
Tue Jun 16 21:16:02 MDT 2015

Hi Folks,
I am looking for some help from you,  thanks in advance.
I am trying to build samba-4.2.1 on HPUX11.23-ia64, it will get following errors:
../source4/../lib/util/samba_util.h:877: warning: parameter has incomplete type
[1856/3438] Compiling lib/socket_wrapper/socket_wrapper.c
../lib/socket_wrapper/socket_wrapper.c: In function `swrap_socket':
../lib/socket_wrapper/socket_wrapper.c:2412: error: union has no member named `in6'
../lib/socket_wrapper/socket_wrapper.c: At top level:
../lib/socket_wrapper/socket_wrapper.c:3126: error: redefinition of 'fopen'
/opt/hp-gcc-3.4.5/lib/gcc/hppa1.1-hp-hpux11.11/3.4.5/include/stdio.h:878: error: previous definition of 'fopen' was here
Waf: Leaving directory `/home/samba-4.2.1/bin'
Build failed:  -> task failed (err #1): 
        {task: cc socket_wrapper.c -> socket_wrapper_1.o}
make: *** [all] Error 1
===============I can fix  the issue of "../lib/socket_wrapper/socket_wrapper.c:2412: error: union has no member named `in6'"

about redefinition of 'fopen' ,  according to my investigation, _APP32_64BIT_OFF_T have defined in hpux, it will cause have a diff prototyp fopen.
do you have any opinion about it?


More information about the samba-technical mailing list