[Insight-users] Compile problem : configuration problem

Rao Jianguo rao . jianguo at hgu . mrc . ac . uk
Mon, 27 Oct 2003 14:28:05 +0000


--------------6F8102F6EBED6EA6D3675D6C
Content-Type: text/plain; charset=gb2312
Content-Transfer-Encoding: 7bit

Hi Bill,

Yes, It's done.  Thank you VERY much!

Cheers,

Jianguo

"William A. Hoffman" wrote:

> On some systems when switching from static to shared, you need
> to remove all the .o files.  Try a make clean, make.
>
> -Bill
>
> At 05:56 AM 10/17/2003, Rao Jianguo wrote:
> >Hi Luis,
> >
> >I make various configurations, install is fine.
> >
> >But when turn the BUILD_SHARED_LIBS on,  I got a lot of error message:
> >
> >---------
> >
> >Building shared library
> >/myDir/Insight/bin/bin/libITKMetaIO.so...
> >Text relocation remains                         referenced
> >    against symbol                  offset      in file
> ><unknown>                           0x13ec      metaImage.o
> ><unknown>                           0x13f0      metaImage.o
> >....
> >---------
> >
> >When I check it, there is no
> >
> >/myDir/Insight/bin/bin/libITKMetaIO.so
> >file
> >
> >but has
> >/myDir/Insight/bin/bin/libITKMetaIO.a
> >file
> >
> >Can you tell me what's wrong ?
> >
> >Thanks,
> >
> >Jianguo
> >
> >



--------------6F8102F6EBED6EA6D3675D6C
Content-Type: text/html; charset=gb2312
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi Bill,
<p>Yes, It's done.&nbsp; Thank you VERY much!
<p>Cheers,
<p>Jianguo
<p>"William A. Hoffman" wrote:
<blockquote TYPE=CITE>On some systems when switching from static to shared,
you need
<br>to remove all the .o files.&nbsp; Try a make clean, make.
<p>-Bill
<p>At 05:56 AM 10/17/2003, Rao Jianguo wrote:
<br>>Hi Luis,
<br>>
<br>>I make various configurations, install is fine.
<br>>
<br>>But when turn the BUILD_SHARED_LIBS on,&nbsp; I got a lot of error
message:
<br>>
<br>>---------
<br>>
<br>>Building shared library
<br>>/myDir/Insight/bin/bin/libITKMetaIO.so...
<br>>Text relocation remains&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
referenced
<br>>&nbsp;&nbsp;&nbsp; against symbol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
offset&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; in file
<br>>&lt;unknown>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0x13ec&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; metaImage.o
<br>>&lt;unknown>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0x13f0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; metaImage.o
<br>>....
<br>>---------
<br>>
<br>>When I check it, there is no
<br>>
<br>>/myDir/Insight/bin/bin/libITKMetaIO.so
<br>>file
<br>>
<br>>but has
<br>>/myDir/Insight/bin/bin/libITKMetaIO.a
<br>>file
<br>>
<br>>Can you tell me what's wrong ?
<br>>
<br>>Thanks,
<br>>
<br>>Jianguo
<br>>
<br>></blockquote>

<pre></pre>
&nbsp;</html>

--------------6F8102F6EBED6EA6D3675D6C--