<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[libnfc developers community — [SOLVED] Fail to compile mfcuk]]></title>
	<link rel="self" href="http://www.libnfc.org/community/feed/atom/topic/595/" />
	<updated>2012-05-16T21:32:42Z</updated>
	<generator>PunBB</generator>
	<id>http://www.libnfc.org/community/topic/595/solved-fail-to-compile-mfcuk/</id>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Fail to compile mfcuk]]></title>
			<link rel="alternate" href="http://www.libnfc.org/community/post/3288/#p3288" />
			<content type="html"><![CDATA[<p>Thx! The libnfc-1.5.1 also worked for me, mfcuk operates now...</p>]]></content>
			<author>
				<name><![CDATA[baronsz]]></name>
				<uri>http://www.libnfc.org/community/user/3142/</uri>
			</author>
			<updated>2012-05-16T21:32:42Z</updated>
			<id>http://www.libnfc.org/community/post/3288/#p3288</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Fail to compile mfcuk]]></title>
			<link rel="alternate" href="http://www.libnfc.org/community/post/3282/#p3282" />
			<content type="html"><![CDATA[<p>I build today trunk version of mfcuk with libnfc-1.5.1, it seems to be ok (but I don&#039;t have classic card to check)</p>]]></content>
			<author>
				<name><![CDATA[edo1]]></name>
				<uri>http://www.libnfc.org/community/user/3146/</uri>
			</author>
			<updated>2012-05-16T16:24:35Z</updated>
			<id>http://www.libnfc.org/community/post/3282/#p3282</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Fail to compile mfcuk]]></title>
			<link rel="alternate" href="http://www.libnfc.org/community/post/3280/#p3280" />
			<content type="html"><![CDATA[<p>Hi guys,</p><p>I met the same problem today (undeclared &quot;byte_t&quot;). I&#039;ve just checked out mfcuk and also installed the newest libnfc (1.6.0), when I&#039;ve been faced with the same problem. After this error occurred I noticed, that &quot;byte_t&quot; is missing from libnfc 1.6.0, but is declared in libnfc 1.4.2 therefore I copied the whole &quot;nfc&quot; directory into mfcuk&#039;s &quot;src&quot;. After this I stuck at the same point that lyrd described... :-(</p><p>So, could you publish here (or somewhere on the official site) a version-matrix for libnfc-mfcuk?</p><p>Thanks in advance!</p><p>Aron</p>]]></content>
			<author>
				<name><![CDATA[baronsz]]></name>
				<uri>http://www.libnfc.org/community/user/3142/</uri>
			</author>
			<updated>2012-05-15T16:08:44Z</updated>
			<id>http://www.libnfc.org/community/post/3280/#p3280</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Fail to compile mfcuk]]></title>
			<link rel="alternate" href="http://www.libnfc.org/community/post/3031/#p3031" />
			<content type="html"><![CDATA[<p>I see, that would explain so much.</p><p>Is there an mfcuk version for libnfc 1.5.1 and if so where can i get it.</p><p>if not, which libnfc version should i get for the current mfcuk version?</p><p>Thanks for your reply!</p>]]></content>
			<author>
				<name><![CDATA[lyrd]]></name>
				<uri>http://www.libnfc.org/community/user/2835/</uri>
			</author>
			<updated>2012-02-29T11:37:00Z</updated>
			<id>http://www.libnfc.org/community/post/3031/#p3031</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Fail to compile mfcuk]]></title>
			<link rel="alternate" href="http://www.libnfc.org/community/post/3018/#p3018" />
			<content type="html"><![CDATA[<p>Please use the right libnfc version with the right mfcuk version...</p>]]></content>
			<author>
				<name><![CDATA[rconty]]></name>
				<uri>http://www.libnfc.org/community/user/26/</uri>
			</author>
			<updated>2012-02-27T15:34:43Z</updated>
			<id>http://www.libnfc.org/community/post/3018/#p3018</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Fail to compile mfcuk]]></title>
			<link rel="alternate" href="http://www.libnfc.org/community/post/3006/#p3006" />
			<content type="html"><![CDATA[<p>I have been playing with this for a day now and still no go.</p><p>If I myself include the definitions for byte_t and nfc_device_t i now get this error instead</p><br /><p>make&nbsp; all-recursive<br />make[1]: Entering directory `/home/lyrd/newTry/mfcuk-read-only&#039;<br />Making all in src<br />make[2]: Entering directory `/home/lyrd/newTry/mfcuk-read-only/src&#039;<br />&nbsp; CC&nbsp; &nbsp; &nbsp;mifare.o<br />In file included from mifare.c:31:0:<br />mifare.h:56:18: error: ‘DEVICE_NAME_LENGTH’ undeclared here (not in a function)<br />mifare.c: In function ‘nfc_initiator_mifare_cmd’:<br />mifare.c:98:3: warning: implicit declaration of function ‘nfc_configure’ [-Wimplicit-function-declaration]<br />mifare.c:98:28: error: ‘NDO_EASY_FRAMING’ undeclared (first use in this function)<br />mifare.c:98:28: note: each undeclared identifier is reported only once for each function it appears in<br />mifare.c:99:5: warning: passing argument 1 of ‘nfc_perror’ from incompatible pointer type [enabled by default]<br />/usr/local/include/nfc/nfc.h:102:19: note: expected ‘const struct nfc_device *’ but argument is of type ‘struct nfc_device_t *’<br />mifare.c:103:3: warning: passing argument 1 of ‘nfc_initiator_transceive_bytes’ from incompatible pointer type [enabled by default]<br />/usr/local/include/nfc/nfc.h:87:18: note: expected ‘struct nfc_device *’ but argument is of type ‘struct nfc_device_t *’<br />mifare.c:103:3: warning: passing argument 6 of ‘nfc_initiator_transceive_bytes’ makes integer from pointer without a cast [enabled by default]<br />/usr/local/include/nfc/nfc.h:87:18: note: expected ‘int’ but argument is of type ‘void *’<br />mifare.c:104:28: error: ‘EINVRXFRAM’ undeclared (first use in this function)<br />mifare.c:110:7: warning: passing argument 1 of ‘nfc_perror’ from incompatible pointer type [enabled by default]<br />/usr/local/include/nfc/nfc.h:102:19: note: expected ‘const struct nfc_device *’ but argument is of type ‘struct nfc_device_t *’<br />mifare.c:116:5: warning: passing argument 1 of ‘nfc_perror’ from incompatible pointer type [enabled by default]<br />/usr/local/include/nfc/nfc.h:102:19: note: expected ‘const struct nfc_device *’ but argument is of type ‘struct nfc_device_t *’<br />make[2]: *** [mifare.o] Error 1<br />make[2]: Leaving directory `/home/lyrd/newTry/mfcuk-read-only/src&#039;<br />make[1]: *** [all-recursive] Error 1<br />make[1]: Leaving directory `/home/lyrd/newTry/mfcuk-read-only&#039;<br />make: *** [all] Error 2</p>]]></content>
			<author>
				<name><![CDATA[lyrd]]></name>
				<uri>http://www.libnfc.org/community/user/2835/</uri>
			</author>
			<updated>2012-02-24T00:13:32Z</updated>
			<id>http://www.libnfc.org/community/post/3006/#p3006</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[[SOLVED] Fail to compile mfcuk]]></title>
			<link rel="alternate" href="http://www.libnfc.org/community/post/2997/#p2997" />
			<content type="html"><![CDATA[<p>I am trying to get mfcuk to work and I go through the steps here:</p><p><a href="http://www.nicolascourtois.com/MifareClassicHack.pdf">http://www.nicolascourtois.com/MifareClassicHack.pdf</a></p><br /><p>I have checked that my devices shows up in nfc-list (libnfc 1.5.1).<br />I run in a ubnuntu 11.10 in a virtualbox.</p><p>however when i do the very final step for mfcuk and run make I get this</p><br /><br /><br /><p>lyrd@lyrd-VirtualBox:~/mfcuk/trunk$ make<br />make&nbsp; all-recursive<br />make[1]: Entering directory `/home/lyrd/mfcuk/trunk&#039;<br />Making all in src<br />make[2]: Entering directory `/home/lyrd/mfcuk/trunk/src&#039;<br />&nbsp; CC&nbsp; &nbsp; &nbsp;crapto1.o<br />&nbsp; CC&nbsp; &nbsp; &nbsp;crypto1.o<br />&nbsp; CC&nbsp; &nbsp; &nbsp;mifare.o<br />In file included from mifare.c:31:0:<br />mifare.h:57:3: error: unknown type name ‘byte_t’<br />mifare.h:58:3: error: unknown type name ‘byte_t’<br />mifare.h:62:3: error: unknown type name ‘byte_t’<br />mifare.h:66:3: error: unknown type name ‘byte_t’<br />mifare.h:78:35: error: unknown type name ‘nfc_device_t’<br />mifare.h:85:3: error: unknown type name ‘byte_t’<br />mifare.h:86:3: error: unknown type name ‘byte_t’<br />mifare.h:87:3: error: unknown type name ‘byte_t’<br />mifare.h:88:3: error: unknown type name ‘byte_t’<br />mifare.h:89:3: error: unknown type name ‘byte_t’<br />mifare.h:93:3: error: unknown type name ‘byte_t’<br />mifare.h:97:3: error: unknown type name ‘byte_t’<br />mifare.h:98:3: error: unknown type name ‘byte_t’<br />mifare.h:99:3: error: unknown type name ‘byte_t’<br />mifare.h:114:3: error: unknown type name ‘byte_t’<br />mifare.h:115:3: error: unknown type name ‘byte_t’<br />mifare.h:116:3: error: unknown type name ‘byte_t’<br />mifare.h:117:3: error: unknown type name ‘byte_t’<br />mifare.h:118:3: error: unknown type name ‘byte_t’<br />mifare.h:119:3: error: unknown type name ‘byte_t’<br />mifare.h:120:3: error: unknown type name ‘byte_t’<br />mifare.h:124:3: error: unknown type name ‘byte_t’<br />mifare.c:51:27: error: unknown type name ‘nfc_device_t’<br />make[2]: *** [mifare.o] Error 1<br />make[2]: Leaving directory `/home/lyrd/mfcuk/trunk/src&#039;<br />make[1]: *** [all-recursive] Error 1<br />make[1]: Leaving directory `/home/lyrd/mfcuk/trunk&#039;<br />make: *** [all] Error 2</p><p>Edit: Used the wrong URL</p>]]></content>
			<author>
				<name><![CDATA[lyrd]]></name>
				<uri>http://www.libnfc.org/community/user/2835/</uri>
			</author>
			<updated>2012-02-22T18:49:45Z</updated>
			<id>http://www.libnfc.org/community/post/2997/#p2997</id>
		</entry>
</feed>
