Hi,
I am building the latest stunnel on an AIX machine. However I see build failure due to missing API timegm.
Snippet from the error generating file src/oscp.c
#ifdef _WIN32
return _mkgmtime(&tm);
#else /* defined _WIN32 */
return timegm(&tm);
#endif /* defined _WIN32 */
Error log:
libtool: link: /opt/freeware/bin/gcc -maix64 -O2 -DOPENSSL_NO_PSK -g -O2 -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-deprecated-declarations -Wno-unused-command-line-argument -fPIE -D_FORTIFY_SOURCE=2 -Wl,-blibpath:/opt/freeware/lib64:/opt/freeware/lib:/usr/lib:/lib -fPIE -pie -o stunnel stunnel-tls.o stunnel-str.o stunnel-file.o stunnel-client.o stunnel-log.o stunnel-options.o stunnel-protocol.o stunnel-network.o stunnel-resolver.o stunnel-ssl.o stunnel-ctx.o stunnel-verify.o stunnel-sthreads.o stunnel-ocsp.o stunnel-fd.o stunnel-dhparam.o stunnel-cron.o stunnel-stunnel.o stunnel-pty.o stunnel-libwrap.o stunnel-ui_unix.o -L/usr/lib -lssl -lcrypto -L/opt/freeware/lib64 -L/opt/freeware/lib -lpthread
ld: 0711-317 ERROR: Undefined symbol: .timegmPlease consider the patch attached along with the email for fixing the issue.
Thanks,
Shubham
|
Email tracked with Mailsuite · Opt out
|
26/02/26, 14:51:51 |
