Project

General

Profile

Actions

Bug #1097

closed

Build error with Alpine Linux 3.19

Added by Marco Eichelberg over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Library and Apps
Target version:
Start date:
2023-12-11
Due date:
% Done:

100%

Estimated time:
1:00 h
Module:
ofstd
Operating System:
Compiler:

Description

On Alpine Linux 3.18 and 3.19, the CMake test for the availability of the LFS64 API (fopen64 etc.) succeeds.
However, while compiling class OFFile succeeded on Alpine 3.18, it fails on Alpine 3.19 with errors related to LFS64:

ofstd/include/dcmtk/ofstd/offile.h:359:16: error: '::fopen64' has not been declared; did you mean 'fopen'?
ofstd/include/dcmtk/ofstd/offile.h:466:16: error: '::freopen64' has not been declared; did you mean 'freopen'?
ofstd/include/dcmtk/ofstd/offile.h:485:16: error: '::tmpfile64' has not been declared; did you mean 'tmpfile'?
ofstd/include/dcmtk/ofstd/offile.h:809:17: error: '::fseeko64' has not been declared; did you mean 'fseeko'?
ofstd/include/dcmtk/ofstd/offile.h:842:17: error: '::ftello64' has not been declared; did you mean 'ftello'?
ofstd/include/dcmtk/ofstd/offile.h:866:17: error: '::fgetpos64' has not been declared; did you mean 'fgetpos'?
ofstd/include/dcmtk/ofstd/offile.h:886:17: error: '::fsetpos64' has not been declared; did you mean 'fsetpos'?

Actions

Also available in: Atom PDF