You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiled src/leo_mcerl_sup.erl
Compiled src/leo_mcerl_server.erl
Compiled src/leo_mcerl.erl
Compiling c_src/leo_mcerl_nif.c
/usr/bin/ld: c_src/libcutil/build/src/libcutil.a(lcu_cache.c.o): relocation R_X86_64_32 against 'StrMapType' can not be used when making a shared object; recompile with -fPIC
c_src/libcutil/build/src/libcutil.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
ERROR: cc c_src/leo_mcerl_nif.o $LDFLAGS -shared -L/usr/local/erlang/R16B02/lib/erlang/lib/erl_interface-3.7.14/lib -lerl_interface -lei c_src/libcutil/build/src/libcutil.a -o priv/leo_mcerl.so failed with error: 1 and output:
/usr/bin/ld: c_src/libcutil/build/src/libcutil.a(lcu_cache.c.o): relocation R_X86_64_32 against 'StrMapType' can not be used when making a shared object; recompile with -fPIC
c_src/libcutil/build/src/libcutil.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
it worked. thank you. there was also an issue (before this error) to some project where I had to go to the path and do the cmake and then make.... because some build folder was empty... I read more details in the readme of that project...
Compiled src/leo_mcerl_sup.erl
Compiled src/leo_mcerl_server.erl
Compiled src/leo_mcerl.erl
Compiling c_src/leo_mcerl_nif.c
/usr/bin/ld: c_src/libcutil/build/src/libcutil.a(lcu_cache.c.o): relocation R_X86_64_32 against 'StrMapType' can not be used when making a shared object; recompile with -fPIC
c_src/libcutil/build/src/libcutil.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
ERROR: cc c_src/leo_mcerl_nif.o $LDFLAGS -shared -L/usr/local/erlang/R16B02/lib/erlang/lib/erl_interface-3.7.14/lib -lerl_interface -lei c_src/libcutil/build/src/libcutil.a -o priv/leo_mcerl.so failed with error: 1 and output:
/usr/bin/ld: c_src/libcutil/build/src/libcutil.a(lcu_cache.c.o): relocation R_X86_64_32 against 'StrMapType' can not be used when making a shared object; recompile with -fPIC
c_src/libcutil/build/src/libcutil.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
ERROR: compile failed while processing /home/alexandru/development/github-projects/leofs/deps/leo_mcerl: rebar_abort
make: *** [compile] Error 1
The text was updated successfully, but these errors were encountered: