[erlang-bugs] megaco_flex_scanner doesn't work under Solaris10 x86

Simon Cornish <>
Wed Aug 27 07:51:50 CEST 2008


Hi,
I don't know if anyone uses this - I don't, I was chasing a bug with
my own linked-in driver - but the megaco_flex_scanner obviously isn't
built with the correct PIC options.

[ iss]$ erl
Erlang (BEAM) emulator version 5.6.3 [source] [64-bit]
[async-threads:0] [kernel-poll:false]

Eshell V5.6.3  (abort with ^G)
1> megaco_flex_scanner:start().
{error,{load_driver,"ld.so.1: beam: fatal: relocation error:
R_AMD64_PC32: file
/usr/local/lib/erlang/lib/megaco-3.8/priv/lib/megaco_flex_scanner_drv_mt.so:
symbol main: value 0x280017e0694 does not fit"}}

R12B-3 configured with "CC=gcc -m64". The other linked-in drivers that
come with the distribution (eg. crypto_drv, asn1_erl_drv, etc) work
ok.

()1> erl_ddll:loaded_drivers().
{ok,["async","efile","tcp_inet","udp_inet","zlib_drv",
     "ram_file_drv","tty_sl","bets_drv","crypto_drv"]}

Regards,
 Simon



More information about the erlang-bugs mailing list