[前][次][番号順一覧][スレッド一覧]

ruby-changes:58758

From: Kazuhiro <ko1@a...>
Date: Wed, 13 Nov 2019 09:58:55 +0900 (JST)
Subject: [ruby-changes:58758] 00d56bdf66 (master): Try to fix error on solaris

https://git.ruby-lang.org/ruby.git/commit/?id=00d56bdf66

From 00d56bdf66a3aeaadbc84196aacbd8d4e698cf79 Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
Date: Wed, 13 Nov 2019 09:55:54 +0900
Subject: Try to fix error on solaris

Add vm_core.h before builtin.h to pack.c for VM_CORE_H_EC_DEFINED.

https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris11s-sunc/ruby-master/log/20191112T102505Z.fail.html.gz
```
compiling dmyenc.c
linking miniruby
Undefined			first referenced
 symbol  			    in file
rb_vm_lvar_exposed                  pack.o
ld: fatal: symbol referencing errors
gmake: *** [miniruby] Error 2
```

diff --git a/pack.c b/pack.c
index c91531f..a4e0882 100644
--- a/pack.c
+++ b/pack.c
@@ -15,6 +15,7 @@ https://github.com/ruby/ruby/blob/trunk/pack.c#L15
 #include <ctype.h>
 #include <errno.h>
 #include <float.h>
+#include "vm_core.h"
 #include "builtin.h"
 
 /*
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]