Building R8B-1 on OpenBSD 3.1

Steve Elkins <>
Mon Jul 15 17:26:25 CEST 2002


Hi,

R8B-0 builds without incident.  Just got around to building R8B-1 and
ran into this...

  gcc -c -o ../priv/obj/i386-unknown-openbsd3.1/memsup.o -g -O2 \
    -I/home/sge/build/otp_src_R8B-1/erts/i386-unknown-openbsd3.1 \
    -DHAVE_CONFIG_H  memsup.c
  memsup.c:102: vm/vm_param.h: No such file or directory
  gmake[4]: *** [../priv/obj/i386-unknown-openbsd3.1/memsup.o] Error 1
  gmake[4]: Leaving directory `/home/sge/build/otp_src_R8B-1/lib/os_mon/c_src'

...which must've happened because BSD4_4 was defined.  Changed line
102 of the file from...

  #include <vm/vm_param.h>

...to...

  #include <uvm/uvm_param.h>

...and it compiled, but I'm sure the PTB have better ways of
addressing such issues.  Just thought I ought to report the hack.

And what does the change do anyway?  How can I find out if compiling
it produces something that runs?

Thanks,
Steve




More information about the erlang-questions mailing list