From owner-freebsd-hackers Thu Jul 27 02:04:37 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id CAA14779 for hackers-outgoing; Thu, 27 Jul 1995 02:04:37 -0700 Received: from minnow.render.com (render.demon.co.uk [158.152.30.118]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id CAA14772 for ; Thu, 27 Jul 1995 02:04:33 -0700 Received: (from dfr@localhost) by minnow.render.com (8.6.9/8.6.9) id KAA13226; Thu, 27 Jul 1995 10:05:12 +0100 Date: Thu, 27 Jul 1995 10:05:10 +0100 (BST) From: Doug Rabson To: "Amancio Hasty Jr." cc: "Jonathan M. Bresler" , Chuck Robey , hackers@freebsd.org Subject: Re: ld.so: ivs: libcompat.so.2.0: Undefined error: 0 In-Reply-To: <199507261846.LAA05577@rah.star-gate.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@freebsd.org Precedence: bulk On Wed, 26 Jul 1995, Amancio Hasty Jr. wrote: > here is what ldd with mwm does: > ldd /usr/X11R6/bin/mwm > /usr/X11R6/bin/mwm: > > Here are the last few bits of ktrace on mwm: > > 5570 mwm RET mprotect 0 > 5570 mwm CALL mmap(0x8226000,0,0x7,0x1012,0xffffffff,0,0,0) > 5570 mwm RET mmap 136470528/0x8226000 > 5570 mwm CALL close(0x5) > 5570 mwm RET close 0 > 5570 mwm CALL open(0x80fdf11,0,0) > 5570 mwm NAMI "/usr/lib/libg++.so.2.0" > 5570 mwm RET open 5 > 5570 mwm CALL read(0x5,0xefbfd6c4,0x20) > 5570 mwm GIO fd 5 read 32 bytes > "\M-L\0\M^F\M-@\0\M-p\^E\0\0000\0\0\0\0\0\0@\M^C\0\0 \0\0\0\0\0\0\0\0\0\ > \0\0" > 5570 mwm RET read 32/0x20 > 5570 mwm CALL mmap(0,0x62000,0x5,0x2,0x5,0,0,0) > 5570 mwm RET mmap 136470528/0x8226000 > 5570 mwm CALL mprotect(0x8285000,0x3000,0x7) > 5570 mwm RET mprotect 0 > 5570 mwm CALL mmap(0x8288000,0,0x7,0x1012,0xffffffff,0,0,0) > 5570 mwm RET mmap 136871936/0x8288000 > 5570 mwm CALL close(0x5) > 5570 mwm RET close 0 > 5570 mwm PSIG SIGBUS SIG_DFL > 5570 mwm NAMI "mwm.core" Is this the mwm from swim-2.0? I just ran it and it seems to work OK. If I remove libcompat.so.2.0 then it prints a helpful message telling me it is missing. Could you run it under gdb and get a backtrace? -- Doug Rabson, Microsoft RenderMorphics Ltd. Mail: dfr@render.com Phone: +44 171 251 4411 FAX: +44 171 251 0939