make error

7 views
Skip to first unread message

gholamali...@gmail.com

unread,
Dec 8, 2014, 12:37:11 AM12/8/14
to libsl...@googlegroups.com
Hi folks,

I got the following error when I tried make after ./configure. I use MacOS X 10.9.5 and did not install SVM Perf and SMILE. I got sleipnir form https://bitbucket.org/libsleipnir/sleipnir/get/sleipnir.tar.gz
.... -g -O2 -MT annotation.o -MD -MP -MF .deps/annotation.Tpo -c -o annotation.o annotation.cpp
In file included from annotation.cpp:22:
./stdafx.h:52:10: fatal error: 'omp.h' file not found
#include <omp.h>
^
1 error generated.
make[1]: *** [annotation.o] Error 1
make: *** [install-recursive] Error 1

Thank you,
Ali

Qian Zhu

unread,
Dec 8, 2014, 6:55:25 AM12/8/14
to libsl...@googlegroups.com
Hi Ali, 

The error occurred because of the lack of support for OpenMP in your GCC. You need to install GCC version 4.5 or above from HPC: http://hpc.sourceforge.net/. For details of the prerequisite information in Mac, please refer to the file "configure.mac" https://bitbucket.org/libsleipnir/sleipnir/src/8c86863f7caa00f729af3dabd4c346b85bb7dcb1/configure.mac?at=sleipnir

Qian



--
Current Sleipnir code can be found on bitbucket at https://bitbucket.org/libsleipnir/sleipnir
---
You received this message because you are subscribed to the Google Groups "Sleipnir" group.
To unsubscribe from this group and stop receiving emails from it, send an email to libsleipnir...@googlegroups.com.
To post to this group, send email to libsl...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ali Rahnavard

unread,
Dec 8, 2014, 11:49:36 AM12/8/14
to libsl...@googlegroups.com
Hi Qian,

Thanks for your help. After upgrading my GCC to gcc4.9.2 I got the following error: ld: "symbol(s) not found for architecture x86_64" 
basically I used make -stdlib=libstdc++ -lstdc++ instead of make and it worked.

Thank you,
Ali

You received this message because you are subscribed to a topic in the Google Groups "Sleipnir" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/libsleipnir/VabRIhBZJTw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to libsleipnir...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages