Skip to main content

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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Are you using cmake?  You should not be using cmake on linux (for the
mosquitto project)


Arturo Lotito <arturo.lotito@xxxxxxxxx> wrote:
> 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.
> 
> 
> _______________________________________________
> mosquitto-dev mailing list
> mosquitto-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/mosquitto-dev

- -- 
Sent using Mailpile, Free Software from www.mailpile.is

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJVz3vqAAoJEBmotQ/U1cr2L8cQALeJmC+o7PdhU24SqE2jwxLH
bAagoTtKKVnTVMTvoxkQ88NT9d9NRn7zkbLpk3wrnnxYEleR9dHYqbZo8gUzcJMp
69QDjAhSUSSuV1IywvQnZrX9rPjO4RVIhby1Iz+RnVyvz8LGGMGVxoFUIWIdiQR6
7PpiFfcBTJSRoHJDmWSRoOfIPgg8WAy/gb47diS5IcYw0G28GSx12WDvEURZhrX/
xipQa31RmubdzAOjMOp5j4odbJPLNTzqP7RXswPjVkaVLRTn+pVn6++PH0TfqwPN
w+PFAErmnmzY7ghzaFfG5DikZ9tlUzClJWdAnJfIAcCcBFcjde38PH8Zb1mTrToG
tFrkWponUOJUW3hC+r01PVBxfjZy/pOfS9W6N1xi6v02wMjx4FaI2PYVcNqeMUkf
DitAxdEMNhXXUto9CGdnuLdo4ttLQ/QzjX1HeiIAQ/xYytHpakE9COCxAiC/DNiU
86zZ5HTz+ku8HJBnCxQrkNbQqmvBEhJFaChMqE6c0+sFKGzjBrV+Spx/iJ8mcoyv
fzouSRCKcmd/99xvKF4I/vnttCVYyz4OjzMlI2UJFW33inhrRy24vfnlzt64nJ9s
fzkuG44mg27hbiaRioPyZTCFuJ0r/BGRcco4H0u6LccgU+5cOyboM/kyEzFOi7mf
vVYS7I48sNwqoxCvQadb
=/SZm
-----END PGP SIGNATURE-----

Back to the top