The mitab-1.4.0.zip and mitab-1.4.0.tar.gz have a few small differences, one of them is the cpl/cpl_config.h file.
You are likely compiling with the .zip version of the file which is intended for use on Windows. You should copy cpl/cpl_config.h.in -> cpl_config.h and you'll have the right definitions for Linux. Daniel cool_debasish wrote: > Hi , > > When I try to compile the latest source Mitab-1.4.0 , getting the > following error > > c++ -o tab2tab tab2tab.o mitab.a ../ogr/ogr.a ../cpl/cpl.a -ldl -lm > ../cpl/cpl.a(cpl_error.o)(.text+0x90): In function `CPLErrorV': > /home/wiprosa/mitab-1.4.0/cpl/cpl_error.cpp:197: undefined reference > to `_vsnprintf' > ../cpl/cpl.a(cpl_error.o)(.text+0x2d3): In function `CPLDebug': > /home/wiprosa/mitab-1.4.0/cpl/cpl_error.cpp:313: undefined reference > to `_vsnprintf' > ../cpl/cpl.a(cpl_string.o)(.text+0xb2b): In function `CPLSPrintf': > /home/wiprosa/mitab-1.4.0/cpl/cpl_string.cpp:795: undefined reference > to `_vsnprintf' > ../cpl/cpl.a(cpl_string.o)(.text+0xbd7): In function `CSLAppendPrintf': > /home/wiprosa/mitab-1.4.0/cpl/cpl_string.cpp:823: undefined reference > to `_vsnprintf' > collect2: ld returned 1 exit status > gmake[1]: *** [tab2tab] Error 1 > > > Any help is appreciated. > > thanks > -Debasish > gmake[1]: Leaving directory `/home/wiprosa/mitab-1.4.0/mitab' > gmake: *** [all] Error 2 > > > > > > > > > Yahoo! Groups Links > > > > > > > -- ------------------------------------------------------------ Daniel Morissette [EMAIL PROTECTED] DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/mitab/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
