mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #428] Linux(CentOS6) Build Error. #336
Labels
No labels
awaiting user feedback
bug
cmake
cmake
docs
feature request
in progress
long term
medium term
medium term
pull-request
question
question
ready to close
short term
under investigation
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/libxlsxwriter#336
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @taehyun1234 on GitHub (Dec 27, 2023).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/428
libxlsxwriter: Reporting Bugs
make[1]: Directory '/home/tmp/libxlsxwriter/third_party/minizip' entry
ioapi.c: In function ‘fseek64_file_func’:
ioapi.c:190:37: error: ‘z_off64_t’ undeclared (first use in this function)
if(FSEEKO_FUNC((FILE *)stream, (z_off64_t)offset, fseek_origin) != 0)
^
ioapi.c:25:62: note: in definition of macro ‘FSEEKO_FUNC’
#define FSEEKO_FUNC(stream, offset, origin) fseeko64(stream, offset, origin)
^~~~~~
ioapi.c:190:37: note: each undeclared identifier is reported only once for each function it appears in
if(FSEEKO_FUNC((FILE *)stream, (z_off64_t)offset, fseek_origin) != 0)
^
ioapi.c:25:62: note: in definition of macro ‘FSEEKO_FUNC’
#define FSEEKO_FUNC(stream, offset, origin) fseeko64(stream, offset, origin)
^~~~~~
ioapi.c:190:47: error: expected ‘)’ before ‘offset’
if(FSEEKO_FUNC((FILE *)stream, (z_off64_t)offset, fseek_origin) != 0)
^
ioapi.c:25:62: note: in definition of macro ‘FSEEKO_FUNC’
#define FSEEKO_FUNC(stream, offset, origin) fseeko64(stream, offset, origin)
^~~~~~
ioapi.c:25:45: error: too few arguments to function ‘fseeko64’
#define FSEEKO_FUNC(stream, offset, origin) fseeko64(stream, offset, origin)
^
ioapi.c:190:8: note: in expansion of macro ‘FSEEKO_FUNC’
if(FSEEKO_FUNC((FILE *)stream, (z_off64_t)offset, fseek_origin) != 0)
^~~~~~~~~~~
In file included from ioapi.h:50:0,
from ioapi.c:29:
/usr/include/stdio.h:813:12: note: declared here
extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);
^~~~~~~~
Makefile:38: 'ioapi.o'
make[1]: *** [ioapi.o] Error 1
make[1]: Directory '/home/tmp/libxlsxwriter/third_party/minizip' Exit
Makefile:31: 'third_party' Command to target failed
make: *** [third_party] Error 2
I did install zlib. like this link https://libxlsxwriter.github.io/getting_started.html
and then I just clone this Directory, and build it. but some error occurred like that. how I can solve this problem?