pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
erlang fails to build
like this:
cc -DERTS_NO_KERNEL_POLL_VERSION -I/usr/include
-I/usr/work/lang/erlang/work/otp_src_R12B-0/erts/i386--netbsdelf
-I/usr/include -DHAVE_CONFIG_H -Wall -Wstrict-prototypes
-Wmissing-prototypes -Ibeam -Isys/unix -Isys/common
-Ii386--netbsdelf/opt/plain -Ii386--netbsdelf -Izlib -Ihipe
-I../include/internal -I../include/internal/i386--netbsdelf -c
sys/common/erl_check_io.c -o
obj/i386--netbsdelf/opt/plain/erl_check_io.nkp.o
cc -I/usr/include
-I/usr/work/lang/erlang/work/otp_src_R12B-0/erts/i386--netbsdelf
-I/usr/include -DHAVE_CONFIG_H -Wall -Wstrict-prototypes
-Wmissing-prototypes -Ibeam -Isys/unix -Isys/common
-Ii386--netbsdelf/opt/plain -Ii386--netbsdelf -Izlib -Ihipe
-I../include/internal -I../include/internal/i386--netbsdelf -c
sys/common/erl_mseg.c -o obj/i386--netbsdelf/opt/plain/erl_mseg.o
sys/common/erl_mseg.c: In function 'mseg_recreate':
sys/common/erl_mseg.c:375: error: 'MREMAP_MAYMOVE' undeclared (first
use in this function)
sys/common/erl_mseg.c:375: error: (Each undeclared identifier is
reported only once
sys/common/erl_mseg.c:375: error: for each function it appears in.)
sys/common/erl_mseg.c:375: warning: passing argument 3 of 'mremap'
makes pointer from integer without a cast
sys/common/erl_mseg.c:375: error: too few arguments to function 'mremap'
make[3]: *** [obj/i386--netbsdelf/opt/plain/erl_mseg.o] Error 1
make[3]: Leaving directory
`/usr/work/lang/erlang/work/otp_src_R12B-0/erts/emulator'
make[2]: *** [opt] Error 2
make[2]: Leaving directory
`/usr/work/lang/erlang/work/otp_src_R12B-0/erts/emulator'
make[1]: *** [opt] Error 2
make[1]: Leaving directory `/usr/work/lang/erlang/work/otp_src_R12B-0/erts'
gmake: *** [emulator] Error 2
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/lang/erlang
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/erlang
*** Error code 1
Any ideas how to fix this ?
Zafer.
Home |
Main Index |
Thread Index |
Old Index