[erlang-questions] Compile error: R15B01 on Solaris 10 64-bit
Brandish, Tom
tom.brandish@REDACTED
Sat Sep 22 05:30:02 CEST 2012
Hi,
I am trying to compile R15B01 on Solaris 10 64-bit. I have issued the following commands thus far:
cd /uadev/internalbuilds/Erlang/otp_src_R15B01
PATH=$PATH:/usr/ccs/bin:/usr/sfw/bin
ERL_TOP=`pwd`
env CFLAGS="-O2 -g64" ./configure
make
I am getting the following error. Can anyone assist?
make[2]: Entering directory `/uadev/internalbuilds/Erlang/otp_src_R15B01/erts/emulator'
make -f sparc-sun-solaris2.10/Makefile TYPE=opt
make[3]: Entering directory `/uadev/internalbuilds/Erlang/otp_src_R15B01/erts/emulator'
gcc -O2 -g64 -L/uadev/internalbuilds/Erlang/otp_src_R15B01/lib -I/uadev/internalbuilds/Erlang/otp_src_R15B01/erts/sparc-sun-solaris2.10 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS -D_POSIX_PTHREAD_SEMANTICS -Wa,-xarch=v8plusa -Isparc-sun-solaris2.10/opt/plain -Ibeam -Isys/unix -Isys/common -Isparc-sun-solaris2.10 -Izlib -Ipcre -Ihipe -I../include -I../include/sparc-sun-solaris2.10 -I../include/internal -I../include/internal/sparc-sun-solaris2.10 -c sys/unix/erl_main.c -o obj/sparc-sun-solaris2.10/opt/plain/erl_main.o
cc1: warning: invalid debug level specification in option: `-g64'
cc1: warning: no debugging information will be generated
In file included from /opt/gnu/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/signal.h:15,
from sys/unix/erl_unix_sys.h:47,
from beam/sys.h:47,
from sys/unix/erl_main.c:22:
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/sys/signal.h:124: conflicting types for `sigset_t'
/usr/include/sys/select.h:46: previous declaration of `sigset_t'
make[3]: *** [obj/sparc-sun-solaris2.10/opt/plain/erl_main.o] Error 1
make[3]: Leaving directory `/uadev/internalbuilds/Erlang/otp_src_R15B01/erts/emulator'
make[2]: *** [opt] Error 2
make[2]: Leaving directory `/uadev/internalbuilds/Erlang/otp_src_R15B01/erts/emulator'
make[1]: *** [opt] Error 2
make[1]: Leaving directory `/uadev/internalbuilds/Erlang/otp_src_R15B01/erts'
make: *** [emulator] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120922/8f24f12f/attachment.htm>
More information about the erlang-questions
mailing list