Clib2 link failure with latest OS4 SDK
Brought to you by:
obarthel
I get link errors like this when compiling with the latest OS4 SDK:
/SDK/clib2/lib/libc.a(stdlib_program_name.o): In function stdlib_program_name_init_ctor':
stdlib_program_name.c:(.text+0xe4): undefined reference toGetProgramName'
make: *** [usbsnd] Error 1
A number of AmigaDOS function names have changed in the the OS4 SDK. The error above occurs because GetProgramName() was changed to GetCliProgramName() for OS4. Can this be fixed?