bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gettext-0.21 make failed on Solaris x86/x64 with CC='gcc -m32'


From: Kiyoshi KANAZAWA
Subject: gettext-0.21 make failed on Solaris x86/x64 with CC='gcc -m32'
Date: Tue, 28 Jul 2020 08:58:11 +0900 (JST)

Hello,

gettext-0.21 make failed on Solaris x86/x64 with CC='gcc -m32'
Passed with CC='gcc -m64'

$ uname -a
SunOS hidden 5.11 11.3 i86pc i386 i86pc

$ gcc --version
gcc (GCC) 9.3.0

$ ./configure CC='gcc -m32'
$ make
  :
gcc  -m32 -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I..  
-DIN_GETTEXT_TOOLS_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gnulib-lib 
-I./../gnulib-lib -I../intl -D_REENTRANT -I/opt/local/locale/include 
-I/opt/local/include   -MT vma-iter.o -MD -MP -MF $depbase.Tpo -c -o vma-iter.o 
vma-iter.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from vma-iter.c:80:
/usr/include/sys/procfs.h:42:2: error: #error "Cannot use procfs in the large 
file compilation environment"
   42 | #error "Cannot use procfs in the large file compilation environment"
      |  ^~~~~
make[6]: *** [Makefile:6019: vma-iter.o] Error 1
make[6]: Leaving directory '/tmp/gettext-0.21/gettext-tools/gnulib-tests'
make[5]: *** [Makefile:6055: all-recursive] Error 1
make[5]: Leaving directory '/tmp/gettext-0.21/gettext-tools/gnulib-tests'
make[4]: *** [Makefile:4608: all] Error 2
make[4]: Leaving directory '/tmp/gettext-0.21/gettext-tools/gnulib-tests'
make[3]: *** [Makefile:2355: all-recursive] Error 1
make[3]: Leaving directory '/tmp/gettext-0.21/gettext-tools'
make[2]: *** [Makefile:2223: all] Error 2
make[2]: Leaving directory '/tmp/gettext-0.21/gettext-tools'
make[1]: *** [Makefile:403: all-recursive] Error 1
make[1]: Leaving directory '/tmp/gettext-0.21'
make: *** [Makefile:359: all] Error 2

This is caused by below.
/usr/include/sys/procfs.h:
41  #if !defined(_LP64) && _FILE_OFFSET_BITS == 64
42  #error  "Cannot use procfs in the large file compilation environment"
43  #endif


Regards,

--- Kiyoshi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]