Dave,
I figured that out too. My system doesn't have a libpcap.a file! If I know how to
build one then all would be fine.
Hans
-----Original Message-----
From: Dave McGuire <mcguire at neurotica.com>
Sender: owner-hecnet at Update.UU.SE
Date: Sun, 08 Apr 2012 19:05:36
To: <hecnet at Update.UU.SE>
Reply-To: hecnet at Update.UU.SESubject: Re: [HECnet] building simh
I was thinking this was pretty odd, so I looked at the source
distribution for simh v3.8-1. It seems the makefile is hard-coded to
look for libpcap.a in /usr/local/lib.
Bad idea.
Edit the makefile and fix the path to libpcap.a. That's on line 18 in
the standard v3.8-1 sources.
-Dave
On 04/08/2012 03:48 PM, hvlems at zonnet.nl wrote:
Dave,
The system has libpcap-devel-1.0.0.5 installed
Fedora is RH's free linux distribution.
It uses Yum as install manager.
-----Original Message-----
From: Dave McGuire <mcguire at neurotica.com>
Sender: owner-hecnet at Update.UU.SE
Date: Sun, 08 Apr 2012 15:40:32
To: <hecnet at Update.UU.SE>
Reply-To: hecnet at Update.UU.SESubject: Re: [HECnet] building simh
On 04/08/2012 05:26 AM, hvlems at zonnet.nl wrote:
Well, this isn't a linux forum but perhaps one of you solved this problem.
I have an Asus Eee PC 900, and it Tnow) has Fedora 14 installed.
It runs the bridge program and I want to run simh on this box since it is cheap on mains
power. Its battery is shot which is why my ex gave it to me.
I have libpcap installed and used 'make USE_NETWORK'=1' to build simh.
Which fails because it cannot locate
/usr/local/llib/libpcap.a
There is a libpcap.so, in /usr/lib
Am I running an old version of linux, or made an error installing libcap?
Hi! It sounds to me like you've got the runtime support for libpcap
installed, but not the "development" support.
For libraries, .so files (so == Shared Object) are used at runtime,
while .a (Archive) files are used at compile time. (well, more
specifically at link time). The former are dynamically-linked shared
libraries, whereas the latter are non-shared libraries for static linking.
These days, compilation support is rarely included by default on Linux
OS or package distributions to save space. One must explicitly install
the "dev" version of the library, which typically gets you .a files for
static linking, as well as the header (.h) files.
I've never seen Fedora 14, so I don't know exactly how its package
repository system works, but you'll need to find and install whatever
package corresponds to "libpcap-dev" or something very similarly named.
This should get you going.
-Dave
--
Dave McGuire, AK4HZ
New Kensington, PA
Show replies by date