Proxmark3 community

Research, development and trades concerning the powerful Proxmark3 device.

Remember; sharing is caring. Bring something back to the community.


"Learn the tools of the trade the hard way." +Fravia

You are not logged in.

Announcement

Time changes and with it the technology
Proxmark3 @ discord

Users of this forum, please be aware that information stored on this site is not private.

#1 2020-02-20 22:57:59

om03830
Contributor
From: Netherlands
Registered: 2020-02-20
Posts: 2

Compiling error OpenSuse leap 15.1 function UsbPacketReceived

HI,
I am having trouble compiling it under OpenSuse leap 15.1.
Red this wiki first : https://github.com/Proxmark/proxmark3/wiki/openSUSE-Linux
Cloned from : git clone https://github.com/iceman1001/proxmark3

Below is the error I am getting:

appmain.c: In function 'UsbPacketReceived':
appmain.c:622:40: error: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Werror=address-of-packed-member]
  622 |    setSamplingConfig((sample_config *) c->d.asBytes);
      |                                        ^
cc1: all warnings being treated as errors
make[1]: *** [../common/Makefile.common:77: obj/appmain.o] Error 1

If someone could help.
Thx.

Offline

Board footer

Powered by FluxBB