-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building on Mac #7
Comments
This looks like you've built for i386, but you need to build with the There's a note about this in the readme, have you tried using this option? Make sure to do a |
Setted CFLAGS and CCFLAGS as in the readme. Il giorno 03/apr/2014, alle ore 16:04, Kristopher Micinski notifications@github.com ha scritto:
|
I just tried a fresh build on my mac, and got the same error. Using ocaml
That's the error I got, and I'm not sure what's happening with it. I will Kris On Thu, Apr 3, 2014 at 10:39 AM, algobardo notifications@github.com wrote:
|
Performance counters are borrowed from CIL, C Intermediate Language. It seems hardware counters are no longer maintained, and thus discarded from redexer as well. (./configure is removed, too.) Please update the repo, and just make again. Thanks, |
I'm trying to compile CEAL and I'm getting the following error, which Kris got above:
What was the fix for this? |
In our case I think the answer was to simply remove the old deprecated In general, though, these linking issues seem to be because there is some Maybe you could track down the hardware counters in CEAL and hack them out Kris On Sun, Mar 15, 2015 at 1:03 PM, Matthew Hammer notifications@github.com
|
Hi,
i'm trying to build on Mac,
when i run configure i get
checking if performance counters are usable...
result: no (cannot compile ocamlutil/stats_stubs.c.in)
however stats_stubs.o is generated, but making returns linking error
ld: warning: ignoring file ocamlutil/stats_stubs.o, file was built for i386 which is not the architecture being linked (x86_64): ocamlutil/stats_stubs.o
Undefined symbols for architecture x86_64:
"_has_performance_counters", referenced from:
.L172 in stats.o
_camlStats__28 in stats.o
"_read_pentium_perfcount", referenced from:
.L215 in stats.o
_camlStats__28 in stats.o
"_reset_performance_counters", referenced from:
.L178 in stats.o
.L175 in stats.o
_camlStats__28 in stats.o
"_sample_pentium_perfcount_10", referenced from:
.L168 in stats.o
_camlStats__28 in stats.o
"_sample_pentium_perfcount_20", referenced from:
.L170 in stats.o
_camlStats__28 in stats.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
File "caml_startup", line 1:
can you help me to build it ?
The text was updated successfully, but these errors were encountered: