When compiling fossil (any version) with mingw32 (unpatched wsl 4.0-rc1):
$make -f win/Makefile.mingw
....
c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../..\libmingwex.a(wdirent.o): In function wfindfirst':
e:\p\mingw.org-wsl\src\build\mingw.org-wsl\4.0-dev/../../../src/mingw.org-wsl/4.0-dev/include/wchar.h:428: undefined reference to
_wfindfirst64i32'
c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../..\libmingwex.a(wdirent.o): In function wfindnext':
e:\p\mingw.org-wsl\src\build\mingw.org-wsl\4.0-dev/../../../src/mingw.org-wsl/4.0-dev/include/wchar.h:429: undefined reference to
_wfindnext64i32'
c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../..\libmingwex.a(wdirent.o): In function wfindfirst':
e:\p\mingw.org-wsl\src\build\mingw.org-wsl\4.0-dev/../../../src/mingw.org-wsl/4.0-dev/include/wchar.h:428: undefined reference to
_wfindfirst64i32'
c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../..\libmingwex.a(wdirent.o): In function wfindnext':
e:\p\mingw.org-wsl\src\build\mingw.org-wsl\4.0-dev/../../../src/mingw.org-wsl/4.0-dev/include/wchar.h:429: undefined reference to
_wfindnext64i32'
collect2.exe: fout: ld gaf exit-status 1 terug
make: *** [fossil.exe] Error 1
Looks remarkably like (a wchar_t variant of) [#1968]; that issue cleared, for me, when I cloned the currently active git master, (as opposed to the old, abandoned pre-Allura migration repository). Has some of that inconsistency crept into RC1?
Related
Issues:
#1968I get the same error when I try to build gdk-pixbuf using 4.0-rc2. I hope you can point me to a solution.
Best regards,
Niels Kristian Bech Jensen
This is almost certainly related to [#1984] -- a ticket which Earnie appears to have overlooked -- and ultimately relates back to [#1973]; the various _wfind... typedefs are swallowed by the malformed (unclosed) comment reported in the former.
This is a known issue with wchar.h, which remains malformed even as of Earnie's most recent commit on 2013-06-07.
Related
Issues: #1973
Issues:
#1984I just tried building fossil and was able to build fossil with my working repository. I'll push fixes sometime tomorrow.
I am now able to build fossil and execute the result.
NOTE: You must rebuild and install the WSL 4.0-dev repository code since corrections need to take effect in libmingwex.a. A new release candidate will be out soon.