Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make error #4

Closed
GoogleCodeExporter opened this issue Mar 14, 2015 · 4 comments
Closed

Make error #4

GoogleCodeExporter opened this issue Mar 14, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. make

What version of the product are you using? On what operating system?

Distributor ID: Ubuntu
Description:    Ubuntu 12.10
Release:        12.10
Codename:       quantal

libnfc-1.7.0-rc7

Please provide any additional information below.

# make
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /tools/mfoc-0.10.5/missing 
--run autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: ingresso nella directory "/tools/mfoc-0.10.5"
Making all in src
make[2]: ingresso nella directory "/tools/mfoc-0.10.5/src"
  CC     mfoc.o
  CC     mifare.o
  CC     nfc-utils.o
nfc-utils.c: In function âprint_nfc_targetâ:
nfc-utils.c:121:3: error: incompatible type for argument 2 of âstr_nfc_targetâ
In file included from nfc-utils.c:35:0:
/usr/local/include/nfc/nfc.h:146:18: note: expected âconst struct nfc_target 
*â but argument is of type ânfc_targetâ
make[2]: *** [nfc-utils.o] Errore 1
make[2]: uscita dalla directory "/tools/mfoc-0.10.5/src"
make[1]: *** [all-recursive] Errore 1
make[1]: uscita dalla directory "/tools/mfoc-0.10.5"
make: *** [all] Errore 2

Original issue reported on code.google.com by [email protected] on 13 May 2013 at 1:03

@GoogleCodeExporter
Copy link
Author

I have the same.

root@bt:~/mfoc-0.10.5# make
make  all-recursive
make[1]: Entering directory `/root/mfoc-0.10.5'
Making all in src
make[2]: Entering directory `/root/mfoc-0.10.5/src'
  CC     nfc-utils.o
nfc-utils.c: In function ‘print_nfc_target’:
nfc-utils.c:121: error: incompatible type for argument 2 of ‘str_nfc_target’
/usr/local/include/nfc/nfc.h:146: note: expected ‘const struct nfc_target 
*’ but argument is of type ‘nfc_target’
make[2]: *** [nfc-utils.o] Error 1
make[2]: Leaving directory `/root/mfoc-0.10.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mfoc-0.10.5'
make: *** [all] Error 2


Using Backtrack 5 R3, with libnfc-1.7.0-rc7. 

Original comment by [email protected] on 3 Jun 2013 at 11:46

@GoogleCodeExporter
Copy link
Author

Almost the same error when trying 0.10.4. 

root@bt:/mfoc-0.10.4# make
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /mfoc-0.10.4/missing --run 
autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory `/mfoc-0.10.4'
Making all in src
make[2]: Entering directory `/mfoc-0.10.4/src'
  CC     crapto1.o
In file included from crapto1.c:20:
crapto1.h: In function ‘parity’:
crapto1.h:65: warning: implicit declaration of function ‘asm’
crapto1.h:71: error: expected ‘)’ before ‘:’ token
make[2]: *** [crapto1.o] Error 1
make[2]: Leaving directory `/mfoc-0.10.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mfoc-0.10.4'
make: *** [all] Error 2

Original comment by [email protected] on 3 Jun 2013 at 11:52

@GoogleCodeExporter
Copy link
Author

This is fixed using 0.10.6 against libnfc 1.7.0-RC7

Original comment by [email protected] on 6 Jun 2013 at 2:40

  • Changed state: Fixed
  • Added labels: OpSys-All

@GoogleCodeExporter
Copy link
Author

Thank you for the quick fix romu

Original comment by [email protected] on 7 Jun 2013 at 8:53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant