On Tue, 31 Dec 2002 12:27, you wrote: > Just to let everyone know... > > I was trying to compile ksymoops so that I could report a kernel oops to
I was just mulling over this and saw, in another window, kmod: runaway modprobe loop assumed and stopped insmod: modprobekmod: runaway modprobe loop assumed and stopped : cannot create kmod: runaway modprobe loop assumed and stopped /var/log/ksymoopkmod: runaway modprobe loop assumed and stopped s/20021231.log Read-only file system insmod: insmod: /lib/modules/2.4.18-386/kkmod: runaway modprobe loop assumed and stopped ernel/net/unix/unix.o: No such file or directory insmod: insmod: insmod net-pf-1 failed insmod: insmod: cannot create /var/log/ksymoops/20021231.log Read-only file system insmod: modprobe: cannot create /var/log/ksymoops/20021231.log Read-only file system insmod: modprobe: cannot create /var/log/ksymoops/20021231.log Read-only file system insmod: insmod: /lib/modules/2.4.18-386/kernel/net/unix/unix.o: No such file or directory with the last section looping incessantly;-( > the cmsfs developer (hi Rick! :), and I was getting a nasty error: > gcc io.o ksyms.o ksymoops.o map.o misc.o object.o oops.o re.o > symbol.o -Dlinux -Wall -Wno-conversion -Waggregate-return > -Wstrict-prototype s -Wmissing-prototypes -DINSTALL_PREFIX="\"/usr\"" > -DCROSS="\"\"" -DDEF_KSY MS=\"/proc/ksyms\" -DDEF_LSMOD=\"/proc/modules\" > -DDEF_OBJECTS=\"/lib/module s/*r/\" -DDEF_MAP=\"/usr/src/linux/System.map\" > -Wl,-Bstatic -lbfd -liberty -Wl,-Bdynamic -o ksymoops > /usr/lib/gcc-lib/s390-slackware-linux/3.2/../../../libbfd.a(elf-strtab.o): > In function `_bfd_elf_strtab_finalize': > elf-strtab.o(.text+0x784): undefined reference to `htab_create_alloc' > /usr/lib/gcc-lib/s390-slackware-linux/3.2/../../../libbfd.a(merge.o): In > function `merge_strings': > merge.o(.text+0xc50): undefined reference to `htab_create_alloc' > collect2: ld returned 1 exit status > make: *** [ksymoops] Error 1 > > Doing google searches didn't turn up much, other than the fact that the > symbol belonged to binutils. Some more research led me to the > understanding that both gcc and binutils create a libiberty.a static > library. The one from binutils includes the htab_create_alloc routine, the > one from gcc does not. > > So, I'm not finished trying to understand the situation (why have two > libraries with the same name but different contents? etc.), but for now at > least, if you run into this problem, try and see where your libiberty.a > library comes from. Wat distro? What non-standard things have you done to it? FWIW, my desktop RHL 7.3 has: [root@numbat root]# locate libiberty /usr/lib/libiberty.a /usr/include/libiberty.h [root@numbat root]# rpm -qf /usr/lib/libiberty.a binutils-2.11.93.0.2-11 [root@numbat root]# > > Mark Post -- Cheers John Summerfield Microsoft's most solid OS: http://www.geocities.com/rcwoolley/ Join the "Linux Support by Small Businesses" list at http://mail.computerdatasafe.com.au/mailman/listinfo/lssb
