<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:504128412;
        mso-list-type:hybrid;
        mso-list-template-ids:974659894 134807575 134807577 134807579 134807567 134807577 134807579 134807567 134807577 134807579;}
@list l0:level1
        {mso-level-number-format:alpha-lower;
        mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1027" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi,<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I am having problems installing GDAL 1.8.1 using the Open Design Alliance Teigha v3 software. We run Red Hat EL6.1 64bit which used gcc 4.4. The Teigha distribution contains prebuilt libraries for this compiler, so no source code.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>The servers we are upgrading from were Red Hat EL4.8 32bit running GDAL 1.4.5 and ODA 2.5 (pre Teigha branding and changes). This works fine.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I am unsure if this is still supported and did notice the extra dxf and dwg directories under ogrsf_frmts, but am unsure whether they are meant to replace this or use different technologies. I don&#8217;t see them mentioned in the configure help.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>So far I have:<o:p></o:p></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='mso-list:Ignore'>a)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>Downloaded the dxfdwg directory and modified GNUMakefile, ogr_dwg.h, OdFileBuf.cpp and OdFileBuf.h to reflect changes in ODA function names and allow it to build.<o:p></o:p></p><p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='mso-list:Ignore'>b)<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>Modified GDALmake.opt.in to use new ODA library naming (and new libraries).<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>My problem is at the end of the build when the GDAL binaries are being built. I end up with undefined references and am unsure what libraries need to be included, ODA or otherwise, or even if I just need extra changes to GDALmake.opt.in.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I am hoping someone else has been down this road and knows what I am missing. Any help is greatly appreciated and thanks in advance to anyone who can solve my problem.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Regards,<o:p></o:p></p><p class=MsoNormal>Darren<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>The undefined references:<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>echo 'CONFIG_VERSION=&quot;'`cat ../VERSION`'&quot;' &gt;&gt; gdal-config<o:p></o:p></p><p class=MsoNormal>echo 'CONFIG_OGR_ENABLED=yes' &gt;&gt; gdal-config<o:p></o:p></p><p class=MsoNormal>echo 'CONFIG_FORMATS=&quot;gxf gtiff hfa aigrid aaigrid ceos ceos2 iso8211 xpm sdts raw dted mem jdem envisat elas fit vrt usgsdem l1b nitf bmp pcidsk airsar rs2 ilwis rmf leveller sgi srtmhgt idrisi gsg ingr ers jaxapalsar dimap gff cosar pds adrg coasp tsx terragen blx msgn til r northwood saga xyz hf2 kmlsuperoverlay ozi wcs wms grib bsb ecw jpeg2000 gif jpeg png pcraster&nbsp; rik postgisraster&quot;' &gt;&gt; gdal-config<o:p></o:p></p><p class=MsoNormal>cat gdal-config.in &gt;&gt; gdal-config<o:p></o:p></p><p class=MsoNormal>chmod a+x gdal-config<o:p></o:p></p><p class=MsoNormal>/bin/sh gdal-1.8.1/libtool --mode=link&nbsp;&nbsp;&nbsp; g++&nbsp; gdalinfo.lo&nbsp; gdal-1.8.1/libgdal.la -o gdalinfo<o:p></o:p></p><p class=MsoNormal>libtool: link: g++ .libs/gdalinfo.o -o .libs/gdalinfo&nbsp; gdal-1.8.1/.libs/libgdal.so <o:p></o:p></p><p class=MsoNormal>gdal-1.8.1/.libs/libgdal.so: undefined reference to `OdGeCachingCurve3d::originalCurve() const'<o:p></o:p></p><p class=MsoNormal>gdal-1.8.1/.libs/libgdal.so: undefined reference to `OdGeTess2::OptimizedHolder::~OptimizedHolder()'<o:p></o:p></p><p class=MsoNormal>gdal-1.8.1/.libs/libgdal.so: undefined reference to `OdGeTess2::Contour::breakToConvex(unsigned int, double)'<o:p></o:p></p><p class=MsoNormal>gdal-1.8.1/.libs/libgdal.so: undefined reference to `OdGeOffsetCurve3d::curve() const'<o:p></o:p></p><p class=MsoNormal>gdal-1.8.1/.libs/libgdal.so: undefined reference to `OdGeRay2d::OdGeRay2d(OdGePoint2d const&amp;, OdGeVector2d const&amp;)'<o:p></o:p></p><p class=MsoNormal>gdal-1.8.1/.libs/libgdal.so: undefined reference to `OdGeTess2::Contour::create(void const*, bool, OdGeTess2::MemoryHolder&amp;)'<o:p></o:p></p><p class=MsoNormal>gdal-1.8.1/.libs/libgdal.so: undefined reference to `OdGeLengthScaledCurve3d::OdGeLengthScaledCurve3d(OdGeCurve3d const*, double)'<o:p></o:p></p><p class=MsoNormal>gdal-1.8.1/.libs/libgdal.so: undefined reference to `OdGeTess2::Contour::addVertex(int, unsigned int)'<o:p></o:p></p><p class=MsoNormal>gdal-1.8.1/.libs/libgdal.so: undefined reference to `OdGeQuaternion::kOrigin'<o:p></o:p></p><p class=MsoNormal>gdal-1.8.1/.libs/libgdal.so: undefined reference to `OdGeTess2::OptimizedHolder::OptimizedHolder(unsigned int, unsigned int)'<o:p></o:p></p><p class=MsoNormal>gdal-1.8.1/.libs/libgdal.so: undefined reference to `OdGeCompositeCurve3d::getCurveList(OdArray&lt;OdSharedPtr&lt;OdGeCurve3d&gt;, OdObjectsAllocator&lt;OdSharedPtr&lt;OdGeCurve3d&gt; &gt; &gt;&amp;) const'<o:p></o:p></p><p class=MsoNormal>gdal-1.8.1/.libs/libgdal.so: undefined reference to `OdGeOffsetCurve3d::OdGeOffsetCurve3d(OdGeCurve3d const&amp;, OdGeVector3d const&amp;, double)'<o:p></o:p></p><p class=MsoNormal>gdal-1.8.1/.libs/libgdal.so: undefined reference to `OdGeSphere::radius() const'<o:p></o:p></p><p class=MsoNormal>gdal-1.8.1/.libs/libgdal.so: undefined reference to `OdGeCompositeCurve3d::globalToLocalParam(double, int&amp;) const'<o:p></o:p></p><p class=MsoNormal>gdal-1.8.1/.libs/libgdal.so: undefined reference to `OdGeSphere::center() const'<o:p></o:p></p><p class=MsoNormal>gdal-1.8.1/.libs/libgdal.so: undefined reference to `OdGeCachingCurve3d::OdGeCachingCurve3d(OdGeCurve3d const*, double)'<o:p></o:p></p><p class=MsoNormal>gdal-1.8.1/.libs/libgdal.so: undefined reference to `OdGeCompositeCurve3d::OdGeCompositeCurve3d(OdArray&lt;OdSharedPtr&lt;OdGeCurve3d&gt;, OdObjectsAllocator&lt;OdSharedPtr&lt;OdGeCurve3d&gt; &gt; &gt; const&amp;)'<o:p></o:p></p><p class=MsoNormal>collect2: ld returned 1 exit status<o:p></o:p></p><p class=MsoNormal>make[1]: *** [gdalinfo] Error 1<o:p></o:p></p></div></body></html>