[erlang-bugs] Problem compiling otp_src_R12B-1 on FreeBSD 6.2-RELEASE-p3

Bob Ippolito bob@REDACTED
Fri Feb 8 00:22:39 CET 2008


$ ./configure --enable-hipe --enable-smp --enable-threads --prefix=/mochi
...
$ gmake
...
=== Entering application erl_interface
gmake[3]: Entering directory
`/usr/home/mochi/bld/otp_src_R12B-1/lib/erl_interface/src'
gmake -f i386-unknown-freebsd6.2/Makefile TYPE=opt
gmake[4]: Entering directory
`/usr/home/mochi/bld/otp_src_R12B-1/lib/erl_interface/src'
gcc  -g -O2 -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline -fno-strict-aliasing
-I. -I../include -Iconnect -Iencode -Idecode -Imisc -Iepmd -Iregistry
-Ii386-unknown-freebsd6.2   -D_REENTRANT -D_THREAD_SAFE
-DPOSIX_THREADS -c connect/ei_resolve.c -o
/home/mochi/bld/otp_src_R12B-1/lib/erl_interface/obj.mt/i386-unknown-freebsd6.2/ei_resolve.o
connect/ei_resolve.c: In function `ei_gethostbyname_r':
connect/ei_resolve.c:625: warning: passing arg 5 of `gethostbyname_r'
from incompatible pointer type
connect/ei_resolve.c:625: error: too few arguments to function `gethostbyname_r'
connect/ei_resolve.c:625: warning: return makes pointer from integer
without a cast
gmake[4]: *** [/home/mochi/bld/otp_src_R12B-1/lib/erl_interface/obj.mt/i386-unknown-freebsd6.2/ei_resolve.o]
Error 1
gmake[4]: Leaving directory
`/usr/home/mochi/bld/otp_src_R12B-1/lib/erl_interface/src'
gmake[3]: *** [opt] Error 2
gmake[3]: Leaving directory
`/usr/home/mochi/bld/otp_src_R12B-1/lib/erl_interface/src'
gmake[2]: *** [opt] Error 2
gmake[2]: Leaving directory
`/usr/home/mochi/bld/otp_src_R12B-1/lib/erl_interface'
gmake[1]: *** [opt] Error 2
gmake[1]: Leaving directory
gmake: *** [libs] Error 2

-bob



More information about the erlang-bugs mailing list