alleksr / mtools

Automatically exported from code.google.com/p/mtools
0 stars 0 forks source link

Compiling mtools #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. When i make
2.
3.

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

Os debian 2.6.32-trunk 

Please provide any additional information below.
guepardo mtools # ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes           
checking for a thread-safe mkdir -p... /bin/mkdir -p        
checking for gawk... gawk                                   
checking whether make sets $(MAKE)... yes                   
checking whether NLS is requested... yes                    
checking for style of include used by make... GNU           
checking for gcc... gcc                                     
checking whether the C compiler works... yes                
checking for C compiler default output file name... a.out   
checking for suffix of executables...                       
checking whether we are cross compiling... no               
checking for suffix of object files... o                    
checking whether we are using the GNU C compiler... yes     
checking whether gcc accepts -g... yes                      
checking for gcc option to accept ISO C89... none needed    
checking dependency style of gcc... gcc3                    
checking for intltool >= 0.41.0... 0.41.0 found             
checking for intltool-update... /usr/bin/intltool-update    
checking for intltool-merge... /usr/bin/intltool-merge      
checking for intltool-extract... /usr/bin/intltool-extract  
checking for xgettext... /usr/bin/xgettext                  
checking for msgmerge... /usr/bin/msgmerge                  
checking for msgfmt... /usr/bin/msgfmt                      
checking for gmsgfmt... /usr/bin/msgfmt                     
checking for perl... /usr/bin/perl                          
checking for perl >= 5.8.1... 5.10.1                        
checking for XML::Parser... ok                              
checking how to run the C preprocessor... gcc -E            
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E                           
checking for ANSI C header files... yes                      
checking for sys/types.h... yes                              
checking for sys/stat.h... yes                               
checking for stdlib.h... yes                                 
checking for string.h... yes                                 
checking for memory.h... yes                                 
checking for strings.h... yes                                
checking for inttypes.h... yes                               
checking for stdint.h... yes                                 
checking for unistd.h... yes                                 
checking locale.h usability... yes                           
checking locale.h presence... yes                            
checking for locale.h... yes                                 
checking for LC_MESSAGES... yes                              
checking libintl.h usability... yes                          
checking libintl.h presence... yes                           
checking for libintl.h... yes                                
checking for ngettext in libc... yes                         
checking for dgettext in libc... yes                         
checking for bind_textdomain_codeset... yes                  
checking for msgfmt... (cached) /usr/bin/msgfmt              
checking for dcgettext... yes                                
checking if msgfmt accepts -c... yes                         
checking for gmsgfmt... (cached) /usr/bin/msgfmt             
checking for xgettext... (cached) /usr/bin/xgettext          
checking for g++... g++                                      
checking whether we are using the GNU C++ compiler... yes    
checking whether g++ accepts -g... yes                       
checking dependency style of g++... gcc3                     
checking for gcc... (cached) gcc                             
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes                 
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3                
checking for nfc_connect in -lnfc... yes                         
checking for mifare_classic_connect in -lfreefare... yes         
checking for pkg-config... /usr/bin/pkg-config                   
checking pkg-config is at least version 0.9.0... yes             
checking for DEPS... yes                                         
checking for stdlib.h... (cached) yes                            
checking for stdbool.h that conforms to C99... yes               
checking for _Bool... yes                                        
configure: creating ./config.status                              
config.status: creating po/Makefile.in                           
config.status: creating Makefile                                 
config.status: creating src/Makefile                             
config.status: creating config.h                                 
config.status: config.h is unchanged                             
config.status: executing depfiles commands                       
config.status: executing default-1 commands                      
config.status: executing po/stamp-it commands                    
guepardo mtools # make                                           
make  all-recursive                                              
make[1]: se ingresa al directorio `/usr/src/mtools-read-only/mtools'
Making all in src                                                   
make[2]: se ingresa al directorio `/usr/src/mtools-read-only/mtools/src'
g++ -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/gtkmm-2.4
-I/usr/lib/gtkmm-2.4/include -I/usr/include/giomm-2.4
-I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4
-I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0
-I/usr/include/gtk-unix-print-2.0 -I/usr/include/atkmm-1.6
-I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include
-I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include
-I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb
-I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 
 -I/usr/local/include -I../src -I../src/gtk -I../src/gtk/dialogs -Wall -g
-O0 -DMTOOLS_LOCALEDIR=\"/usr/local/share/locale\"   -g -MT mtools.o -MD
-MP -MF .deps/mtools.Tpo -c -o mtools.o mtools.cpp                        

mv -f .deps/mtools.Tpo .deps/mtools.Po                                    

g++ -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/gtkmm-2.4
-I/usr/lib/gtkmm-2.4/include -I/usr/include/giomm-2.4
-I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4
-I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0
-I/usr/include/gtk-unix-print-2.0 -I/usr/include/atkmm-1.6
-I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include
-I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include
-I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb
-I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 
 -I/usr/local/include -I../src -I../src/gtk -I../src/gtk/dialogs -Wall -g
-O0 -DMTOOLS_LOCALEDIR=\"/usr/local/share/locale\"   -g -MT Application.o
-MD -MP -MF .deps/Application.Tpo -c -o Application.o `test -f
'gtk/Application.cpp' || echo './'`gtk/Application.cpp                    

mv -f .deps/Application.Tpo .deps/Application.Po                          

g++ -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/gtkmm-2.4
-I/usr/lib/gtkmm-2.4/include -I/usr/include/giomm-2.4
-I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4
-I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0
-I/usr/include/gtk-unix-print-2.0 -I/usr/include/atkmm-1.6
-I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include
-I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include
-I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb
-I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 
 -I/usr/local/include -I../src -I../src/gtk -I../src/gtk/dialogs -Wall -g
-O0 -DMTOOLS_LOCALEDIR=\"/usr/local/share/locale\"   -g -MT Mtools.o -MD
-MP -MF .deps/Mtools.Tpo -c -o Mtools.o `test -f 'gtk/Mtools.cpp' || echo
'./'`gtk/Mtools.cpp    
mv -f .deps/Mtools.Tpo .deps/Mtools.Po                                    

g++ -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/gtkmm-2.4
-I/usr/lib/gtkmm-2.4/include -I/usr/include/giomm-2.4
-I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4
-I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0
-I/usr/include/gtk-unix-print-2.0 -I/usr/include/atkmm-1.6
-I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include
-I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include
-I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb
-I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 
 -I/usr/local/include -I../src -I../src/gtk -I../src/gtk/dialogs -Wall -g
-O0 -DMTOOLS_LOCALEDIR=\"/usr/local/share/locale\"   -g -MT Callbacks.o -MD
-MP -MF .deps/Callbacks.Tpo -c -o Callbacks.o `test -f 'gtk/Callbacks.cpp'
|| echo './'`gtk/Callbacks.cpp                                            

mv -f .deps/Callbacks.Tpo .deps/Callbacks.Po                              

g++ -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/gtkmm-2.4
-I/usr/lib/gtkmm-2.4/include -I/usr/include/giomm-2.4
-I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4
-I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0
-I/usr/include/gtk-unix-print-2.0 -I/usr/include/atkmm-1.6
-I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include
-I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include
-I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb
-I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 
 -I/usr/local/include -I../src -I../src/gtk -I../src/gtk/dialogs -Wall -g
-O0 -DMTOOLS_LOCALEDIR=\"/usr/local/share/locale\"   -g -MT
TrailerAccessConditions.o -MD -MP -MF .deps/TrailerAccessConditions.Tpo -c
-o TrailerAccessConditions.o `test -f 'gtk/TrailerAccessConditions.cpp' ||
echo './'`gtk/TrailerAccessConditions.cpp                                 

mv -f .deps/TrailerAccessConditions.Tpo .deps/TrailerAccessConditions.Po
g++ -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/gtkmm-2.4
-I/usr/lib/gtkmm-2.4/include -I/usr/include/giomm-2.4
-I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4
-I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0
-I/usr/include/gtk-unix-print-2.0 -I/usr/include/atkmm-1.6
-I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include
-I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include
-I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb
-I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 
 -I/usr/local/include -I../src -I../src/gtk -I../src/gtk/dialogs -Wall -g
-O0 -DMTOOLS_LOCALEDIR=\"/usr/local/share/locale\"   -g -MT
DataAccessConditions.o -MD -MP -MF .deps/DataAccessConditions.Tpo -c -o
DataAccessConditions.o `test -f 'gtk/DataAccessConditions.cpp' || echo
'./'`gtk/DataAccessConditions.cpp
mv -f .deps/DataAccessConditions.Tpo .deps/DataAccessConditions.Po
g++ -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/gtkmm-2.4
-I/usr/lib/gtkmm-2.4/include -I/usr/include/giomm-2.4
-I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4
-I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0
-I/usr/include/gtk-unix-print-2.0 -I/usr/include/atkmm-1.6
-I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include
-I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include
-I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb
-I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 
 -I/usr/local/include -I../src -I../src/gtk -I../src/gtk/dialogs -Wall -g
-O0 -DMTOOLS_LOCALEDIR=\"/usr/local/share/locale\"   -g -MT ComboBoxText.o
-MD -MP -MF .deps/ComboBoxText.Tpo -c -o ComboBoxText.o `test -f
'gtk/ComboBoxText.cpp' || echo './'`gtk/ComboBoxText.cpp
mv -f .deps/ComboBoxText.Tpo .deps/ComboBoxText.Po
g++ -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/gtkmm-2.4
-I/usr/lib/gtkmm-2.4/include -I/usr/include/giomm-2.4
-I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4
-I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0
-I/usr/include/gtk-unix-print-2.0 -I/usr/include/atkmm-1.6
-I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include
-I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include
-I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb
-I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 
 -I/usr/local/include -I../src -I../src/gtk -I../src/gtk/dialogs -Wall -g
-O0 -DMTOOLS_LOCALEDIR=\"/usr/local/share/locale\"   -g -MT Nfc.o -MD -MP
-MF .deps/Nfc.Tpo -c -o Nfc.o Nfc.cpp
Nfc.cpp: In member function ‘std::string Nfc::getTagUid()’:
Nfc.cpp:87: error: ‘mifare_classic_get_uid’ was not declared in this scope
Nfc.cpp:91: error: ‘mifare_ultralight_get_uid’ was not declared in this 
scope
make[2]: *** [Nfc.o] Error 1
make[2]: se sale del directorio `/usr/src/mtools-read-only/mtools/src'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/usr/src/mtools-read-only/mtools'
make: *** [all] Error 2
guepardo mtools #

Original issue reported on code.google.com by foro.d...@gmail.com on 1 Apr 2010 at 4:50

GoogleCodeExporter commented 8 years ago
I too have the same problem

the two functions are deprecated in libfreefare. Perhaps we must return to a 
previous version.

Original comment by zamby....@gmail.com on 29 Jul 2010 at 11:03