Project

General

Profile

Actions

Bug #8759

closed

Error compiling miniruby

Added by spastorino (Santiago Pastorino) over 10 years ago. Updated over 10 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.1.0dev (2013-08-09 trunk 42459) [x86_64-darwin12.4.0]
[ruby-core:56467]

Description

I'm getting an error compiling miniruby after this change https://github.com/ruby/ruby/commit/c04f402f0f7692f6105c930f19d81b332d6a93d5 nobu added ...

linking miniruby
Undefined symbols for architecture x86_64:
"_CFRelease", referenced from:
_rb_str_normalize_ospath in file.o
"_CFStringCreateMutableCopy", referenced from:
_rb_str_normalize_ospath in file.o
"_CFStringCreateWithBytesNoCopy", referenced from:
_rb_str_normalize_ospath in file.o
"_CFStringGetBytes", referenced from:
_rb_str_normalize_ospath in file.o
"_CFStringGetLength", referenced from:
_rb_str_normalize_ospath in file.o
"_CFStringNormalize", referenced from:
_rb_str_normalize_ospath in file.o
"_kCFAllocatorDefault", referenced from:
_rb_str_normalize_ospath in file.o
"_kCFAllocatorNull", referenced from:
_rb_str_normalize_ospath in file.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [miniruby] Error 1

Patch attached


Files

config.patch (549 Bytes) config.patch spastorino (Santiago Pastorino), 08/09/2013 04:12 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0