indexdata / yaz

Z39.50 toolkit for C
http://www.indexdata.com/yaz
Other
43 stars 19 forks source link

build error for yaz 5.34.0 with glibc 2.38.9000 #104

Closed mtasaka closed 5 months ago

mtasaka commented 11 months ago

With glibc 2.39 development version, yaz 5.34.0 fails to build as:

xmlquery.c:56:23: error: implicit declaration of function 'atoi'; did you mean 'atoi_n'? [-Werror=implicit-function-declaration]
record_conv.c:814:21: error: implicit declaration of function 'atoi'; did you mean 'atoi_n'? [-Werror=implicit-function-declaration]
mtasaka commented 11 months ago

Also:

test_record_conv.c:41:34: error: implicit declaration of function 'getenv' [-Werror=implicit-function-declaration]
test_retrieval.c:36:34: error: implicit declaration of function 'getenv' [-Werror=implicit-function-declaration]
jakub-id commented 5 months ago

Problem is not only with glibc 2.39 but is also present on macOS

jakub-id commented 4 months ago

Debian bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1073314