erlang otp r6b released

Per Hedeland per@REDACTED
Sat Nov 27 00:37:39 CET 1999


Ulf Wiger <etxuwig@REDACTED> wrote:
>OK, this error came when I tried to compile r6b on Solaris 2.7:
>
>make[3]: *** No rule to make target
>`[...]/otp_src_R6B-0/erts/obj.beam/sparc-sun-solaris2.7/sys.o',
>needed by
>`[...]/otp_src_R6B-0/bin/sparc-sun-solaris2.7/beam'.
>Stop.
>make[3]: Leaving directory
>`[...]/otp_src_R6B-0/erts/emulator'
>make[2]: *** [opt] Error 2

Weird... - it built fine for me on Solaris 7 (well it failed in orber,
but that was due to an incomplete g++ installation). The rule it doesn't
find should be in erts/emulator/sparc-sun-solaris2.7/Makefile, looking
like this:

$(OBJDIR)/%.o: sys/$(OSTYPE)/%.c
	$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@

- and OSTYPE should be set to 'unix' (of course) earlier in the file.
What does 'make --version' say (it seems you have GNU make installed as
'make')?

--Per Hedeland
per@REDACTED



More information about the erlang-questions mailing list