trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] tdegraphics build failure 2 : libkscan.so (linker error?)

From: Darrell Anderson <humanreadable@...>
Date: Tue, 6 Mar 2012 19:33:42 -0800 (PST)
> > Is this a new gcc issue? I have gcc 4.6.2-7... How
> would I check?
> 
>   I cannot read cmake very well, but it looks like it
> gets to about line 584 in
> libkscan/CMakeFiles/kscan-shared.dir/build.make:
> 
> 
>         @$(CMAKE_COMMAND) -E
> cmake_echo_color --switch=$(COLOR) --red --bold
> "Linking CXX shared library libkscan.so"
>         cd /build/src/build/libkscan
> && $(CMAKE_COMMAND) -E cmake_link_script
> CMakeFiles/kscan-shared.dir/link.txt --verbose=$(VERBOSE)
>         cd /build/src/build/libkscan
> && $(CMAKE_COMMAND) -E
> cmake_symlink_library libkscan.so.1.0.0 libkscan.so.1
> libkscan.so
> 
> libkscan/libkscan.so.1: libkscan/libkscan.so.1.0.0
> 
> libkscan/libkscan.so: libkscan/libkscan.so.1.0.0
> 
>   Because it gets to:
> 
> [ 31%] Building CXX object
> libkscan/CMakeFiles/kscan-shared.dir/imgscaninfo.cpp.o
> 
>   Then dies. Any ideas?

I just built tdegraphics without error. I am using gcc 4.4.4.

Try running without parallel building (NUMJOBS=-j1, or make -j1). Often I do that so the build log is sequential and then I can read the error more easily. With parallel building the but the compiler waits until parallel threads are complete before failing the entire build. Then the user has to hunt for the error sequence.

Darrell