Hi Paul,
Thank you for reply. I can run tzselect command as below now.
Found that TZDIR in Makefile and tzselect.ksh must be different.
TZDIR in Makefile need point to build result directory in VM machine
TZDIR in tzselect.ksh need point directory in target machine, /usr/bin/
But i still have many compile error when compile the opensource code for zdump, zic.
And not every files is compiled when call Makefile, the error occurred in log as following, seem localtime.c was not get compiled
localtime.o: file not recognized: File format not recognized
Regards,
JInQuan
From: Paul Eggert <eggert@cs.ucla.edu>
Sent: Tuesday, January 25, 2022 1:22 AM
To: Jin Quan Shen <jinquan.shen@seagate.com>
Cc: Time zone mailing list <tz@iana.org>
Subject: Re: [tz] TZ data base and code
This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email.
On 1/19/22 16:41, Jin Quan Shen via tz wrote:
> ~ # cd /usr/bin
> /usr/bin# ls tz*
> tzselect
> -ash: tzselect: not found
> /usr/bin # zdump > /usr/bin/zdump: line 1: syntax error: unexpected ")"> /usr/bin # zic
> /usr/sbin/zic: line 1: syntax error: unexpected ")"
It looks like your /usr commands were built for some machine
architecture other than what you're running. This is a common problem
when cross-compiling.
Seagate Internal