Project

General

Profile

Actions

Feature #18423

closed

Installing stable versions like 3.0.3 from source generates fatal error by make

Added by dklein (Dmitri Klein) over 3 years ago. Updated 8 months ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:106773]

Description

# make
        BASERUBY = echo executable host ruby is required.  use --with-baseruby option.; false
        CC = /opt/SUNWspro/bin/CC
        LD = /usr/ccs/bin/ld
        LDSHARED = /opt/SUNWspro/bin/CC -G
        CFLAGS =  -g  
        XCFLAGS = -DRUBY_EXPORT -I. -I.ext/include/i386-solaris2.10 -I./include -I. -I./enc/unicode/12.1.0
        CPPFLAGS = -D_XOPEN_SOURCE=500   
        DLDFLAGS =  
        SOLIBS = -lz -lpthread -lrt -lrt -lrt -lsocket -ldl -lcrypt -lm
        LANG = 
        LC_ALL = 
        LC_CTYPE = 
        MFLAGS = 
CC: Sun C++ 5.12 SunOS_i386 2011/11/16
compiling vm.c
"./include/ruby/backward/cxxanyargs.hpp", line 207: Warning (Anachronism): Formal argument 1 of type extern "C" unsigned long(*)(unsigned long) in call to rb_iterate(extern "C" unsigned long(*)(unsigned long), unsigned long, extern "C" unsigned long(*)(unsigned long,unsigned long,int,const unsigned long*,unsigned long), unsigned long) is being passed unsigned long(*)(unsigned long).
...
"./include/ruby/backward/cxxanyargs.hpp", line 648: Error: Template parameter ruby::backward::cxxanyargs::define_method::F requires an expression of type void(*)(const char*,unsigned long(*)(...),int).
"./include/ruby/internal/fl_type.h", line 205: Warning: Identifier expected instead of "}".
"internal.h", line 16: Error: #error not for C++.
*** Error code 2
The following command caused the error:
/opt/SUNWspro/bin/CC  -g   -DRUBY_EXPORT -I. -I.ext/include/i386-solaris2.10 -I./include -I. -I./enc/unicode/12.1.0 -D_XOPEN_SOURCE=500    -o vm.o -c vm.c
make: Fatal error: Command failed for target `vm.o'
# 

Updated by xtkoba (Tee KOBAYASHI) over 3 years ago

There are several potentially related changes in the master branch, of which the most significant are 93ddff48022 and dbeddfb0b20.

Actions #2

Updated by hsbt (Hiroshi SHIBATA) over 3 years ago

  • Project changed from 14 to Ruby
Actions #3

Updated by hsbt (Hiroshi SHIBATA) 9 months ago

  • Description updated (diff)
Actions #4

Updated by hsbt (Hiroshi SHIBATA) 9 months ago

  • Description updated (diff)

Updated by hsbt (Hiroshi SHIBATA) 8 months ago

  • Status changed from Open to Closed

We can't support Solaris anymore.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0