mol segfault on Debian


Subject: mol segfault on Debian
From: Chris Emerson (chris@tartarus.org)
Date: Thu Jul 13 2000 - 12:27:11 MDT


I've just been trying to get mol 0.9.48 working with Debian, running
BenH's 2.2.17pre10-ben1 kernel, plus MOL patches (I applied
mol-kernel-2.2.15pre4.patch, which went cleanly).

Firstly, when compiling mol I ran into unreferenced symbols "elf_version"
and a couple of others, which don't seem to exist in Debian's libelf.a -
I got around this by linking with the shared version (libelf.so) instead.

When I actually try to run the mol I've compiled, I get a segfault - the
output is below. gdb didn't make much of the core dump. Any clues as to
anything stupid I've done, or what I can do to track down the problem?

> # startmol
> Mac-on-Linux (C) 1997-2000 Samuel Rydh <samuel@ibrium.se>
> Uses binaries and modules in /usr/local/lib/mol
> Trying to load the Mac-on-Linux kernel module.
>
> Warning: kernel-module version mismatch
> /usr/local/lib/mol/modules/mol.o was compiled for kernel version 2.2.15pre20
> while this kernel is version 2.2.17pre10-ben1-mol
>
> Warning: kernel-module version mismatch
> /usr/local/lib/mol/modules/sheep_net.o was compiled for kernel version 2.2.15pre20
> while this kernel is version 2.2.17pre10-ben1-mol
>
> /usr/local/bin/startmol: line 156: 1664 Segmentation fault $MOL_LIB_DIR/bin/mol
> #

Thanks,

Chris



This archive was generated by hypermail 2a24 : Thu Jul 13 2000 - 12:29:58 MDT