@afxgroup
Thanks for your help..No I was not using your latest clib2 release.
I tried to compile clib2 (cross compiler on Cygwin64)
This is the error I get...
$ make -f GNUmakefile.os4 -j6
/amiga/develop/clib2/build/lib/libc.so /amiga/develop/clib2/build/lib/libc.a
mkdir -p /usr/local/amiga/ppc-amigaos/SDK/clib2/lib
mkdir -p /usr/local/amiga/ppc-amigaos/SDK/clib2/include
Compiling Shared [/amiga/develop/clib2/build/obj.shared/libc/stdio] grow_file.o
Compiling Shared [/amiga/develop/clib2/build/obj.shared/libc/stdio] sscanf.o
Compiling Shared [/amiga/develop/clib2/build/obj.shared/libc/stdio] sscanf_hook_entry.o
Compiling Shared [/amiga/develop/clib2/build/obj.shared/libc/stdio] tmpfile.o
Compiling Shared [/amiga/develop/clib2/build/obj.shared/libc/stdio] tempnam.o
Compiling Shared [/amiga/develop/clib2/build/obj.shared/libc/stdio] tmpfile64.o
In file included from /usr/local/amiga/ppc-amigaos/SDK/include/include_h/proto/dos.h:74,
from /amiga/develop/clib2/library/stdio/stdio_headers.h:55,
from /amiga/develop/clib2/library/stdio/grow_file.c:8:
/amiga/develop/clib2/library/stdio/grow_file.c: In function ‘__grow_file_size’:
/amiga/develop/clib2/library/stdio/grow_file.c:38:75: error: ‘ACTION_HANDLER_INFO’ undeclared (first use in this function); did you mean ‘ACTION_DISK_INFO’?
38 | if (fh != NULL && fh->fh_MsgPort != NULL && DoPkt(fh->fh_MsgPort, ACTION_HANDLER_INFO, MKBADDR(id), 0, 0, 0, 0))
| ^~~~~~~~~~~~~~~~~~~
/amiga/develop/clib2/library/stdio/grow_file.c:38:75: note: each undeclared identifier is reported only once for each function it appears in
Compiling Shared [/amiga/develop/clib2/build/obj.shared/libc/stdio] tmpnam.o
Compiling Shared [/amiga/develop/clib2/build/obj.shared/libc/stdio] translateioerror.o
Compiling Shared [/amiga/develop/clib2/build/obj.shared/libc/stdio] ungetc.o
make: *** [libc.gmk:950: /amiga/develop/clib2/build/obj.shared/libc/stdio/grow_file.o] Error 1
make: *** Waiting for unfinished jobs....
Compiling Shared [/amiga/develop/clib2/build/obj.shared/libc/stdio] unlockfile.o