ntop build, missing functions at load (sem_wait, sem_init, sem_po st, etc).

From: MacDonell, Dennis <DennisMacDonell_at_auslig.gov.au>
Date: Wed, 05 Sep 2001 18:05:00 +1000

Hi,

After much more stuffing about than I care to mention, I was able to
configure (had a problem due to the new output of "gcc -v" for version 2.95)
and almost make (having to create copies of netinet/ip.h and netinet/tpc.h
in /usr/local/include that allowed BITFIELDS (all to do with the first byte
of the header, which contains the protocol version and header length as
nibbles)) ntop, but alas in the home straight I got tripped up by the
Unresolved trap.

The missing symbols are all sem_<something> (like - init, wait, post,
trywait, and destroy). I'm running 5.0A. I was wondering if someone could
help me locate the library I need. I did a grep in /usr/lib and the other
places that /usr/lib points to, all to no avail. Looking at the names of
library modules, was not much help either. I guess, I could have listed the
contents of each library, but I would think that grep would of found the
function name if it was to be found. I get the impression these functions
are a late addition, since they don't appear in couple of programming books
I have.

So I figure I'm either looking in the wrong place, or the libraries arn't
loaded, good guessing aye. The first indication that the libraries may be
loaded is that all the functions appear in the man pages for both this
release of TU and previous ones like DU4.0F. You would think that the man
page could mention the library. All man pages mention (P1003.1b) whatever
that is. Its sounds a bit POSIX to me.

Appreciate any help.

Dennis

######################################
Dennis Macdonell
Systems Administrator
AUSLIG
mail: PO Box 2, Belconnen, ACT 2617
email: mcdonell_at_auslig.gov.au
ph: 61 2 6201 4326
fax: 61 2 6201 4377
######################################
Received on Wed Sep 05 2001 - 08:05:43 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT