Hello everyone,
I am trying to compile a code in Cygwin and I am receiving undefined reference error for "cygwin_posix_to_win32_path_list" and "cygwin_posix_to_win32_path_list_buf_size".
Is there any missing library that I should add? I am sure that win32 api packages are installed.
Thank you for your help.
tclEnv.o:tclEnv.c:(.text+0xf6): undefined reference to `cygwin_posix_to_win32_path_list_buf_size'
tclEnv.o:tclEnv.c:(.text+0xf6): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `cygwin_posix_to_win32_path_list_buf_size'
tclEnv.o:tclEnv.c:(.text+0x118): undefined reference to `cygwin_posix_to_win32_path_list'
tclEnv.o:tclEnv.c:(.text+0x118): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `cygwin_posix_to_win32_path_list'
/usr/bin/ld: tclEnv.o: bad reloc address 0x0 in section `.pdata'
collect2: error: ld returned 1 exit status
Makefile:550: recipe for target 'libtcl8.5.dll' failed
make: *** [libtcl8.5.dll] Error 1
Regards,
Mac