iceman1001 / proxmark3

[Deprecated] Iceman Fork, the most totally wicked fork around if you are into proxmark3
http://www.icedev.se/pm3.aspx
GNU General Public License v2.0
465 stars 116 forks source link

Cross Compiling Error Arch Linux - unused-const-variable #145

Closed ptu closed 6 years ago

ptu commented 6 years ago

I run into the following Errors while compiling firmware and bootrom:

../common/usb_cdc.c:264:19: error: 'StrOSDescriptor' defined but not used [-Werror=unused-const-variable=]
 static const char StrOSDescriptor[] = {
                   ^~~~~~~~~~~~~~~
../common/usb_cdc.c:160:19: error: 'OSFeatureDescriptor' defined but not used [-Werror=unused-const-variable=]
 static const char OSFeatureDescriptor[] = {
                   ^~~~~~~~~~~~~~~~~~~

Tried to compile from github, checked out ice_v3.1.0 tag. Using arm-none-eabi-gcc 7.20 on Arch Linux.

Everything runs smooth when compiling from the proxmark3 repo in tag 3.0.1

iceman1001 commented 6 years ago

comment out, they are not in use anymore. Suggest you use latest source instead of tag. Next release will be up in a few weeks.