volfro Posted September 22, 2004 Report Share Posted September 22, 2004 I'm about to start kicking my computer. Or, at least, the oprofile configurator. I'm trying to install oprofile so I can update my kernel to 2.6.8, but when I type ./configure --with-kernel-support it tells me that checking libiberty.h usability... nochecking libiberty.h presence... no checking for libiberty.h... no checking for cplus_demangle in -liberty... no configure: error: liberty library not found and the configure script stops. But according to oprofile's help and FAQ, the libraries are there, in the binutils package. I urpmi'd, and it told me binutils was already there, so I urpmi'd libbinutils. It installed without a hitch. So the liberty library MUST be there! If it's not...where can I get it? I've been googling like crazy and have turned up nil. Somebody help! It's driving me CRAZY. EDIT Okay, I went ahead and tried to compile my kernel anyway. Everything went fine till # make modules_install. It installed everything okay till it got to the OSS AC97 stuff: INSTALL sound/usb/snd-usb-audio.ko if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.8-1; fi WARNING: /lib/modules/2.6.8-1/kernel/sound/oss/ymfpci.ko needs unknown symbol ac97_save_state WARNING: /lib/modules/2.6.8-1/kernel/sound/oss/ymfpci.ko needs unknown symbol ac97_release_codec WARNING: /lib/modules/2.6.8-1/kernel/sound/oss/ymfpci.ko needs unknown symbol ac97_restore_state WARNING: /lib/modules/2.6.8-1/kernel/sound/oss/ymfpci.ko needs unknown symbol ac97_alloc_codec WARNING: /lib/modules/2.6.8-1/kernel/sound/oss/ymfpci.ko needs unknown symbol ac97_probe_codec WARNING: /lib/modules/2.6.8-1/kernel/sound/oss/via82cxxx_audio.ko needs unknown symbol ac97_release_codec WARNING: /lib/modules/2.6.8-1/kernel/sound/oss/via82cxxx_audio.ko needs unknown symbol ac97_alloc_codec WARNING: /lib/modules/2.6.8-1/kernel/sound/oss/via82cxxx_audio.ko needs unknown symbol ac97_probe_codec WARNING: /lib/modules/2.6.8-1/kernel/sound/oss/forte.ko needs unknown symbol ac97_release_codec WARNING: /lib/modules/2.6.8-1/kernel/sound/oss/forte.ko needs unknown symbol ac97_read_proc WARNING: /lib/modules/2.6.8-1/kernel/sound/oss/forte.ko needs unknown symbol ac97_alloc_codec WARNING: /lib/modules/2.6.8-1/kernel/sound/oss/forte.ko needs unknown symbol ac97_probe_codec WARNING: /lib/modules/2.6.8-1/kernel/sound/oss/ali5455.ko needs unknown symbol ac97_set_dac_rate WARNING: /lib/modules/2.6.8-1/kernel/sound/oss/ali5455.ko needs unknown symbol ac97_release_codec WARNING: /lib/modules/2.6.8-1/kernel/sound/oss/ali5455.ko needs unknown symbol ac97_set_adc_rate WARNING: /lib/modules/2.6.8-1/kernel/sound/oss/ali5455.ko needs unknown symbol ac97_alloc_codec WARNING: /lib/modules/2.6.8-1/kernel/sound/oss/ali5455.ko needs unknown symbol ac97_probe_codec WARNING: /lib/modules/2.6.8-1/kernel/sound/oss/ad1889.ko needs unknown symbol ac97_release_codec WARNING: /lib/modules/2.6.8-1/kernel/sound/oss/ad1889.ko needs unknown symbol ac97_read_proc WARNING: /lib/modules/2.6.8-1/kernel/sound/oss/ad1889.ko needs unknown symbol ac97_alloc_codec WARNING: /lib/modules/2.6.8-1/kernel/sound/oss/ad1889.ko needs unknown symbol ac97_probe_codec WARNING: /lib/modules/2.6.8-1/kernel/sound/oss/ac97_plugin_ad1980.ko needs unknown symbol ac97_unregister_driver WARNING: /lib/modules/2.6.8-1/kernel/sound/oss/ac97_plugin_ad1980.ko needs unknown symbol ac97_register_driver make: *** [_modinst_post] Error 1 [root@localhost linux]# What, pray tell, does that mean? Does it mean that I really don't have the proper libraries (liberty libraries) installed? Or what? I'm confused. The whole point of the upgrade is to see if my sound driver issues and my keyboard and mouse weirdness would disappear. And, just to do it, to learn my way around a little better. I'd like to get this thing off the ground sometime soon. Thanks again for any help :) [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
devries Posted September 22, 2004 Report Share Posted September 22, 2004 checking libiberty.h usability This means a .h=header file is missing. Header files usually come in devel packages. So you need to install: http://rpm.pbone.net/index.php3/stat/4/idp...k.i586.rpm.html (or the version that corresponds with your version of binutils) Good luck. Quote Link to comment Share on other sites More sharing options...
volfro Posted September 22, 2004 Author Report Share Posted September 22, 2004 (edited) Thanks. I installed the devel packages that it said were missing (liberty and then popt) and now ./configure --with-kernel-support works. I think I tried downloading that RPM before, but it was a different version so I got dependency craziness. But then make ends with this: depmode=gcc3 /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I ../libutil -W -Wall -fno-common -g -O2 -c -o op_bfd.o `test -f 'op_bfd.cpp' || echo './'`op_bfd.cpp op_bfd.cpp: In member function `bool op_bfd::have_debug_info() const': op_bfd.cpp:271: error: `sec' undeclared (first use this function) op_bfd.cpp:271: error: (Each undeclared identifier is reported only once for each function it appears in.) op_bfd.cpp:271: error: `section' undeclared (first use this function) make[2]: *** [op_bfd.o] Error 1 make[2]: Leaving directory `/home/vincent/oprofile-0.5.4/libutil++' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/vincent/oprofile-0.5.4' make: *** [all] Error 2 What to do about that? I'm still not good at reading that language, so I'm not sure what to do about it. BTW: still talking about the oprofile installation here, not the kernel. Edited September 22, 2004 by volfro Quote Link to comment Share on other sites More sharing options...
devries Posted September 22, 2004 Report Share Posted September 22, 2004 (edited) I'm not much of an expert either. Seems like some error in some lines in some files in something. Try giving 'make' in '/home/vincent/oprofile-0.5.4/libutil++' and see what it gives. And then give 'make' in /home/vincent/oprofile-0.5.4. Good luck Edited September 22, 2004 by devries Quote Link to comment Share on other sites More sharing options...
volfro Posted September 22, 2004 Author Report Share Posted September 22, 2004 [root@localhost oprofile-0.5.4]# cd libutil++ [root@localhost libutil++]# make source='op_bfd.cpp' object='op_bfd.o' libtool=no \ depfile='.deps/op_bfd.Po' tmpdepfile='.deps/op_bfd.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I ../libutil -W -Wall -fno-common -g -O2 -c -o op_bfd.o `test -f 'op_bfd.cpp' || echo './'`op_bfd.cpp op_bfd.cpp: In member function `bool op_bfd::have_debug_info() const': op_bfd.cpp:271: error: `sec' undeclared (first use this function) op_bfd.cpp:271: error: (Each undeclared identifier is reported only once for each function it appears in.) op_bfd.cpp:271: error: `section' undeclared (first use this function) make: *** [op_bfd.o] Error 1 [root@localhost libutil++]# I tried making in other dirs as well. Only two of them finished. Tried making in the oprofile directory once again, and got the exact same error as before. This is frustrating. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.