Skip to content
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

IexMath won't compile on Mac OS X 10.5 #58

Closed
barretpj opened this issue Apr 12, 2013 · 3 comments
Closed

IexMath won't compile on Mac OS X 10.5 #58

barretpj opened this issue Apr 12, 2013 · 3 comments
Labels
Bug A bug in the source code Build A problem with building or installing the library.

Comments

@barretpj
Copy link

It's fine on later OS X versions, but on 10.5 (where I have to compile for historical reasons) it fails. Luckily I don't actually need it :-)

g++ -dynamic -no-cpp-precomp -falign-loops=16 -pipe -Wall -g -O0 -DFLDEBUG -DBUGHUNT -D_REENTRANT -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -I/Users/philb/4.4/build/baselight/Darwin-gcc-4.0.1-64/debug/include -arch x86_64 -m64 -DCONFIG_64_BIT -DFL_LITTLE_ENDIAN -fPIC -pipe -g -O2 -D_THREAD_SAFE -c IexMathFpu.cpp -o IexMathFpu.o
IexMathFpu.cpp:278:28: error: asm/sigcontext.h: No such file or directory
IexMathFpu.cpp: In function 'void Iex_2_0::FpuControl::restoreControlRegs(const ucontext_t&, bool)':
IexMathFpu.cpp:283: error: request for member 'fpregs' in 'ucon->__darwin_ucontext::uc_mcontext', which is of non-class type '__darwin_mcontext64* const'
IexMathFpu.cpp:285: error: '_fpstate' was not declared in this scope
IexMathFpu.cpp:285: error: 'kfp' was not declared in this scope
IexMathFpu.cpp:285: error: expected type-specifier before 'fpstate'
IexMathFpu.cpp:285: error: expected >' before '_fpstate' IexMathFpu.cpp:285: error: expected(' before 'fpstate'
IexMathFpu.cpp:285: error: expected primary-expression before '>' token
IexMathFpu.cpp:285: error: request for member 'fpregs' in 'ucon->__darwin_ucontext::uc_mcontext', which is of non-class type '__darwin_mcontext64* const'
IexMathFpu.cpp:285: error: expected `)' before ';' token
IexMathFpu.cpp: In function 'void Iex_2_0::setFpExceptionHandler(void (
)(int, const char
))':
IexMathFpu.cpp:466: error: 'SA_NOMASK' was not declared in this scope
IexMathFpu.cpp:468: error: 'struct sigaction' has no member named 'sa_restorer'
make[3]: *** [IexMathFpu.lo] Error 1

@pstanczyk
Copy link
Contributor

interesting ... I have dual boot machine here I might be able to try this out on. Thanks for catching!


From: barretpj [notifications@github.com]
Sent: 12 April 2013 04:07
To: openexr/openexr
Subject: [openexr] IexMath won't compile on Mac OS X 10.5 (#58)

It's fine on later OS X versions, but on 10.5 (where I have to compile for historical reasons) it fails. Luckily I don't actually need it :-)

g++ -dynamic -no-cpp-precomp -falign-loops=16 -pipe -Wall -g -O0 -DFLDEBUG -DBUGHUNT -D_REENTRANT -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -I/Users/philb/4.4/build/baselight/Darwin-gcc-4.0.1-64/debug/include -arch x86_64 -m64 -DCONFIG_64_BIT -DFL_LITTLE_ENDIAN -fPIC -pipe -g -O2 -D_THREAD_SAFE -c IexMathFpu.cpp -o IexMathFpu.o
IexMathFpu.cpp:278:28: error: asm/sigcontext.h: No such file or directory
IexMathFpu.cpp: In function 'void Iex_2_0::FpuControl::restoreControlRegs(const ucontext_t&, bool)':
IexMathFpu.cpp:283: error: request for member 'fpregs' in 'ucon->darwin_ucontext::uc_mcontext', which is of non-class type 'darwin_mcontext64* const'
IexMathFpu.cpp:285: error: '_fpstate' was not declared in this scope
IexMathFpu.cpp:285: error: 'kfp' was not declared in this scope
IexMathFpu.cpp:285: error: expected type-specifier before '_fpstate'
IexMathFpu.cpp:285: error: expected >' before 'fpstate'
IexMathFpu.cpp:285: error: expected(' before 'fpstate'
IexMathFpu.cpp:285: error: expected primary-expression before '>' token
IexMathFpu.cpp:285: error: request for member 'fpregs' in 'ucon->darwin_ucontext::uc_mcontext', which is of non-class type 'darwin_mcontext64* const'
IexMathFpu.cpp:285: error: expected `)' before ';' token
IexMathFpu.cpp: In function 'void Iex_2_0::setFpExceptionHandler(void (
)(int, const char
))':
IexMathFpu.cpp:466: error: 'SA_NOMASK' was not declared in this scope
IexMathFpu.cpp:468: error: 'struct sigaction' has no member named 'sa_restorer'
make[3]: *** [IexMathFpu.lo] Error 1


Reply to this email directly or view it on GitHubhttps://github.com//issues/58.

@meshula
Copy link
Contributor

meshula commented Dec 11, 2014

I'm wondering if we can close this. 10.5 is kind of long gone....

@ehanway-ilm
Copy link
Contributor

Agreed, closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in the source code Build A problem with building or installing the library.
Projects
None yet
Development

No branches or pull requests

4 participants