Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Feb 1997 03:31:44 -0700 (MST)
From:      chad@anasazi.com (Chad R. Larson)
To:        freebsd-ports@freebsd.org
Subject:   top 3.3 fails to build
Message-ID:  <9702011031.AA02703@chad.anasazi.com>

next in thread | raw e-mail | index | archive | help
I have 2.1.6.1 running.  I grabbed the top-3.3 skeleton and tried to a
make.  Make failed to fetch the distfile from the top site, and took the
one from ftp.freebsd.org.

The make failed compiling machine.c.  The failures are inside #ifdef'd
code that depends on __FreeBSD_version being 199607 or greater.
/usr/include/osreldate.h on my machine defines it to be 199612.

Did I get stuck inside an update timewarp?

	-crl
--
Chad R. Larson (CRL22)                          Brother, can you paradigm?
602-870-3330    chad@anasazi.com     chad@anasaz.UUCP      chad@dcfinc.com 
Anasazi, Inc. - 7500 North Dreamy Draw Drive, Suite 120, Phoenix, Az 85020
-=-=-=-=-=-=-=-=-=-=-=-= (begin make log extract )-=-=-=-=-=-=-=-=-=-=-=-=
>> top-3.3.tar.gz doesn't seem to exist on this system.
>> Attempting to fetch from ftp://eecs.nwu.edu/pub/top/.
>> Attempting to fetch from ftp://ftp.freebsd.org/pub/FreeBSD/distfiles//.
Receiving top-3.3.tar.gz (147070 bytes): 100%
147070 bytes transfered in 6.1 seconds  (23.47 K/s)
>> Checksum OK for top-3.3.tar.gz.
===>  Extracting for top-3.3
===>  Patching for top-3.3
===>  Applying FreeBSD patches for top-3.3
===>  Configuring for top-3.3
cp /usr/ports/sysutils/top/files/defaults /usr/ports/sysutils/top/work/.defaults
cp /usr/ports/sysutils/top/files/m_freebsd2.* /usr/ports/sysutils/top/work/machine

Reading configuration from last time...

Using these settings:
        Bourne Shell   /bin/sh
          C compiler   cc
    Compiler options   -DHAVE_GETOPT -O
         Awk command   awk
     Install command   ./install

              Module   freebsd2
             LoadMax   5.0
        Default TOPN   -1
        Nominal TOPN   18
       Default Delay   2
Random passwd access   yes
          Table Size   47
               Owner   root
         Group Owner   kmem
                Mode   2755
       bin directory   $(PREFIX)/bin
       man directory   $(PREFIX)/man/man1
       man extension   1
       man style       man

Building Makefile...
Building top.local.h...
Building top.1...
Doing a "make clean".
rm -f *.o top core core.* sigdesc.h
To create the executable, type "make".
===>  Building for top-3.3
cc -DHAVE_GETOPT -O -c top.c
awk -f sigconv.awk /usr/include/sys/signal.h >sigdesc.h
cc -DHAVE_GETOPT -O -c commands.c
cc -DHAVE_GETOPT -O -c display.c
cc -DHAVE_GETOPT -O -c screen.c
cc -DHAVE_GETOPT -O -c username.c
cc -DHAVE_GETOPT -O -c utils.c
cc -DHAVE_GETOPT -O -c version.c
cc -DHAVE_GETOPT -O -c getopt.c
cc -DHAVE_GETOPT -O -c machine.c
machine.c: In function `swapmode':
machine.c:793: storage size of `swaplist' isn't known
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



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