[oi-dev] Fwd: cross/mingw-w64 failed to compile on SunOS

Hung Nguyen Gia gh_origin at zohomail.com
Tue Jan 19 10:13:38 UTC 2021


mingw-w64 failed to build on OI.




============ Forwarded message ============
From: Hung Nguyen Gia <gh_origin at zohomail.com>
To: "Pkgsrc Users"<pkgsrc-users at netbsd.org>
Date: Tue, 19 Jan 2021 11:17:22 +0700
Subject: cross/mingw-w64 failed to compile on SunOS
============ Forwarded message ============

 > In file included from /usr/include/dlfcn.h:37, 
 >  from sysdep.h:80, 
 >  from deffilep.y:22: 
 > deffilep.c:234:5: error: expected identifier before numeric constant 
 >  234 |     SHARED = 279, 
 >  |     ^~~~~~ 
 > deffilep.c:265: warning: "SHARED" redefined 
 >  265 | #define SHARED 279 
 >  | 
 > In file included from /usr/include/dlfcn.h:37, 
 >  from sysdep.h:80, 
 >  from deffilep.y:22: 
 > /usr/include/sys/mman.h:105: note: this is the location of the previous definition 
 >  105 | #define SHARED  0x10 
 >  | 
 > gmake[4]: *** [Makefile:2148: deffilep.o] Error 1 
 > gmake[4]: *** Waiting for unfinished jobs.... 
 > mv -f .deps/plugin.Tpo .deps/plugin.Po 
 > mv -f .deps/ldlang.Tpo .deps/ldlang.Po 
 > mv -f .deps/pep-dll.Tpo .deps/pep-dll.Po 
 > gmake[4]: Leaving directory '/export/home/hung/pkgsrc/cross/mingw-w64-x86_64-binutils/work/binutils-2.35.1/ld' 
 > gmake[3]: *** [Makefile:1751: all-recursive] Error 1 
 > gmake[3]: Leaving directory '/export/home/hung/pkgsrc/cross/mingw-w64-x86_64-binutils/work/binutils-2.35.1/ld' 
 > gmake[2]: *** [Makefile:1035: all] Error 2 
 > gmake[2]: Leaving directory '/export/home/hung/pkgsrc/cross/mingw-w64-x86_64-binutils/work/binutils-2.35.1/ld' 
 > gmake[1]: *** [Makefile:7213: all-ld] Error 2 
 > gmake[1]: Leaving directory '/export/home/hung/pkgsrc/cross/mingw-w64-x86_64-binutils/work/binutils-2.35.1' 
 > gmake: *** [Makefile:853: all] Error 2 
 > *** Error code 2 
 >  
 > Stop. 
 > bmake[3]: stopped in /export/home/hung/pkgsrc/cross/mingw-w64-x86_64-binutils 
 > WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile. 
 > *** Error code 1 
 >  
 > Stop. 
 > bmake[2]: stopped in /export/home/hung/pkgsrc/cross/mingw-w64-x86_64-binutils 
 > *** Error code 1 
 >  
 > Stop. 
 > bmake[1]: stopped in /export/home/hung/pkgsrc/cross/mingw-w64-x86_64-gcc 
 > *** Error code 1 
 >  
 > Stop. 
 > bmake: stopped in /export/home/hung/pkgsrc/cross/mingw-w64 
 >  
 > 



More information about the oi-dev mailing list