Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Feb 2009 14:40:17 -0500
From:      "Michael W. Lucas" <mwlucas@blackhelicopters.org>
To:        current@freebsd.org
Subject:   nanobsd dies in newfs
Message-ID:  <20090203194017.GA58565@bewilderbeast.blackhelicopters.org>

next in thread | raw e-mail | index | archive | help

Hi,

This is on i386 -current as of Feb 1, 2009.

Obviously, things have changed in the year since I've built nanoBSD.
I'm trying to build a very tiny sniffer box, and the build dies in
newfs(8).  The error and my nanobsd config follow.

Any suggestions, folks?

...
===> sbin/newfs (all)
cc -O2 -pipe  -DNDEBUG -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/sbin/newfs/newfs.c
cc -O2 -pipe  -DNDEBUG -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/sbin/newfs/mkfs.c
cc -O2 -pipe  -DNDEBUG -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/sbin/newfs/../../sys/geom/geom_bsd_enc.c
cc -O2 -pipe  -DNDEBUG -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign  -static -o newfs newfs.o mkfs.o geom_bsd_enc.o -lufs
/usr/obj/nanobsd.SoekrisSoftflowd//usr/src/tmp/usr/lib/libufs.a(block.o)(.text+0xc0): In function `bwrite':
: multiple definition of `bwrite'
newfs.o(.text+0x490): first defined here
/usr/obj/nanobsd.SoekrisSoftflowd//usr/src/tmp/usr/bin/ld: Warning: size of symbol `bwrite' changed from 109 in newfs.o to 492 in /usr/obj/nanobsd.SoekrisSoftflowd//usr/src/tmp/usr/lib/libufs.a(block.o)
*** Error code 1


NANO_NAME=SoekrisSoftflowd
NANO_IMAGES=2
NANO_KERNEL=SOEKRIS
NANO_PMAKE="make"

FlashDevice samsung 128

customize_cmd cust_comconsole
customize_cmd cust_allow_ssh_root

CONF_INSTALL='
WITHOUT_TOOLCHAIN=YES
'

CONF_WORLD='
NO_MODULES=YES
WITHOUT_ACCT=YES
WITHOUT_ACPI=YES
WITHOUT_AMD=YES
WITHOUT_APM=YES
WITHOUT_ASSERT_DEBUG=YES
WITHOUT_AT=YES
WITHOUT_ATM=YES
WITHOUT_AUDIT=YES
WITHOUT_AUTHPF=YES
WITHOUT_BIND=YES
WITHOUT_BLUETOOTH=YES
WITHOUT_BSD_CPIO=YES
WITHOUT_BSNMP=YES
WITHOUT_CALENDAR=YES
WITHOUT_CDDL=YES
WITHOUT_CPP=YES
WITHOUT_CTM=YES
WITHOUT_CVS=YES
WITHOUT_CXX=YES
WITHOUT_DICT=YES
WITHOUT_DYNAMICROOT=YES
WITHOUT_EXAMPLES=YES
WITHOUT_FLOPPY=YES
WITHOUT_FORTRAN=YES
WITHOUT_FREEBSD_UPDATE=YES
WITHOUT_GAMES=YES
WITHOUT_GCOV=YES
WITHOUT_GPIB=YES
WITHOUT_GROFF=YES
WITHOUT_GSSAPI=YES
WITHOUT_HTML=YES
WITHOUT_I4B=YES
WITHOUT_INET6=YES
WITHOUT_INFO=YES
WITHOUT_INSTALLIB=YES
WITHOUT_IPFILTER=YES
WITHOUT_IPFW=YES
WITHOUT_IPX=YES
WITHOUT_JAIL=YES
WITHOUT_KERBEROS=YES
WITHOUT_LEGACY_CONSOLE=YES
WITHOUT_LIBC_R=YES
#WITHOUT_LIBPTHREAD=YES
#WITHOUT_LIBTHR=YES
WITHOUT_LOCALES=YES
WITHOUT_LOCATE=YES
WITHOUT_LPR=YES
WITHOUT_MAIL=YES
WITHOUT_MAKE=YES
WITHOUT_MAN=YES
WITHOUT_NDIS=YES
WITHOUT_NETCAT=YES
WITHOUT_NETGRAPH=YES
WITHOUT_NIS=YES
WITHOUT_NLS=YES
WITHOUT_NLS_CATALOGS=YES
WITHOUT_NS_CACHING=YES
WITHOUT_OBJC=YES
WITHOUT_P1003_1B=YES
WITHOUT_PF=YES
WITHOUT_PKGTOOLS=YES
WITHOUT_PMCCONTROL=YES
WITHOUT_PORTSNAP=YES
WITHOUT_PPP=YES
WITHOUT_PROFILE=YES
WITHOUT_QUOTAS=YES
WITHOUT_RCMDS=YES
WITHOUT_RCS=YES
WITHOUT_RESCUE=YES
WITHOUT_ROUTED=YES
WITHOUT_SHAREDOCS=YES
WITHOUT-SLIP=YES
WITHOUT_SPP=YES
WITHOUT_SYSCONS=YES
WITHOUT_SYSINSTALL=YES
WITHOUT_TEXTPROC=YES
WITHOUT_USB=YES
WITHOUT_WIRELESS=YES
WITHOUT_SENDMAIL=YES
WITHOUT_SHAREDOCS=YES
WITHOUT_PPP=YES
WITHOUT_WPA_SUPPLICANT_EAPOL=YES
WITHOUT_ZFS=YES
WITHOUT_ZONEINFO=YES
'




-- 
Michael W. Lucas 	mwlucas@BlackHelicopters.org, mwlucas@FreeBSD.org
		http://www.BlackHelicopters.org/~mwlucas/
"My pessimism extends to the point of even suspecting the sincerity of
  the pessimists." -- Jean Rostand, French biologist and philosopher



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