mv -f .deps/pilot-nredir.Tpo .deps/pilot-nredir.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/include -I../include -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT pilot-read-notepad.o -MD -MP -MF .deps/pilot-read-notepad.Tpo -c -o pilot-read-notepad.o pilot-read-notepad.c
mv -f .deps/pilot-read-expenses.Tpo .deps/pilot-read-expenses.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/include -I../include -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -MT pilot-read-palmpix.o -MD -MP -MF .deps/pilot-read-palmpix.Tpo -c -o pilot-read-palmpix.o pilot-read-palmpix.c
pilot-read-notepad.c: In function ‘write_png’:
pilot-read-notepad.c:169:31: error: ‘png_voidp_NULL’ undeclared (first use in this function); did you mean ‘png_voidp’?
169 | ( PNG_LIBPNG_VER_STRING, png_voidp_NULL,
| ^~~~~~~~~~~~~~
| png_voidp
pilot-read-notepad.c:169:31: note: each undeclared identifier is reported only once for each function it appears in
pilot-read-notepad.c:170:8: error: ‘png_error_ptr_NULL’ undeclared (first use in this function); did you mean ‘png_error_ptr’?
170 | png_error_ptr_NULL, png_error_ptr_NULL);
| ^~~~~~~~~~~~~~~~~~
| png_error_ptr
make[3]: *** [Makefile:1491: pilot-read-notepad.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/pilot-memos.Tpo .deps/pilot-memos.Po
pilot-read-palmpix.c: In function ‘write_png’:
pilot-read-palmpix.c:226:28: error: ‘png_voidp_NULL’ undeclared (first use in this function); did you mean ‘png_voidp’?
226 | ( PNG_LIBPNG_VER_STRING, png_voidp_NULL,
| ^~~~~~~~~~~~~~
| png_voidp
pilot-read-palmpix.c:226:28: note: each undeclared identifier is reported only once for each function it appears in
pilot-read-palmpix.c:227:3: error: ‘png_error_ptr_NULL’ undeclared (first use in this function); did you mean ‘png_error_ptr’?
227 | png_error_ptr_NULL, png_error_ptr_NULL);
| ^~~~~~~~~~~~~~~~~~
| png_error_ptr
make[3]: *** [Makefile:1491: pilot-read-palmpix.o] Error 1
mv -f .deps/pilot-read-ical.Tpo .deps/pilot-read-ical.Po
make[3]: Leaving directory '/home/parker/build/pilot-link/src/pilot-link-0.12.5/src'
make[2]: *** [Makefile:1527: all-recursive] Error 1
make[2]: Leaving directory '/home/parker/build/pilot-link/src/pilot-link-0.12.5/src'
make[1]: *** [Makefile:581: all-recursive] Error 1
make[1]: Leaving directory '/home/parker/build/pilot-link/src/pilot-link-0.12.5'
make: *** [Makefile:459: all] Error 2
This fails to compile unless the libpng support is patched.
https://aur.archlinux.org/cgit/aur.git/plain/pilot-link-png14.patch?h=pilot-link