[Insight-developers] problem with currently ITK/Current CVS build

Kent Williams norman-k-williams at uiowa.edu
Mon Jul 18 11:13:36 EDT 2005


Did something change with the build system over the weekend? I'm now 
getting a problem I didn't have friday, where the build dies in 
Insight/Utilities/itkjpeg/8:

Building shared library 
/scratch/kent/brains2/iplFreeware/gcc4/DEBUG/Insight/bin/libitkjpeg8.so...
/scratch/kent/brains2/gcc4/DEBUG/src/lib: file not recognized: Is a 
directory
collect2: ld returned 1 exit status
make[8]: *** 
[/scratch/kent/brains2/iplFreeware/gcc4/DEBUG/Insight/bin/libitkjpeg8.so] 
Error 1

I did nothing that changes our build process since friday except to 
update Insight with cvs update -dAP

If I look in the generated Makefile, the command to build the shared 
library has a stray reference to the target library reference at the end 
of the line (reformatted for clarity):

/scratch/kent/brains2/iplFreeware/gcc4/DEBUG/Insight/bin/libitkjpeg8.so: 
$(itkjpeg8_SRC_OBJS) $(itkjpeg8_EXTERNAL_OBJS)  $(itkjpeg8_DEPEND_LIBS)
   @echo "Building shared library 
/scratch/kent/brains2/iplFreeware/gcc4/DEBUG/Insight/bin/libitkjpeg8.so..."
   /opt/cmake-2.0.5/bin/cmake -E remove -f 
/scratch/kent/brains2/iplFreeware/gcc4/DEBUG/Insight/bin/libitkjpeg8.so
   gcc -fPIC     -shared -fPIC -pthread   -shared 
-Wl,-soname,libitkjpeg8.so -o \
   
/scratch/kent/brains2/iplFreeware/gcc4/DEBUG/Insight/bin/libitkjpeg8.so 
$(itkjpeg8_SRC_OBJS) \
   $(itkjpeg8_EXTERNAL_OBJS)  
-L/scratch/kent/brains2/iplFreeware/gcc4/DEBUG/Insight/bin -L. \
   -L/scratch/kent/brains2/gcc4/DEBUG/src/lib 
/scratch/kent/brains2/gcc4/DEBUG/src/lib

I can send my CMakeCache.txt if someone wants to look at it, but I can't 
attach it in e-mail to the mailing list.



More information about the Insight-developers mailing list