Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mosquitto-dev] Unknown linker option when building on a x86 NAS

Hello.
I'm trying to compile mosquitto 1.4.2 on a QNAP TS-251 NAS (x86).

I've installed all the dependencies (via ipkg) then i run "make install".
The compilation seems to be successfully but then during the linking I get an error regarding an unknown option:

... 
gcc mosquitto.o bridge.o conf.o context.o database.o logging.o loop.o memory_mosq.o persist.o net.o net_mosq.o read_handle.o read_handle_client.o read_handle_server.o read_handle_shared.o security.o security_default.o send_client_mosq.o send_mosq.o send_server.o service.o subs.o sys_tree.o time_mosq.o tls_mosq.o util_mosq.o websockets.o will_mosq.o -o mosquitto  -ldl -lm -lrt -Wl,--dynamic-list=linker.syms -lssl -lcrypto

/share/CACHEDEV1_DATA/.qpkg/Optware/bin/../lib/gcc/i686-unknown-linux-gnu/4.2.1/../../../../i686-unknown-linux-gnu/bin/ld: unrecognized option '--dynamic-list=linker.syms'

/share/CACHEDEV1_DATA/.qpkg/Optware/bin/../lib/gcc/i686-unknown-linux-gnu/4.2.1/../../../../i686-unknown-linux-gnu/bin/ld: use the --help option for usage information

collect2: ld returned 1 exit status

make[1]: *** [mosquitto] Error 1

make[1]: Leaving directory `/root/mosquitto-1.4.2/src'

make: *** [mosquitto] Error 2



Can you kindly help me?


Thank you very much and br.


--
Inviato dal mio dispositivo Android con K-9 Mail. Perdonate la brevità.

Back to the top