Problems making sysmon

From: Tobias Larsson (tobias.larsson@aderagroup.com)
Date: Fri Sep 14 2001 - 03:45:05 EDT


Hi,
I'm running FreeBSD 4.4 RC-4 and I'm trying to compile sysmon-0.91.5 on my system. I have problems thou...

Configure works without any problems.

atom# ./configure
loading cache ./config.cache
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for sendmail... (cached) /usr/sbin/sendmail
checking for flex... (cached) /usr/bin/flex
checking for lex... (cached) /usr/bin/flex
checking for refresh in -lcurses... (cached) yes
checking for refresh in -lncurses... (cached) yes
checking for inet_ntoa in -lnsl... (cached) no
checking for yywrap in -lfl... (cached) yes
checking for yywrap in -ll... (cached) yes
checking for getpeername in -lsocket... (cached) no
checking for gethostname in -lresolv... (cached) no
checking for snprintf in -lc... (cached) yes
checking for revoke in -lbsd... (cached) no
checking for hosts_ctl in -lwrap... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for tcpd.h... (cached) yes
updating cache ./config.cache
creating ./config.status
creating src/Makefile
creating src/defines.h
src/defines.h is unchanged

Make stops when compiling icmp.c.

atom# make
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -c heartbeat.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -c syswatch.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -c page.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -c tcp.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -c udp.c
gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -c icmp.c
icmp.c: In function `handle_icmp_responses':
icmp.c:170: structure has no member named `saddr'
icmp.c:170: structure has no member named `daddr'
*** Error code 1

Anyone seen this problem before? I can compile sysmon without any problems on a Mandrake Linux box.

From jared@puck.neth‹õÅ;et
Received: (from jared@localhost)
        by puck.nether.net (8.11.6/8.9.3) id f8H1alL15744;
        Sun, 16 S‹õÅ;00
        (envelope-from jared)
Received-Date: Sun, 16 Sep 2001 21:36:47 -0400
Date: Sun, 16 Sep 2001 21:36:47 -04‹õÅ;ro
To: Tobias Larsson <tobias.larsson@aderagroup.com>
Cc: "'sysmon-help@puck.nether.net'" <‹õÅ;on
Subject: Re: Problems making sysmon
Message-ID: <20010916213647.D7189@puck.nether.net>
References: ‹õÅ;A5
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Co‹õÅ;t-
User-Agent: Mutt/1.2.5i
In-Reply-To: <464A5FA153F5D31195BA00508BCA30A301A24B56@sthnts03.sth.intranet>;‹õÅ;m

        I did not test on FreeBSD.

        They may have named ‹õÅ;st
else on FreeBSD.

        Will check on my freebsd machine(s).

        You can comment out that line, it's ju‹õÅ;eb

        - Jared

On Fri, Sep 14, 2001 at 09:45:05AM +0200, Tobias Larsson wrote:
> Hi,
> I'm running FreeBSD 4.4 RC-4 an铁;m
>
> Configure works without any problems.
>
> atom‹õÅ;co
> loading cache ./config.cache
> checking whether make sets ${MAKE}... (cached) yes
> checking for gcc... (cached‹õÅ;c
> checking whether the C compiler (gcc ) is a cross-compiler... no‹õÅ;he
> checking whether gcc accepts -g... (cached) yes
> checking for ranlib..‹õÅ;ac
> checking for a BSD compatible install... (cached) /usr/bin/install -c
> checking for sendmail... (cached) /u‹õÅ;bi
> checking for flex... (cached) /usr/bin/flex
> checking for lex... (cached) /usr/bin/flex
> checking for refre‹õÅ;n
> checking for refresh in -lncurses... (cached) yes
> checking for inet_ntoa in -lnsl... (cached)‹õÅ;>
> checking for yywrap in -ll... (cached) yes
> checking for getpeername in -ls‹õÅ;t.
> checking for gethostname in -lresolv... (cached) no
> checking for snprintf in -lc... (cached) yes
> chec‹õÅ; f
> checking for hosts_ctl in -lwrap... (cached) yes
> checking how to run the C preproces‹õÅ;..
> checking for tcpd.h... (cached) yes
> updating cache ./config.cache
> creating ./config.status
> creati‹õÅ;rc
> creating src/defines.h
> src/defines.h is unchanged
>
> Make stops when compiling icmp.c.
>
> atom# make
> g‹õÅ;g
> gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -c syswatch.c
> gcc -g -O2 '-D‹õÅ;="
> gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -c tcp.c
> gcc -g -O2 '-DMAIL="/usr/sbin/sendmai‹õÅ;-c
 gcc -g -O2 '-DMAIL="/usr/sbin/sendmail"' -c icmp.c
> icmp.c: In function `handle_icmp_responses':
> icmp.c:170: s‹õÅ;tu
> icmp.c:170: structure has no member named `daddr'
> *** Error code 1
>
> Anyone seen thi‹õÅ;ob

-- 
Jared Mauch  | pgp key available via f‹õÅ;r clue++;      | http://puck.nether.net/~jared/  My statements are only mine.



This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:14:07 EDT