On 03/06/2012 09:57 PM, Darrell Anderson wrote:
got it:
-DCMAKE_VERBOSE_MAKEFILE=ON
Or:
make $NUMJOBS VERBOSE=1
I prefer this method because of the mixed automake/cmake environment. The latter allows
me to keep my build scripts consistent.
Darrell
OK, I give up....
Something is amiss and I'm not seeing it tonight. The stinking build can't
find sane even thought it is right in front of its face :( With
CMAKE_VERBOSE_MAKEFILE=ON the error isn't any more apparent than before:
cd /build/src/build/libkscan && /usr/bin/cmake -E cmake_link_script
CMakeFiles/kscan-shared.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST
-DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
-DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -Wl,--no-undefined -shared
-Wl,-soname,libkscan.so.1 -o libkscan.so.1.0.0
CMakeFiles/kscan-shared.dir/kscandevice.cpp.o
CMakeFiles/kscan-shared.dir/kscanslider.cpp.o
CMakeFiles/kscan-shared.dir/kgammatable.cpp.o
CMakeFiles/kscan-shared.dir/kscanoption.cpp.o
CMakeFiles/kscan-shared.dir/kscanoptset.cpp.o
CMakeFiles/kscan-shared.dir/gammadialog.cpp.o
CMakeFiles/kscan-shared.dir/dispgamma.cpp.o
CMakeFiles/kscan-shared.dir/scansourcedialog.cpp.o
CMakeFiles/kscan-shared.dir/scanparams.cpp.o
CMakeFiles/kscan-shared.dir/massscandialog.cpp.o
CMakeFiles/kscan-shared.dir/devselector.cpp.o
CMakeFiles/kscan-shared.dir/scandialog.cpp.o
CMakeFiles/kscan-shared.dir/img_canvas.cpp.o
CMakeFiles/kscan-shared.dir/previewer.cpp.o
CMakeFiles/kscan-shared.dir/imgscaledialog.cpp.o
CMakeFiles/kscan-shared.dir/sizeindicator.cpp.o
CMakeFiles/kscan-shared.dir/imgscaninfo.cpp.o -L/opt/trinity/lib -L/opt/tqt3/lib
/opt/trinity/lib/libkio.so.4.2.0
-lsane-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu-L/usr/lib
-lnetsnmp -lcrypto -lm -ldl -lv4l1 -ltiff -ljpeg -lgphoto2 -lgphoto2_port -lexif
-lusb -lavahi-common -lavahi-client /opt/trinity/lib/libtdeui.so.4.2.0
-lfreetype -lfontconfig /opt/trinity/lib/libtdesu.so.4.2.0 -lutil
/opt/trinity/lib/libkwalletclient.so.1.0.1 /opt/trinity/lib/libtdecore.so.4.2.0
/opt/trinity/lib/libDCOP.so.4.2.0 /opt/trinity/lib/libtdefx.so.4.2.0 -ltqt
-ltqt-mt -lXrender -lX11 -lz -lidn -lXcomposite -lICE -lSM
-Wl,-rpath,/opt/trinity/lib:/opt/tqt3/lib:
/usr/bin/ld: cannot find
-lsane-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu-L/usr/lib
collect2: ld returned 1 exit status
make[2]: *** [libkscan/libkscan.so.1.0.0] Error 1
make[2]: Leaving directory `/build/src/build'
make[1]: *** [libkscan/CMakeFiles/kscan-shared.dir/all] Error 2
make[1]: Leaving directory `/build/src/build'
make: *** [all] Error 2
And, just to make sure I'm not in[sane] -- no pun intended....:
23:06 nirvana:/mnt/nv1/home> l chroot/david/usr/lib/libsane*
lrwxrwxrwx 1 root root 17 Mar 5 01:51 chroot/david/usr/lib/libsane.so ->
libsane.so.1.0.22
lrwxrwxrwx 1 root root 17 Mar 5 01:51 chroot/david/usr/lib/libsane.so.1 ->
libsane.so.1.0.22
-rwxr-xr-x 1 root root 155376 Mar 5 01:51 chroot/david/usr/lib/libsane.so.1.0.22
Surely the '-lsane-Wl' isn't blowing up because it isn't looking in
/usr/lib
for a library -- couldn't be... I'll pick it up with fresh eyes tomorrow. If
anybody sees anything, please... Let me know :)
--
David C. Rankin, J.D.,P.E.