Ticket #712 (new defect)

Opened 5 months ago

Compile fails on OS 10.14 Mojave

Reported by: stefan Owned by: somebody
Priority: major Milestone: OSX Intel
Component: ALL modules Version: 7.10
Keywords: Cc:

Description

After installing Mojave had to do: xcode-select --install and then run /Library/Developer/CommandLineTools/Packages?/macOS_SDK_headers_for_macOS_10.14.pkg but still having some trouble

-*-*-*-*-*-*-*-*-*
Making C libraries
-*-*-*-*-*-*-*-*-*
make[1]: Entering directory `/opt/earthworm/earthworm_svn/src/libsrc'
----------
Making earlybird in: /opt/earthworm/earthworm_svn/src/libsrc/earlybird
make[2]: Entering directory `/opt/earthworm/earthworm_svn/src/libsrc/earlybird'
gcc  -g -pthread -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-unknown-pragmas -Wno-pragmas -Wformat -Wdeclaration-after-statement -D_MACOSX -D_DARWIN_C_SOURCE -D_INTEL -D_USE_SCHED -pthread -D_USE_PTHREADS -D_DARWIN_USE_64_BIT_INODE -I/opt/earthworm/earthworm_svn/include -D_ADD_TRACE2_HEADER_ -D_MACOSX -D_DARWIN_C_SOURCE -D_INTEL -D_USE_SCHED -pthread -D_USE_PTHREADS -D_DARWIN_USE_64_BIT_INODE -I/opt/earthworm/earthworm_svn/include  -c -o filters.o filters.c
gcc  -g -pthread -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-unknown-pragmas -Wno-pragmas -Wformat -Wdeclaration-after-statement -D_MACOSX -D_DARWIN_C_SOURCE -D_INTEL -D_USE_SCHED -pthread -D_USE_PTHREADS -D_DARWIN_USE_64_BIT_INODE -I/opt/earthworm/earthworm_svn/include -D_ADD_TRACE2_HEADER_ -D_MACOSX -D_DARWIN_C_SOURCE -D_INTEL -D_USE_SCHED -pthread -D_USE_PTHREADS -D_DARWIN_USE_64_BIT_INODE -I/opt/earthworm/earthworm_svn/include  -c -o get_pick.o get_pick.c
gcc  -g -pthread -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-unknown-pragmas -Wno-pragmas -Wformat -Wdeclaration-after-statement -D_MACOSX -D_DARWIN_C_SOURCE -D_INTEL -D_USE_SCHED -pthread -D_USE_PTHREADS -D_DARWIN_USE_64_BIT_INODE -I/opt/earthworm/earthworm_svn/include -D_ADD_TRACE2_HEADER_ -D_MACOSX -D_DARWIN_C_SOURCE -D_INTEL -D_USE_SCHED -pthread -D_USE_PTHREADS -D_DARWIN_USE_64_BIT_INODE -I/opt/earthworm/earthworm_svn/include  -c -o report.o report.c
In file included from /usr/include/Availability.h:236:0,
                 from /usr/include/stdlib.h:61,
                 from report.c:9:
/usr/include/AvailabilityInternal.h:33:18: error: missing binary operator before token "("
In file included from /usr/include/stdlib.h:61:0,
                 from report.c:9:
/usr/include/Availability.h:497:18: error: missing binary operator before token "("
make[2]: *** [report.o] Error 1
make[2]: Leaving directory `/opt/earthworm/earthworm_svn/src/libsrc/earlybird'
make[1]: *** [earlybird] Error 2
make[1]: Leaving directory `/opt/earthworm/earthworm_svn/src/libsrc'
make: *** [unix_libs] Error 2
make: Leaving directory `/opt/earthworm/earthworm_svn/src'
Note: See TracTickets for help on using tickets.