Menu

#1975 fossil doesn't compile with mingw32/wsl-4.0-rc1

WSL
closed
None
Bug
fixed
Known_bugs
False
2013-06-17
2013-05-23
No

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

Related

Issues: #1973

Discussion

  • Keith Marshall

    Keith Marshall - 2013-05-23

    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: #1968

  • Niels Kristian Bech Jensen

    I 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

     
  • Keith Marshall

    Keith Marshall - 2013-06-08
    • Category: Feature_in_WSL_4.0 --> Known_bugs
     
  • Keith Marshall

    Keith Marshall - 2013-06-08

    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: #1984

  • Earnie Boyd

    Earnie Boyd - 2013-06-11

    I just tried building fossil and was able to build fossil with my working repository. I'll push fixes sometime tomorrow.

     
  • Earnie Boyd

    Earnie Boyd - 2013-06-17
    • status: open --> closed
    • Resolution: none --> fixed
     
  • Earnie Boyd

    Earnie Boyd - 2013-06-17

    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.