-
Notifications
You must be signed in to change notification settings - Fork 87
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
Not able to compile with icpc #44
Comments
I'm not familiar with icpc. What compiler is that? Where can I get a version to try? |
It is Intel C++ compiler. I am not able to compile with g++ either. |
Hmmm. This could be a C++ name mangling thing. Or more likely an environment thing. The abort_handler_s.c is supposed to call the stdlib function abort(). This is defined in the safeclib_private.h file where slabort() is #defined to abort() Please verify that you are building with the appropriate setting for your environment, which would be to use HAVE_STDLIB_H for C++. See line 62 & 63 in the safeclib_private.h file. |
"Please verify that you are building with the appropriate setting for your environment, which would be to use HAVE_STDLIB_H for C++. See line 62 & 63 in the safeclib_private.h file." |
$ make
icpc -z noexecstack -z relo -z now -c -o obj/abort_handler_s.o safeclib/abort_handler_s.c -Iinclude -fstack-protector-strong -fPIE -fPIC -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security
safeclib/abort_handler_s.c(72): error: identifier "abort" is undefined
slabort();
^
compilation aborted for safeclib/abort_handler_s.c (code 2)
make: *** [obj/abort_handler_s.o] Error 2
The text was updated successfully, but these errors were encountered: