carosio / unimux

Router Application for hello jsonrpc APIs
Mozilla Public License 2.0
2 stars 5 forks source link

unimux dependency dnssd prevents -march=armv7-a build #19

Closed thz closed 9 years ago

thz commented 9 years ago
| ==> dnssd (compile)
| Compiled src/dnssd_sup.erl
| Compiled src/dnssd_server.erl
| Compiled src/dnssd_drv.erl
| Compiled src/dnssd_app.erl
| Compiled src/dnssd.erl
| Compiling c_src/dnssd.c
| /REDO/build/tmp/sysroots/x86_64-linux/usr/lib/erlang/lib/erl_interface-3.7.20/lib/libei.a: error adding symbols: File format not recognized
| collect2: error: ld returned 1 exit status
| ERROR: sh(arm-caros-linux-gnueabi-gcc  -march=armv7-a -mfloat-abi=softfp -mfpu=neon --sysroot=/REDO/build/tmp/sysroots/sun7i-a20-lamobo-r1 c_src/dnssd.o -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now -ldns_sd -shared  -L"/REDO/build/tmp/sysroots/x86_64-linux/usr/lib/erlang/lib/erl_interface-3.7.20/lib" -lerl_interface -lei -o priv/dnssd_drv.so)
| failed with return code 1 and the following output:
| /REDO/build/tmp/sysroots/x86_64-linux/usr/lib/erlang/lib/erl_interface-3.7.20/lib/libei.a: error adding symbols: File format not recognized
| collect2: error: ld returned 1 exit status
| 
| ERROR: compile failed while processing /REDO/build/tmp/work/armv7a-vfp-neon-caros-linux-gnueabi/unimux/1.2.4-r1/git/deps/dnssd: rebar_abort
| ==> unimux
| ** (Mix) Could not compile dependency :dnssd, "/REDO/build/tmp/sysroots/x86_64-linux/usr/bin/rebar" command failed. You can recompile this dependency with "mix deps.compile dnssd", update it with "mix deps.update dnssd" or clean it with "mix deps.clean dnssd"

If cross-compiling cannot be easily fixed for dnssd, disabling dnssd would improve the situation already.