<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#333399">
Frank<br>
<br>
Formerly from <a class="moz-txt-link-abbreviated" href="mailto:sfz5@satx.rr.com">sfz5@satx.rr.com</a>, switching to a different email. Easier
for me to read and format.<br>
<br>
Here are answers to questions you asked:<br>
<blockquote><tt>~/project/kakadu-6.0/lib&gt; ls -la<br>
total 2032<br>
drwxr-xr-x&nbsp; 9 jworkman jworkman&nbsp;&nbsp;&nbsp; 4096 Feb 28 12:54 .<br>
drwxr-xr-x 11 jworkman jworkman&nbsp;&nbsp;&nbsp; 4096 Jan 24 11:29 ..<br>
-rw-rw-r--&nbsp; 1 jworkman jworkman 1164722 Feb 28 12:53 libkdu.a<br>
-rwxrwxr-x&nbsp; 1 jworkman jworkman&nbsp; 813887 Feb 28 12:53 libkdu_v60R.so<br>
drwxr-xr-x&nbsp; 2 jworkman jworkman&nbsp;&nbsp;&nbsp; 4096 Feb 21 15:38 Linux-x86-32-gcc<br>
drwxr-xr-x&nbsp; 2 jworkman jworkman&nbsp;&nbsp;&nbsp; 4096 Feb 28 12:54 Linux-x86-64-gcc<br>
drwxr-xr-x&nbsp; 2 jworkman jworkman&nbsp;&nbsp;&nbsp; 4096 Aug 31 02:40 Mac-PPC-gcc<br>
drwxr-xr-x&nbsp; 2 jworkman jworkman&nbsp;&nbsp;&nbsp; 4096 Aug 31 02:40 Mac-x86-32-gcc<br>
drwxr-xr-x&nbsp; 2 jworkman jworkman&nbsp;&nbsp;&nbsp; 4096 Aug 31 02:40 Mac-x86-64-gcc<br>
drwxr-xr-x&nbsp; 2 jworkman jworkman&nbsp;&nbsp;&nbsp; 4096 Aug 31 02:40 Solaris-gcc<br>
drwxr-xr-x&nbsp; 2 jworkman jworkman&nbsp;&nbsp;&nbsp; 4096 Aug 31 02:40 Solaris-sunpro<br>
~/project/kakadu-6.0/lib&gt; nm libkdu.a | grep add_queue<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; U
_ZN17kdu_thread_entity9add_queueEP10kdu_workerP16kdu_thread_queuePKcx<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; U
_ZN17kdu_thread_entity9add_queueEP10kdu_workerP16kdu_thread_queuePKcx<br>
0000000000000ca0 T
_ZN17kdu_thread_entity9add_queueEP10kdu_workerP16kdu_thread_queuePKcx<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; U
_ZN17kdu_thread_entity9add_queueEP10kdu_workerP16kdu_thread_queuePKcx<br>
  </tt></blockquote>
That looks pretty much like what you sent me. <br>
<br>
I do not have admin privileges where I am working, so my kakadu build
is under my home directory. Any other suggestions?<br>
<br>
Thanks for the reply.<br>
<br>
Mike<br>
<br>
Original Message:<br>
-----------------<br>
From: Frank Warmerdam <a class="moz-txt-link-abbreviated" href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a><br>
Date: Fri, 29 Feb 2008 11:09:32 -0500<br>
To: <a class="moz-txt-link-abbreviated" href="mailto:sfz5@satx.rr.com">sfz5@satx.rr.com</a>, <a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
Subject: Re: [gdal-dev] Problems compiling w jp2kak<br>
<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:sfz5@satx.rr.com">sfz5@satx.rr.com</a> wrote:<br>
<tt>&gt; After kakadu is built and libraries are in the kakadu-6.0/lib
directory, cd<br>
&gt; to gdal-1.5.0, ran configure:<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; configure --with-ogdi=no
--with-kakadu=/home/mw/project/kakadu-6.0<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; --prefix=/home/jworkman/project/gdal --with-libtiff=internal<br>
&gt; Running make results in over 2000 lines of output that ends with
the<br>
&gt; following:<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; libtool: link: g++ gdalinfo.o -o .libs/gdalinfo<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; /home/jworkman/project/gdal-1.5.0/.libs/libgdal.so
-L/usr/local/lib<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; -L/usr/lib -L/home/jworkman/project/kakadu-6.0/lib
-L/usr/kerberos/lib64<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; /usr/local/lib/libgeos_c.so /usr/local/lib/libgeos.so -lsqlite3<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; /usr/lib64/libexpat.so -ljpeg -lpng -lrt -lkdu -lcurl -ldl
-lgssapi_krb5<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; -lkrb5 -lk5crypto -lkrb5support -lcom_err -lresolv
/usr/lib64/libidn.so<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; -lssl -lcrypto -lz -Wl,-rpath
-Wl,/home/jworkman/project/gdal/lib<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; -Wl,-rpath -Wl,/usr/lib64<br>
...<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; /home/jworkman/project/gdal-1.5.0/.libs/libgdal.so: undefined
reference<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; to `kdu_thread_entity::add_queue(kdu_worker*,
kdu_thread_queue*, char<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; const*, long long)'<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; /home/jworkman/project/gdal-1.5.0/.libs/libgdal.so: undefined
reference<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; to `kdu_codestream::create(kdu_compressed_source*,
kdu_thread_env*)'<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; collect2: ld returned 1 exit status<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; make[1]: *** [gdalinfo] Error 1<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; make[1]: Leaving directory
`/home/jworkman/project/gdal-1.5.0/apps'<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; make: *** [apps-target] Error 2</tt><br>
<br>
Mike,<br>
<br>
Where is libkdu.a?&nbsp; Is it in /home/jworkman/project/kakadu-6.0/lib or<br>
in /home/jworkman/project/kakadu-6.0/lib/Linux-x86-64-gcc?&nbsp; I don't see<br>
any complaints about not finding libkdu.a but stuff isn't found that I
would<br>
expect to be found.<br>
<br>
I see that my local build is only working because I also installed
kakadu<br>
into /usr/local/lib.<br>
<br>
BTW, what do you get when you do:<br>
warmerda@gdal64[11]% nm libkdu.a | grep add_queue<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; U <br>
_ZN17kdu_thread_entity9add_queueEP10kdu_workerP16kdu_thread_queuePKcx<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; U <br>
_ZN17kdu_thread_entity9add_queueEP10kdu_workerP16kdu_thread_queuePKcx<br>
0000000000001190 T <br>
_ZN17kdu_thread_entity9add_queueEP10kdu_workerP16kdu_thread_queuePKcx<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; U <br>
_ZN17kdu_thread_entity9add_queueEP10kdu_workerP16kdu_thread_queuePKcx<br>
<br>
There needs to be at least one line reported with the " T " indicating<br>
a definition of this method. If not, perhaps your build of Kakadu is<br>
flawed in some way.<br>
<br>
I'm sorry for the sorry state of kakadu building. It seems to still be<br>
hairy.&nbsp; Please feel free to update the trac wiki when you resolve the<br>
issue.<br>
<br>
Best regards,<br>
-- <br>
---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up&nbsp;&nbsp; | Frank Warmerdam,
<a class="moz-txt-link-abbreviated" href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a class="moz-txt-link-freetext" href="http://pobox.com/~warmerdam">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush&nbsp;&nbsp;&nbsp; | President OSGeo,
<a class="moz-txt-link-freetext" href="http://osgeo.org">http://osgeo.org</a><br>
</body>
</html>