<!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> ls -la<br>
total 2032<br>
drwxr-xr-x 9 jworkman jworkman 4096 Feb 28 12:54 .<br>
drwxr-xr-x 11 jworkman jworkman 4096 Jan 24 11:29 ..<br>
-rw-rw-r-- 1 jworkman jworkman 1164722 Feb 28 12:53 libkdu.a<br>
-rwxrwxr-x 1 jworkman jworkman 813887 Feb 28 12:53 libkdu_v60R.so<br>
drwxr-xr-x 2 jworkman jworkman 4096 Feb 21 15:38 Linux-x86-32-gcc<br>
drwxr-xr-x 2 jworkman jworkman 4096 Feb 28 12:54 Linux-x86-64-gcc<br>
drwxr-xr-x 2 jworkman jworkman 4096 Aug 31 02:40 Mac-PPC-gcc<br>
drwxr-xr-x 2 jworkman jworkman 4096 Aug 31 02:40 Mac-x86-32-gcc<br>
drwxr-xr-x 2 jworkman jworkman 4096 Aug 31 02:40 Mac-x86-64-gcc<br>
drwxr-xr-x 2 jworkman jworkman 4096 Aug 31 02:40 Solaris-gcc<br>
drwxr-xr-x 2 jworkman jworkman 4096 Aug 31 02:40 Solaris-sunpro<br>
~/project/kakadu-6.0/lib> nm libkdu.a | grep add_queue<br>
U
_ZN17kdu_thread_entity9add_queueEP10kdu_workerP16kdu_thread_queuePKcx<br>
U
_ZN17kdu_thread_entity9add_queueEP10kdu_workerP16kdu_thread_queuePKcx<br>
0000000000000ca0 T
_ZN17kdu_thread_entity9add_queueEP10kdu_workerP16kdu_thread_queuePKcx<br>
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>> After kakadu is built and libraries are in the kakadu-6.0/lib
directory, cd<br>
> to gdal-1.5.0, ran configure:<br>
> configure --with-ogdi=no
--with-kakadu=/home/mw/project/kakadu-6.0<br>
> --prefix=/home/jworkman/project/gdal --with-libtiff=internal<br>
> Running make results in over 2000 lines of output that ends with
the<br>
> following:<br>
> libtool: link: g++ gdalinfo.o -o .libs/gdalinfo<br>
> /home/jworkman/project/gdal-1.5.0/.libs/libgdal.so
-L/usr/local/lib<br>
> -L/usr/lib -L/home/jworkman/project/kakadu-6.0/lib
-L/usr/kerberos/lib64<br>
> /usr/local/lib/libgeos_c.so /usr/local/lib/libgeos.so -lsqlite3<br>
> /usr/lib64/libexpat.so -ljpeg -lpng -lrt -lkdu -lcurl -ldl
-lgssapi_krb5<br>
> -lkrb5 -lk5crypto -lkrb5support -lcom_err -lresolv
/usr/lib64/libidn.so<br>
> -lssl -lcrypto -lz -Wl,-rpath
-Wl,/home/jworkman/project/gdal/lib<br>
> -Wl,-rpath -Wl,/usr/lib64<br>
...<br>
> /home/jworkman/project/gdal-1.5.0/.libs/libgdal.so: undefined
reference<br>
> to `kdu_thread_entity::add_queue(kdu_worker*,
kdu_thread_queue*, char<br>
> const*, long long)'<br>
> /home/jworkman/project/gdal-1.5.0/.libs/libgdal.so: undefined
reference<br>
> to `kdu_codestream::create(kdu_compressed_source*,
kdu_thread_env*)'<br>
> collect2: ld returned 1 exit status<br>
> make[1]: *** [gdalinfo] Error 1<br>
> make[1]: Leaving directory
`/home/jworkman/project/gdal-1.5.0/apps'<br>
> make: *** [apps-target] Error 2</tt><br>
<br>
Mike,<br>
<br>
Where is libkdu.a? Is it in /home/jworkman/project/kakadu-6.0/lib or<br>
in /home/jworkman/project/kakadu-6.0/lib/Linux-x86-64-gcc? 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>
U <br>
_ZN17kdu_thread_entity9add_queueEP10kdu_workerP16kdu_thread_queuePKcx<br>
U <br>
_ZN17kdu_thread_entity9add_queueEP10kdu_workerP16kdu_thread_queuePKcx<br>
0000000000001190 T <br>
_ZN17kdu_thread_entity9add_queueEP10kdu_workerP16kdu_thread_queuePKcx<br>
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. 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 | 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 | President OSGeo,
<a class="moz-txt-link-freetext" href="http://osgeo.org">http://osgeo.org</a><br>
</body>
</html>