Date: Fri, 16 Jun 2000 09:26:43 -0700 (PDT) From: Dean Brundage <Dean.Brundage@EBay.Sun.COM> To: freebsd-small@freebsd.org Subject: ntpd on picobsd fails to build Message-ID: <200006161626.JAA28965@ha1mil.EBay.Sun.COM>
next in thread | raw e-mail | index | archive | help
I tried this in questions a few days ago. Can anyone on this list help me out?
Thanks,
-Dean
------------- Begin Forwarded Message -------------
Date: Wed, 14 Jun 2000 14:17:05 -0700 (PDT)
From: Dean Brundage <brundage@ha1mil-mail>
Subject: ntpd on picobsd fails to build
To: freebsd-questions@freebsd.org
Mime-Version: 1.0
Content-MD5: m/37ugNmLnHPj/kA6ssqoQ==
All,
Please include me in replies. I have successfully compiled a PicoBSD
system, but want to add ntpd to it. I am having trouble getting it to
compile/crunch. Here's the output from 'build':
PicoBSD build -- Current parameters:
1. Type: router
2. MFS size: 820 kB
3. Language: en
4. Site-info:
-> We'll use the sources living in /usr/src
-> I hope you have checked the ../router/PICOBSD config file...
-> Preparing kernel...
kernel: 50.7% -- replaced with kernel.gz
-> Preparing MFS filesystem...
disklabel: ioctl DIOCWLABEL: Operation not supported by device
Warning: Block size restricts cylinders per group to 6.
Warning: 2456 sector(s) in last cylinder unallocated
/dev/rvn0c: 1640 sectors in 1 cylinders of 1 tracks, 4096 sectors
0.8MB in 1 cyl groups (6 c/g, 12.00MB/g, 288 i/g)
super-block backups (for fsck -b #) at:
32
-> Populating MFS tree...
-> Making and installing crunch1...
crunchgen: ./crunch1.conf: ntpd: warning: could not find any .o files
crunchgen: ./crunch1.conf: ntpd: error: no objpaths specified or calculated
crunchgen: ./crunch1.conf: ntpd: ignoring program because of errors
Run "make -f crunch1.mk objs exe" to build crunched binary.
*** Error code 1
Stop in /usr/src/release/picobsd/router/crunch1.
--> Error 1 code crunch
Error while building ../router/crunch1...
-> Aborting ./stage1
watchtower:/usr/src/release/picobsd/build#
My crunch.conf file:
#
# $FreeBSD: src/release/picobsd/router/crunch1/crunch.conf,v 1.8 2000/02/09
08:49:59 luigi Exp $
#
# NOTE: the string "/usr/src" will be automatically replaced with the
# correct value set in 'build' script - you should change it there
# other sources
srcdirs /usr/src/bin
srcdirs /usr/src/sbin/i386
srcdirs /usr/src/sbin
srcdirs /usr/src/usr.bin
srcdirs /usr/src/gnu/usr.bin
srcdirs /usr/src/usr.sbin
srcdirs /usr/src/libexec
srcdirs /usr/src/contrib/ntp
# sources for ns & vm
srcdirs ../../tinyware
progs oinit mount umount
progs kill sysctl
progs ls cat df cp rm
progs hostname w
progs sps vm
progs date adjkerntz
progs arp ifconfig
progs route ping ns
progs ipfw
progs more syslogd msg
progs minigzip
progs ntpd
special ntpd srcdir /usr/src/contrib/ntp/ntpd
ln minigzip gzip
ln sps ps
ln ns netstat
ln vm vmstat
ln msg dmesg
ln w uptime
libs -lncurses -lmytinfo -lipx -lz -lpcap -lalias
libs -ledit -lutil -lmd -lcrypt -lmp -lgmp -lm -lkvm
libs -lgnuregex -ltelnet
The machine I'm building on is a:
watchtower:/usr/src/release/picobsd/build# uname -a
FreeBSD watchtower.DeanAndAdie.net 4.0-RELEASE FreeBSD 4.0-RELEASE #1: Sat May
6 10:27:05 PDT 2000 root@watchtower:/usr/src/sys/compile/WATCHTOWER i386
Installed recently from 4.0-RELEASE CD's.
One of the steps I tried was to compile ntpd before running build, so there are
definately .o files in the ntp source directory. (Compiling went off without a
hitch.)
watchtower:/usr/src/release/picobsd/build# l /usr/src/contrib/ntp/ntpd/*.o
/usr/src/contrib/ntp/ntpd/map_vme.o
/usr/src/contrib/ntp/ntpd/ntp_config.o
/usr/src/contrib/ntp/ntpd/ntp_control.o
/usr/src/contrib/ntp/ntpd/ntp_filegen.o
/usr/src/contrib/ntp/ntpd/ntp_intres.o
/usr/src/contrib/ntp/ntpd/ntp_io.o
/usr/src/contrib/ntp/ntpd/ntp_loopfilter.o
/usr/src/contrib/ntp/ntpd/ntp_monitor.o
/usr/src/contrib/ntp/ntpd/ntp_peer.o
/usr/src/contrib/ntp/ntpd/ntp_proto.o
/usr/src/contrib/ntp/ntpd/ntp_refclock.o
/usr/src/contrib/ntp/ntpd/ntp_request.o
/usr/src/contrib/ntp/ntpd/ntp_restrict.o
/usr/src/contrib/ntp/ntpd/ntp_timer.o
/usr/src/contrib/ntp/ntpd/ntp_util.o
/usr/src/contrib/ntp/ntpd/ntpd.o
<sniped>
I'd appreciate any help in getting ntpd running. Thanks much.
--Dean
------------- End Forwarded Message -------------
--Dean
Unscrambler of eggs.
IT Ops aka ITPS aka SunIT aka SunIR aka ENS aka Desktop Support
--------------------------------------------------------------------------------
Tonight the windows are watching, the streets all conspire and the lamppost
can't stop crying. --Bad Religion
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006161626.JAA28965>
