R8B make fails with RH's perl 5.8.0

Dufflebunk <>
Wed Mar 19 23:26:12 CET 2003


Hi, I'm compiling the latest (R9B-1) on a red hat 8.0 box. This same error
is present. I found this post with google, I don't subscribe to this list,
so I hope it does through.

You want to use bytes, not byte. This may be obvious, but I don't know perl
so it took some searching ;)
Also, after failure, if you run make again it will  continue the build
process, but error out later complaining about:

/space/dl/otp_src_R9B-1/erts/obj.beam/i686-pc-linux-gnu/sys.o: In function
`sys_preloaded':
/space/dl/otp_src_R9B-1/erts/emulator/sys/unix/sys.c:3236: undefined
reference to `pre_loaded'
/space/dl/otp_src_R9B-1/erts/obj.beam/i686-pc-linux-gnu/ttsl_drv.o: In
function `start_termcap':
/space/dl/otp_src_R9B-1/erts/emulator/drivers/unix/ttsl_drv.c:599: undefined
reference to `tgetent'

It seems to be compilnig happily now that I made that change.

----- Manualy Quoted message -----
Thu, 3 Oct 2002 13:55:44 -0700


Just installed RetHat 8.0 on a new box.

On the first attempt(s), the perl script erts/emulator/utils/make_preload
kept on failing on the first file:

form size 1208 greater than size 1056 of module at utils/make_preload line
145,
<FILE> chuck 1.

The problems stems from RH's perl 5.8.0 and its length() function, which
now returns a character-based length.  With

use byte;

The length function returns the correct 1216 for the length of $_ for the
beam
length of lib/kernel/ebin/otp_ring0.beam.

--erikp--



More information about the erlang-questions mailing list