BOUNCE erlang-questions at erlang.org: Message too long (>40000 chars)

Sebastian Strollo <>
Wed Dec 9 16:53:04 CET 1998


Ruslan Shevchenko <> writes:
> 
> looks like erlang-47.4.0.base.tar.gz is incomplete.
> 
> i. e. in process  of installing I receive:
> 
> creating ../system/erl_interface/src/i386-unknown-freebsd3.0/Makefile
> mkdir: ../../tools/devtools/pxw/pxw/i386-unknown-freebsd3.0: No such
> file or directory
> 
>  and  really, directory tools/devtools is missing.


Sorry about the confusing error messages. As you say there is
something missing, but that is on purpose. We wanted to break down the
release in smaller pieces, but our build system still thinks that it
all comes together in one piece. We are working on fixing this!


> The platform is freebsd 3.0, but I think this is not important here.

I don't think so, but further down in the output it seems something
actually did go wrong:

> gcc -DUSE_MATHERR=3D1 -DNO_SA_LEN=3D1 -DHAVE_WRITEV=3D1 -DHAVE_UIO_H=3D1 =
> -DHAVE_FINITE=3D1 -DHAVE_DIRENT_H=3D1 -DSTDC_HEADERS=3D1 -DHAVE_SYS_WAIT_=
...
> known-freebsd3.0/gzio.o -c -I/usr/home/rssh/erlang/erlang-47.4.0/erts/sys=
> tem/emulator/zlib /usr/home/rssh/erlang/erlang-47.4.0/erts/system/emulato=
> r/drv/gzio.c
> In file included from /usr/home/rssh/erlang/erlang-47.4.0/erts/system/emu=
> lator/sys.unix/driver_int.h:30,
>                  from /usr/home/rssh/erlang/erlang-47.4.0/erts/system/emu=
> lator/runtime/driver.h:30,
>                  from /usr/home/rssh/erlang/erlang-47.4.0/erts/system/emu=
> lator/drv/gzio.c:29:
> /usr/include/sys/uio.h:88: parse error before `readv'
> /usr/include/sys/uio.h:88: warning: data definition has no type or storag=

Wow, long output... :-)

Which seems to be the real cause of the error. The fix is to edit the
file erts/system/emulator/sys.unix/driver_int.h and add 

#include <sys/types.h>

just before the inclusion of sys/uio.h. Thanks for trying it out!

-- Sebastian



More information about the erlang-questions mailing list