Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#866 closed defect (fixed)

Error during compiling on Mac OS X

Reported by: Kieran P Owned by: Jan Wassenberg
Priority: Release Blocker Milestone: Alpha 6
Component: Core engine Keywords:
Cc: Jan Wassenberg, philip Patch:

Description (last modified by Kieran P)

% 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 (3)

comment:1 by Kieran P, 13 years ago

Description: modified (diff)

comment:2 by Jan Wassenberg, 13 years ago

Resolution: fixed
Status: newclosed

Hopefully fixed in r9581, please re-open if not.

comment:3 by Kieran P, 13 years ago

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

Note: See TracTickets for help on using tickets.