trouble building OTP R10B-3
Ulf Wiger (AL/EAB)
ulf.wiger@REDACTED
Fri Feb 18 14:59:36 CET 2005
I have some difficulty building R10B-3 on my machine. Some of the trouble seems to be recent changes in our environment that I have not yet fully understood. But perhaps someone can shed some light on the following?
The build command for erts/emulator/drivers/common/gzio.c
looked like this in R10B-2 (I've added some line breaks.)
It worked:
gcc -g -O2 -I/home/etxuwig/OSE/otp_src_R10B-2_reg_mi/erts/sparc-sun-solaris2.8
-DHYBRID -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wa,-xarch=v8plusa -Ibeam -Isys/unix -Isys/common -Isparc-sun-solaris2.8
-Isparc-sun-solaris2.8/hybrid -Izlib -Ihipe
-Idrivers/common -Idrivers/unix
-c drivers/common/gzio.c
-o /...r10b-2/erts/obj.hybrid.beam/sparc-sun-solaris2.8/gzio.o
The build command for the same file (gzio.c was unchanged) in R10B-3
(same shell, same environment) looked like this, and did not go well:
gcc -g -I/home/etxuwig/OSE/otp_src_R10B-3_reg_mi/erts/sparc-sun-solaris2.8
-DHYBRID -DHAVE_CONFIG_H
-Wa,-xarch=v8plusa -Ibeam -Isys/unix -Isys/common -Isparc-sun-solaris2.8
-Isparc-sun-solaris2.8/hybrid -Izlib -Ihipe -I../include/internal
-I../include/internal/sparc-sun-solaris2.8
-Idrivers/common -Idrivers/unix
-c drivers/common/gzio.c
-o /...r10b-3/erts/obj.hybrid.beam/sparc-sun-solaris2.8/gzio.o
.beam/sparc-sun-solaris2.8/gzio.o
drivers/common/gzio.c: In function `gz_open':
drivers/common/gzio.c:162: conflicting types for `fread'
/usr/include/iso/stdio_iso.h:206: previous declaration of `fread'
drivers/common/gzio.c:162: warning: extern declaration of `fread' doesn't match global one
drivers/common/gzio.c:164: warning: assignment from incompatible pointer type
/Uffe
More information about the erlang-questions
mailing list