[erlang-questions] R11B-5 fails to build on FreeBSD 6.2
Martin Logan
martinjlogan@REDACTED
Sat Jan 12 20:43:58 CET 2008
the build fails with:
=== Entering application erl_interface
gmake[3]: Entering directory
`/usr/home/martinjlogan/otp_src_R11B-5/lib/erl_interface/src'
gmake -f i386-unknown-freebsd6.2/Makefile TYPE=opt
gmake[4]: Entering directory
`/usr/home/martinjlogan/otp_src_R11B-5/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/martinjlogan/otp_src_R11B-5/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:624: warning: passing arg 5 of `gethostbyname_r' from
incompatible pointer type
connect/ei_resolve.c:624: error: too few arguments to function
`gethostbyname_r'
connect/ei_resolve.c:624: warning: return makes pointer from integer without
a cast
gmake[4]: ***
[/home/martinjlogan/otp_src_R11B-5/lib/erl_interface/obj.mt/i386-
unknown-freebsd6.2/ei_resolve.o] Error 1
gmake[4]: Leaving directory
`/usr/home/martinjlogan/otp_src_R11B-5/lib/erl_interface/src'
gmake[3]: *** [opt] Error 2
gmake[3]: Leaving directory
`/usr/home/martinjlogan/otp_src_R11B-5/lib/erl_interface/src'
gmake[2]: *** [opt] Error 2
gmake[2]: Leaving directory
`/usr/home/martinjlogan/otp_src_R11B-5/lib/erl_interface'
gmake[1]: *** [opt] Error 2
gmake[1]: Leaving directory `/usr/home/martinjlogan/otp_src_R11B-5/lib'
gmake: *** [libs] Error 2
Anyone else run into this problem?
Cheers,
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080112/6ebe2680/attachment.htm>
More information about the erlang-questions
mailing list