Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81998 - make xconfig fails w/kernel 2.6.10
Summary: make xconfig fails w/kernel 2.6.10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-14 07:14 UTC by Peter Hyman
Modified: 2005-04-30 05:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Hyman 2005-02-14 07:14:41 UTC
similar to bug 75552 but still does not work. Issuing make xconfig results in the error that libqt-mt.so cannot be found even though it exists.

root@mars /usr/src/linux # make xconfig
  HOSTLD  scripts/kconfig/qconf
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status
make[1]: *** [scripts/kconfig/qconf] Error 1
make: *** [xconfig] Error 2

even though library is there, QTDIR set. I also tried adding CPLUS_INCLUDE_PATH but to no avail. make menuconfig make gconfig work fine.

root@mars /usr/src/linux # ldconfig -p |grep -i qt
        libqui.so.1 (libc6) => /usr/qt/3/lib/libqui.so.1
        libqui.so (libc6) => /usr/qt/3/lib/libqui.so
        libqtopiakonnector.so (libc6) => /usr/kde/3.3/lib/libqtopiakonnector.so
        libqtmcop.so.1 (libc6) => /usr/kde/3.3/lib/libqtmcop.so.1
        libqtmcop.so (libc6) => /usr/kde/3.3/lib/libqtmcop.so
        libqt-mt.so.3 (libc6) => /usr/qt/3/lib/libqt-mt.so.3
        libqt-mt.so (libc6) => /usr/qt/3/lib/libqt-mt.so


Reproducible: Always
Steps to Reproduce:
1. in an X session
2. cd /usr/src/linux
3. make xconfig

Actual Results:  
root@mars /usr/src/linux # make xconfig
  HOSTLD  scripts/kconfig/qconf
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lqt-mt
collect2: ld returned 1 exit status
make[1]: *** [scripts/kconfig/qconf] Error 1
make: *** [xconfig] Error 2


Expected Results:  
present qt-based menu

Should I re-emerge qt? KDE compiled fine
Comment 1 Peter Hyman 2005-02-14 13:37:26 UTC
Some more info.
1) I DID upgrade from gcc 3.3.4 to 3.3.5
2) Did run fix_libtool_files.sh 3.3.4
3) Did make clean in /usr/src/linux
4) Did make xconfig
--- received numerous errors about .h files not found.  eg.
root@mars /usr/src/linux # make xconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kconfig_load.o
  HOSTCC  scripts/kconfig/mconf.o
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTCXX scripts/kconfig/qconf.o
scripts/kconfig/qconf.cc:6:26: qapplication.h: No such file or directory
scripts/kconfig/qconf.cc:7:25: qmainwindow.h: No such file or directory
scripts/kconfig/qconf.cc:8:22: qtoolbar.h: No such file or directory
scripts/kconfig/qconf.cc:9:19: qvbox.h: No such file or directory
scripts/kconfig/qconf.cc:10:23: qsplitter.h: No such file or directory

5) Did export CPLUS_INCLUDE_PATH="/usr/qt/3/include"
6) Did make xconfig again
7) received same original error:
root@mars /usr/src/linux # make clean
  CLEAN   init
  CLEAN   usr
  CLEAN   .tmp_versions
  CLEAN   include/asm-i386/asm_offsets.h
root@mars /usr/src/linux # make xconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kconfig_load.o
  HOSTCC  scripts/kconfig/mconf.o
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTCXX scripts/kconfig/qconf.o
  HOSTLD  scripts/kconfig/qconf
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status
make[1]: *** [scripts/kconfig/qconf] Error 1
make: *** [xconfig] Error 2

Hope this information is helpful. Again, make menuconfig is fine, make gconfig is fine.
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2005-04-30 05:31:41 UTC
Please run "make clean" then post the output of:

KBUILD_VERBOSE=1 make xconfig

And don't bother with the CPLUS_INCLUDE_PATH - this should work out of the box.
Comment 3 Peter Hyman 2005-04-30 05:59:15 UTC
works a/o kernel 2.6.11.x Thought I marked this as fixed already. Thx