Ticket #866 (closed defect: fixed)
Error during compiling on Mac OS X
| Reported by: | k776 | Owned by: | jan |
|---|---|---|---|
| Priority: | Release Blocker | Milestone: | Alpha 6 |
| Component: | Core engine | Keywords: | |
| Cc: | jan, philip |
Description (last modified by k776) (diff)
% make CONFIG=Release
Building mocks_real
make[1]: `../../../binaries/system/libmocks_real.a' is up to date.
Building network
make[1]: `../../../binaries/system/libnetwork.a' is up to date.
Building simulation2
Simulation2.cpp
In file included from ../../../libraries/spidermonkey-tip/include-unix/release/js/jspubtd.h:47,
from ../../../libraries/spidermonkey-tip/include-unix/release/js/jsapi.h:49,
from ../../../source/scriptinterface/ScriptTypes.h:41,
from ../../../source/scriptinterface/ScriptVal.h:21,
from ../../../source/simulation2/helpers/SimulationCommand.h:21,
from ../../../source/simulation2/Simulation2.h:23,
from ../../../source/simulation2/Simulation2.cpp:20:
../../../libraries/spidermonkey-tip/include-unix/release/js/jsval.h:154: warning: redundant redeclaration of ‘void js_static_assert(int*)’ in same scope
../../../libraries/spidermonkey-tip/include-unix/release/js/jsval.h:120: warning: previous declaration of ‘void js_static_assert(int*)’
../../../libraries/spidermonkey-tip/include-unix/release/js/jsval.h:168: warning: redundant redeclaration of ‘void js_static_assert(int*)’ in same scope
../../../libraries/spidermonkey-tip/include-unix/release/js/jsval.h:154: warning: previous declaration of ‘void js_static_assert(int*)’
In file included from ../../../source/ps/Filesystem.h:22,
from ../../../source/simulation2/Simulation2.cpp:34:
../../../source/lib/file/io/io.h: In function ‘Status io::Store(const OsPath&, const void*, size_t, const io::Parameters&, const CompletedHook&, const IssueHook&)’:
../../../source/lib/file/io/io.h:287: error: ‘O_DIRECT’ was not declared in this scope
../../../source/lib/file/io/io.h: In function ‘Status io::Load(const OsPath&, void*, size_t, const io::Parameters&, const CompletedHook&, const IssueHook&)’:
../../../source/lib/file/io/io.h:326: error: ‘O_DIRECT’ was not declared in this scope
make[1]: * [obj/simulation2_Release/Simulation2.o] Error 1
make: * [simulation2] Error 2
Change History
comment:2 Changed 2 years ago by jan
- Status changed from new to closed
- Resolution set to fixed
Hopefully fixed in r9581, please re-open if not.
comment:3 Changed 2 years ago by k776
Another issue popped up:
Building lowlevel
osx.cpp
../../../source/lib/sysdep/os/osx/osx.cpp:34: warning: unused parameter ‘text’
../../../source/lib/sysdep/os/osx/osx.cpp:62: warning: unused parameter ‘xres’
../../../source/lib/sysdep/os/osx/osx.cpp:62: warning: unused parameter ‘yres’
../../../source/lib/sysdep/os/osx/osx.cpp:62: warning: unused parameter ‘bpp’
../../../source/lib/sysdep/os/osx/osx.cpp:62: warning: unused parameter ‘freq’
../../../source/lib/sysdep/os/osx/osx.cpp:68: warning: unused parameter ‘xres’
../../../source/lib/sysdep/os/osx/osx.cpp:68: warning: unused parameter ‘yres’
../../../source/lib/sysdep/os/osx/osx.cpp:68: warning: unused parameter ‘bpp’
../../../source/lib/sysdep/os/osx/osx.cpp:68: warning: unused parameter ‘freq’
../../../source/lib/sysdep/os/osx/osx.cpp:102: error: expected declaration before ‘}’ token
make[1]: * [obj/lowlevel_Release/osx.o] Error 1
