OTP-R8B-2 does not compile on FreeBSD 4.6.2

Torbjorn Tornkvist tobbe@REDACTED
Wed Sep 25 09:48:50 CEST 2002


At least not right out of the (tar-)box:
.....
gcc -g -O2 -I/usr/local/share/winhome/otp_src_R8B-2/erts/i386-unknown-freebsd4.6.2  -g -O2 -I/usr/local/share/winhome/otp_src_R8B-2/erts/i386-unknown-freebsd4.6.2  -fPIC -Wall -O2 -DDEBUG_DIST -I. -DHAVE_CONFIG_H    -DUSE_DNS -DEPMD_PORT=4369 -c erl_error.c -o /usr/local/share/winhome/otp_src_R8B-2/lib/erl_interface/obj/i386-unknown-freebsd4.6.2/erl_error.o 
erl_error.c:186: conflicting types for `strerror_r'
/usr/include/string.h:88: previous declaration of `strerror_r'
gmake[3]: *** [/usr/local/share/winhome/otp_src_R8B-2/lib/erl_interface/obj/i386-unknown-freebsd4.6.2/erl_error.o] Error 1
gmake[3]: Leaving directory `/usr/local/share/winhome/otp_src_R8B-2/lib/erl_interface/src'
gmake[2]: *** [opt] Error 2
.....

BTW: How do I specify where my SSL inc/lib stuff are located ?
(did Klacke's make-SSL patch go in ?)

Cheers /Tobbe




More information about the erlang-questions mailing list