Skip to content

Draft: fork windows (--background)

Jacques Fleischer requested to merge (removed):master into master

Hello,

This code reports:

make[2]: Entering directory '/mnt/c/Users/user/tools/openconnect'
  CCLD     openconnect.exe
/usr/lib/gcc/x86_64-w64-mingw32/13.2.1/../../../../x86_64-w64-mingw32/bin/ld: openconnect-main.o: in function `background_self':
/mnt/c/Users/user/tools/openconnect/main.c:1648: undefined reference to `fork'

however I hope that I have done the important legwork of finding a windows fork. I am just confused as to why there is an undefined reference when I have already included the include statement at the top of main.c. fork is a function in forkWindows.c.

Merge request reports