Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Sep 1998 21:07:02 -0700
From:      Manfred Antar <mantar@netcom.com>
To:        ben@rosengart.com
Cc:        Stephane Legrand <Stephane.Legrand@wanadoo.fr>, current@FreeBSD.ORG
Subject:   Re: Bus error with vmstat
Message-ID:  <199809080407.VAA05856@pozo.pozo.com>

next in thread | raw e-mail | index | archive | help
At 11:11 PM 9/7/98 -0400, you wrote:
>narcissus% ldd `which iostat`
>/usr/sbin/iostat:
>        -lkvm.2 => /usr/lib/aout/libkvm.so.2.0 (0x2001b000)
>        -lc.3 => /usr/lib/aout/libc.so.3.1 (0x2001f000)
>narcissus% ldd `which vmstat`
>/usr/bin/vmstat:
>        -lkvm.2 => /usr/lib/aout/libkvm.so.2.0 (0x2001d000)
>        -lc.3 => /usr/lib/aout/libc.so.3.1 (0x20021000)
>
>I bet your kernel is out of sync with your userland.  This is an FAQ.

I get the same error with a current kernel and current make world as of 1
hour ago


ldd /usr/sbin/iostat
(manfred)502}ldd /usr/sbin/iostat
/usr/sbin/iostat:
libkvm.so.2 => /usr/lib/libkvm.so.2 (0x28052000)
libc.so.3 => /usr/lib/libc.so.3 (0x28057000)

(manfred)505}ldd /usr/bin/vmstat
/usr/bin/vmstat:
libkvm.so.2 => /usr/lib/libkvm.so.2 (0x28053000)
libc.so.3 => /usr/lib/libc.so.3 (0x28058000)

Should these be compiled aout ?
Manfred

I just compiled these two programs aout and they work.
with the new elf format somehow they are getting built elf and don't work

If you do a OBJFORMAT=aout make depend all install they will work
Manfred 
==============================
||    mantar@netcom.com     ||
||    pozo@infinex.com      ||
||    Ph. (415) 681-6235    ||
==============================


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809080407.VAA05856>