[ZBX-19031] Fix build failure on HP-UX Created: 2021 Feb 17  Updated: 2024 Apr 10  Resolved: 2021 Feb 27

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 5.0.9rc1
Fix Version/s: 5.0.10rc1, 5.2.6rc1, 5.4.0beta1, 5.4 (plan)

Type: Patch request Priority: Trivial
Reporter: Yuji Kamada Assignee: Artjoms Rimdjonoks
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

HP-UX hpux11i3 B.11.31 U ia64 3932273393 unlimited-user license


Attachments: Text File zabbix-fix_hpux_build.patch    
Issue Links:
Causes
caused by ZBXNEXT-6443 Implement sha256 in JS preprocessing Closed
Duplicate
is duplicated by ZBX-19045 5.0.9 and 5.2.5 agent build is broken... Closed
Team: Team C
Sprint: Sprint 73 (Feb 2021)
Story Points: 1

 Description   

Steps to reproduce:

  1. Build Zabbix Agent in HP-UX

Result:

$ ./configure
$ make
...
        gcc -DHAVE_CONFIG_H -I. -I../../../include    -I/usr/local/openssl-1.1.1i/include -g -O2 -I/usr/local/include -MT libzbxcrypto_a-base64.o -MD -MP -MF .deps/libzbxcrypto_a-base64.Tpo -c -o libzbxcrypto_a-base64.o `test -f 'base64.c' || echo './'`base64.c
        mv -f .deps/libzbxcrypto_a-base64.Tpo .deps/libzbxcrypto_a-base64.Po
        gcc -DHAVE_CONFIG_H -I. -I../../../include    -I/usr/local/openssl-1.1.1i/include -g -O2 -I/usr/local/include -MT libzbxcrypto_a-md5.o -MD -MP -MF .deps/libzbxcrypto_a-md5.Tpo -c -o libzbxcrypto_a-md5.o `test -f 'md5.c' || echo './'`md5.c
        mv -f .deps/libzbxcrypto_a-md5.Tpo .deps/libzbxcrypto_a-md5.Po
        gcc -DHAVE_CONFIG_H -I. -I../../../include    -I/usr/local/openssl-1.1.1i/include -g -O2 -I/usr/local/include -MT libzbxcrypto_a-sha256crypt.o -MD -MP -MF .deps/libzbxcrypto_a-sha256crypt.Tpo -c -o libzbxcrypto_a-sha256crypt.o `test -f 'sha256crypt.c' || echo './'`sha256crypt.c
sha256crypt.c:12:30: error: machine/endian.h: No such file or directory

Expected:
Pass compile.

 



 Comments   
Comment by Artjoms Rimdjonoks [ 2021 Feb 19 ]

Available in versions:

Generated at Wed May 07 06:54:45 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.