Ich möchte ein Programm auf meinem Ubunturechner Crosscompilieren für Windows.
Mein System:
1 2 3 4 | istributor ID: Ubuntu Description: Ubuntu 18.04.4 LTS Release: 18.04 Codename: bionic |
Ich bekomme folgende Fehlermeldung:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | CCLD curl.exe /usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/../../../../x86_64-w64-mingw32/lib/libmingw32.a(lib64_libmingw32_a-crt0_c.o): In function `main': ./mingw-w64-crt/crt/crt0_c.c:18: undefined reference to `WinMain' collect2: error: ld returned 1 exit status Makefile:973: recipe for target 'curl.exe' failed make[3]: *** [curl.exe] Error 1 Makefile:2087: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 Makefile:985: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 Traceback (most recent call last): File "./build/thirdparty.py", line 151, in <module> x.build(toolchain) File "/home/User/Desktop/XCSoar/build/python/build/autotools.py", line 100, in build MakeProject.build(self, toolchain, build) File "/home/User/Desktop/XCSoar/build/python/build/makeproject.py", line 31, in build self.make(toolchain, wd, self.get_make_args(toolchain)) File "/home/User/Desktop/XCSoar/build/python/build/makeproject.py", line 28, in make cwd=wd, env=toolchain.env) File "/usr/lib/python3.6/subprocess.py", line 311, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['make', '--quiet', '-j8']' returned non-zero exit status 2. build/thirdparty.mk:45: recipe for target 'output/WIN64/lib/x86_64-w64-mingw32/stamp' failed make: *** [output/WIN64/lib/x86_64-w64-mingw32/stamp] Error 1 |
Woran kann das liegen? Für Hilfe wäre ich sehr dankbar, ich bin auf dem Gebiet noch ein absoluter Anfänger!