make problems, OTP P8A

Kent Boortz kent@REDACTED
Mon Oct 15 18:40:57 CEST 2001


Yes, as Erik Pearson wrote earlier you need to make sure "/bin/sed" or
"/usr/bin/sed" is used when building on Solaris.  I have added a note
about this in the README.

kent

Ulf Wiger <etxuwig@REDACTED> writes:
> When I tried to compile OTP P8A (the 20011007 snapshot), I
> stumbled on the following error (paths slightly edited by hand):
> 
> gcc -g -O2
> -I/.../p8a/otp_src_P8A-20011007-SNAPSHOT/erts/sparc-sun-solaris2.7
> -DHAVE_CONFIG_H -Wall -DHIPE_ARCHITECTURE=ultrasparc
> -Wa,-xarch=v8plusa -Ibeam -Isys/unix -Isparc-sun-solaris2.7
> -Izlib -Ihipe -c hipe/hipe_sparc_glue.S -o
> /.../otp_src_P8A-20011007-SNAPSHOT/erts/obj.beam/sparc-sun-solaris2.7/hipe_sparc_glue.o
> m4 -Ibeam -Isys/unix -Isparc-sun-solaris2.7 -Izlib -Ihipe
> hipe/hipe_sparc_bifs.m4 > sparc-sun-solaris2.7/hipe_sparc_bifs.S
> m4: bad option: -Ibeam
> make[3]: *** [sparc-sun-solaris2.7/hipe_sparc_bifs.S] Error 1
> make[3]: Leaving directory
> `/.../otp_src_P8A-20011007-SNAPSHOT/erts/emulator'
> 
> I'm not familiar with m4, but the man page on my machine
> (/usr/ccs/bin/m4 on SunOS Release 5.7 Generic_106541-12) mentions
> nothing about an -I option. Is there another m4 that I should be
> using?



More information about the erlang-questions mailing list