Problems with installing librfid & opcd_test
jez
jez at gmx.de
Sat May 26 11:53:54 UTC 2007
Hi,
thanks alot for your help Rainer, I now got the test program working!
Though, I directly ran into the next problem now, as I can't get the
librfid-tool working - "file not found".
Would be great if someone could help me again - sorry in case this
problem maybe is too Linux-specific to be posted on a OpenPCD mailing
list.
Here a list of commands I tried plus respective error messages:
After doing the checkout for
svn co http://svn.openpcd.org/trunk/firmware
svn co http://svn.openpcd.org/trunk/host
I entered
./autogen.sh
and got the follwing error message:
./configure: line 19807: syntax error near unexpected token ENCT,'
./configure: line 19807: PKG_CHECK_MODULES(OPENCT, libopenct,'
___
./configure
results in a warning which seems to be less important (after asking
google):
/usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of
AM_PATH_SMPEG
run info '(automake)Extending aclocal'
___
test at prak3:~/openpcd/librfid> make
test at prak3:~/openpcd/librfid/utils> make
both resulted in this error message:
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden.
Schluss. (no targets found, no make control file found)
___
After that, I tried
test at prak3:~/openpcd/librfid/utils> make librfid-tool
which gives me a long list of error messages:
cc librfid-tool.c -o librfid-tool
librfid-tool.c:29:26: librfid/rfid.h: Datei oder Verzeichnis nicht gefunden (file or directory not found)
librfid-tool.c:30:31: librfid/rfid_scan.h: Datei oder Verzeichnis nicht
gefunden (file or directory not found)
librfid-tool.c:31:33: librfid/rfid_reader.h: Datei oder Verzeichnis nicht
gefunden (file or directory not found)
librfid-tool.c:32:33: librfid/rfid_layer2.h: Datei oder Verzeichnis nicht
gefunden (file or directory not found)
librfid-tool.c:33:35: librfid/rfid_protocol.h: Datei oder Verzeichnis nicht
gefunden (file or directory not found)
librfid-tool.c:35:50: librfid/rfid_protocol_mifare_classic.h: Datei oder
Verzeichnis nicht gefunden (file or directory not found)
librfid-tool.c:36:45: librfid/rfid_protocol_mifare_ul.h: Datei oder
Verzeichnis nicht gefunden (file or directory not found)
librfid-tool.c: In function
ifare_ulight_blank':
librfid-tool.c:169: error:
IFARE_UL_PAGE_MAX' undeclared (first use in this
function)
librfid-tool.c:169: error: (Each undeclared identifier is reported only once
librfid-tool.c:169: error: for each function it appears in.)
librfid-tool.c: In function
ifare_ulight_read':
librfid-tool.c:185: error:
IFARE_UL_PAGE_MAX' undeclared (first use in this
function)
librfid-tool.c: At top level:
librfid-tool.c:223: error: FID_PROTOCOL_TCL' undeclared here (not in a
function)
librfid-tool.c:223: error: nonconstant array index in initializer
librfid-tool.c:223: error: (near initialization for roto_names')
librfid-tool.c:224: error: FID_PROTOCOL_MIFARE_UL' undeclared here (not in
a function)
librfid-tool.c:224: error: nonconstant array index in initializer
librfid-tool.c:224: error: (near initialization for roto_names')
librfid-tool.c:225: error: FID_PROTOCOL_MIFARE_CLASSIC' undeclared here
(not in a function)
librfid-tool.c:225: error: nonconstant array index in initializer
librfid-tool.c:225: error: (near initialization for roto_names')
librfid-tool.c:242: error: FID_LAYER2_ISO14443A' undeclared here (not in a
function)
librfid-tool.c:242: error: nonconstant array index in initializer
librfid-tool.c:242: error: (near initialization for 2_names')
librfid-tool.c:243: error: FID_LAYER2_ISO14443B' undeclared here (not in a
function)
librfid-tool.c:243: error: nonconstant array index in initializer
librfid-tool.c:243: error: (near initialization for 2_names')
librfid-tool.c:244: error: FID_LAYER2_ISO15693' undeclared here (not in a
function)
librfid-tool.c:244: error: nonconstant array index in initializer
librfid-tool.c:244: error: (near initialization for 2_names')
librfid-tool.c: In function o_scan':
librfid-tool.c:271: error: FID_OPT_LAYER2_UID' undeclared (first use in
this function)
librfid-tool.c:279: error: FID_OPT_PROTO_SIZE' undeclared (first use in
this function)
librfid-tool.c: In function
ain':
librfid-tool.c:379: warning: assignment makes pointer from integer without a
cast
librfid-tool.c:433: error: FID_PROTOCOL_MIFARE_UL' undeclared (first use in
this function)
librfid-tool.c:434: error: FID_PROTOCOL_MIFARE_CLASSIC' undeclared (first
use in this function)
librfid-tool.c:435: error: FID_LAYER2_ISO14443A' undeclared (first use in
this function)
librfid-tool.c:458: error: FID_PROTOCOL_TCL' undeclared (first use in this
function)
librfid-tool.c:527: error:
IFARE_CL_KEYA_DEFAULT_INFINEON' undeclared
(first use in this function)
librfid-tool.c:532: error: FID_CMD_MIFARE_AUTH1A' undeclared (first use in
this function)
make: *** [librfid-tool] Fehler 1
___
Thanks alot,
Thomas
----- Original Message -----
From: mail at rainerkeller.de (Rainer Keller)
Sent: 21.05.2007, 21:29:34
Subject: Re: Problems with installing librfid & opcd_test
> Hi,
> I assume you have done the checkout already.
>> > mkdir openpcd
>> > cd openpcd
>> > svn co https://svn.gnumonks.org/trunk/librfid/
>> > svn co http://svn.openpcd.org/trunk/firmware
>> > svn co http://svn.openpcd.org/trunk/host
> Please change to the directory with the sources from openpcd and do the
> following.
> cd host
> make opcd_test
> This should build the small test program.
> Then you should be able to start the program in the current directory.
> ./opcd_test
> Rainer
More information about the openpcd-devel
mailing list