Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Undefined symbols for architecture x86_64

Hi Helbert,

It's not clear exactly what you're doing, but I'm guessing that you're
trying to build your own application and are including the
libmosquitto files as part of the project. I'd suggest against doing
that. Build and install the libmosquitto library and then link against
it.

If that's not what's happening, you'll have to give some more details
on what it is you are doing.

Cheers,

Roger


On Mon, Mar 27, 2017 at 12:45 AM, Helbert Rocha <helbert.pho@xxxxxxxxx> wrote:
> Hi,
>
> I got the messages every time that I've try to run on my Mac, someone knows
> how to solve it?
>
>
> Undefined symbols for architecture x86_64:
>
> "__mosquitto_handle_connack", referenced from:
>
> __mosquitto_packet_handle in read_handle.o
>
> "__mosquitto_handle_pingreq", referenced from:
>
> __mosquitto_packet_handle in read_handle.o
>
> "__mosquitto_handle_pingresp", referenced from:
>
> __mosquitto_packet_handle in read_handle.o
>
> "__mosquitto_handle_pubackcomp", referenced from:
>
> __mosquitto_packet_handle in read_handle.o
>
> "__mosquitto_handle_pubrec", referenced from:
>
> __mosquitto_packet_handle in read_handle.o
>
> "__mosquitto_handle_pubrel", referenced from:
>
> __mosquitto_packet_handle in read_handle.o
>
> "__mosquitto_handle_suback", referenced from:
>
> __mosquitto_packet_handle in read_handle.o
>
> "__mosquitto_handle_unsuback", referenced from:
>
> __mosquitto_packet_handle in read_handle.o
>
> "__mosquitto_send_connect", referenced from:
>
> __mosquitto_reconnect in mosquitto.o
>
> "__mosquitto_send_disconnect", referenced from:
>
> _mosquitto_disconnect in mosquitto.o
>
> "__mosquitto_send_subscribe", referenced from:
>
> _mosquitto_subscribe in mosquitto.o
>
> "__mosquitto_send_unsubscribe", referenced from:
>
> _mosquitto_unsubscribe in mosquitto.o
>
> ld: symbol(s) not found for architecture x86_64
>
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
>
> make: *** [Client.app/Contents/MacOS/Client] Error 1
>
> 20:24:56: The process "/usr/bin/make" exited with code 2.
>
> Error while building/deploying project Client (kit: Desktop Qt 5.8.0 clang
> 64bit)
>
> When executing step "Make"
>
>
> --
> Helbert da Rocha
>
> _______________________________________________
> 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


Back to the top