From owner-freebsd-stable Tue Apr 6 11:21: 2 1999 Delivered-To: freebsd-stable@freebsd.org Received: from discover.laker.net (discover.laker.net [205.245.74.3]) by hub.freebsd.org (Postfix) with ESMTP id 10311156E3 for ; Tue, 6 Apr 1999 11:20:44 -0700 (PDT) (envelope-from gabriel@discover.laker.net) Received: (from gabriel@localhost) by discover.laker.net (8.9.1/8.9.1-LAKERNET+8.9.1-MOD) id OAA27787 for freebsd-stable@FreeBSD.ORG; Tue, 6 Apr 1999 14:18:42 -0400 From: Gabriel Message-Id: <199904061818.OAA27787@discover.laker.net> Subject: Buildworld problem w/ 2.2.8-19990120-SNAP To: freebsd-stable@FreeBSD.ORG Date: Tue, 6 Apr 1999 14:18:42 -0400 (EDT) Content-Type: text Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I have been trying to buildworld on FBSD 2.2.8-19990120-SNAP. I cvsupped before buildworld. Compilation stopped with many warnings and parse errors when reaching ccd.c: Here are some of the errors or ccd.c (there were about 160 errors): ===> lkm/ccd --- ccd.h --- --- vnode_if.h --- --- ccd.o --- --- ccd.h --- echo "#define NCCD 4" > ccd.h --- vnode_if.h --- sh /usr/src/lkm/ccd/../../sys/kern/vnode_if.sh /usr/src/lkm/ccd/../../sys/kern/vnode_if.src --- ccd.o --- cc -nostdinc -O -pipe -I. -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -I/usr/src/lkm/ccd/../../sys -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -I/usr/obj/usr/src/tmp/usr/include -DPSEUDO_LKM -c /usr/src/lkm/ccd/../../sys/dev/ccd/ccd.c /usr/src/lkm/ccd/../../sys/sys/vnode.h: In function `VOP_BMAP': In file included from /usr/src/lkm/ccd/../../sys/dev/ccd/ccd.c:116: /usr/src/lkm/ccd/../../sys/sys/vnode.h:383: `V' undeclared (first use this function) /usr/src/lkm/ccd/../../sys/sys/vnode.h:383: (Each undeclared identifier is reported only once /usr/src/lkm/ccd/../../sys/sys/vnode.h:383: for each function it appears in.) /usr/src/lkm/ccd/../../sys/sys/vnode.h:383: parse error before `struct' /usr/src/lkm/ccd/../../sys/sys/vnode.h:395: warning: nested extern declaration of `bdevvp' I don't need lkms, so I wiped out /usr/obj and compiled with -DNOLKM. Now it stops compiling here: building shared des library (version 3.0) cp /usr/src/secure/lib/libdes/des_crypt.man des_crypt.3 gzip -c des_crypt.3 > des_crypt.3.gz ===> secure/usr.bin ===> secure/usr.bin/bdes cc -nostdinc -O -pipe -I/usr/obj/usr/src/tmp/usr/include -c /usr/src/secure/usr.bin/bdes/bdes.c cc -nostdinc -O -pipe -I/usr/obj/usr/src/tmp/usr/include -L/usr/obj/usr/src/secure/usr.bin/bdes/../../lib/libcipher -o bdes bdes.o -lcipher bdes.o: WARNING! des_setkey(3) not present in the system! bdes.o: WARNING! des_cipher(3) not present in the system! gzip -c /usr/src/secure/usr.bin/bdes/bdes.1 > bdes.1.gz I ftped 2.2.8-19990120-SNAP from ftp://ftp7.de.freebsd.org/pub/FreeBSD/snapshots/i386/2.2.8-19990120-SNAP Does this mean that it does not have DES since it came from a non-US ftp site? I selected DES sources during installation and tried reinstalling it later from /stand/sysinstall. This did not fix the problem. I type 'make -DNOLKM buildworld' in /usr/src to buildworld. If there is a way to fix the problem, can I use -DNOCLEAN or do I have to recompile from scratch? If this helps, here are my cvsup and make.conf files: supfile:/etc/stable-supfile # $Id: stable-supfile,v 1.2.2.8 1997/10/14 03:24:37 jdp Exp $ # # This file contains all of the "CVSup collections" that make up the # FreeBSD-stable source tree. # # CVSup (CVS Update Protocol) allows you to download the latest CVS # tree (or any branch of development therefrom) to your system easily # and efficiently (far more so than with sup, which CVSup is aimed # at replacing). If you're running CVSup interactively, and are # currently using an X display server, you should run CVSup as follows # to keep your CVS tree up-to-date: # # cvsup stable-supfile # # If not running X, or invoking cvsup from a non-interactive script, then # run it as follows: # # cvsup -g -L 2 stable-supfile # # You may wish to change some of the settings in this file to better # suit your system: # # host=cvsup.FreeBSD.org # This specifies the server host which will supply the # file updates. Please change this to one of the mirror # sites if possible. (See the "README" file.) You can # override this setting on the command line with cvsup's # "-h host" option. # # base=/usr # This specifies the root where CVSup will store information # about the collections you have transferred to your system. # A setting of "/usr" will generate this information in # /usr/sup. Even if you are CVSupping a large number of # collections, you will be hard pressed to generate more than # ~1MB of data in this directory. You can override the # "base" setting on the command line with cvsup's "-b base" # option. This directory must exist in order to run CVSup. # # prefix=/usr # This specifies where to place the requested files. A # setting of "/usr" will place all of the files requested # in "/usr/src" (e.g., "/usr/src/bin", "/usr/src/lib"). # The prefix directory must exist in order to run CVSup. # ############################################################################### # # DANGER! WARNING! LOOK OUT! VORSICHT! # # If you add any of the ports collections to this file, be sure to # specify them like this: # # ports-all tag=. # # If you leave out the "tag=." portion, CVSup will delete all of # the files in your ports tree. That is because "RELENG_2_1_0" and # "RELENG_2_2" are not valid tags for the ports portion of the CVS # repository. # ############################################################################### # Defaults that apply to all the collections #*default host=cvsup.FreeBSD.org [cvsup1-5.FreeBSD.ORG] *default host=cvsup3.FreeBSD.org *default base=/usr *default prefix=/usr # The following line is for 2.2-stable. If you want 2.1-stable, change # "RELENG_2_2" to "RELENG_2_1_0". *default release=cvs tag=RELENG_2_2 *default delete use-rel-suffix # If your network link is a T1 or faster, comment out the following line. *default compress ## Main Source Tree. # # The easiest way to get the main source tree is to use the "src-all" # mega-collection. It includes all of the individual "src-*" collections, # except "src-crypto", "src-eBones", and "src-secure". src-all # These are the individual collections that make up "src-all". If you # use these, be sure to comment out "src-all" above. #src-base #src-bin #src-contrib #src-etc #src-games #src-gnu #src-include #src-kerberosIV #src-lib #src-libexec #src-release #src-sbin #src-share #src-sys #src-tools #src-usrbin #src-usrsbin ## Export-restricted collections. # # Only people in the USA and Canada may fetch these collections. If # you are not in the USA or Canada, please use the collections in the # "secure-supfile" instead. src-crypto #src-eBones src-secure make.conf:/etc/make.conf # $Id: make.conf,v 1.37.2.17 1998/08/25 10:53:43 jkoshy Exp $ # # This file, if present, will be read by make (see /usr/share/mk/sys.mk). # It allows you to override macro definitions to make without changing # your source tree, or anything the source tree installs. # # This file must be in valid Makefile syntax. # # You have to find the things you can put here in the Makefiles and # documentation of the source tree. # # One, and probably the most common, use could be: # CFLAGS= -O -pipe # # Another useful entry is # NOPROFILE= true # Avoid compiling profiled libraries # # To avoid building the default system perl #NOPERL= true # To avoid building the suid perl #NOSUIDPERL= true # # To have 'obj' symlinks created in your source directory # (they aren't needed/necessary) #OBJLINK= yes # # To compile just the kernel with special optimisations, you should use # this instead of CFLAGS (which is not applicable to kernel builds anyway): # COPTFLAGS= -O -pipe # # To compile and install the 4.4 lite libm instead of the default use: # #WANT_CSRG_LIBM= yes # # To compile and install the reentrant-safe/thread-safe versions of the # standard library. This library is useful to the mysql port and other # software that wants to use pthreads. #WANT_LIBC_R= yes # # If you do not want unformatted manual pages to be compressed # when they are installed: # #NOMANCOMPRESS= true # # # If you want the "compat" shared libraries installed as part of your normal # builds, uncomment these: # COMPAT1X= yes COMPAT20= yes COMPAT21= yes # # # If you do not want additional documentation (some of which are # a few hundred KB's) for ports to be installed: # #NOPORTDOCS= true # # # Default format for system documentation, depends on your printer. # Set this to "ascii" for simple printers or screen # #PRINTERDEVICE= ps #PRINTERDEVICE= ascii # # # How long to wait for a console keypress before booting the default kernel. # This value is approximately in milliseconds. Keypresses are accepted by the # BIOS before booting from disk, making it possible to give custom boot # parameters even when this is set to 0. # #BOOTWAIT=0 #BOOTWAIT=30000 # # By default, the system will always use the keyboard/video card as system # console. However, the boot blocks may be dynamically configured to use a # serial port in addition to or instead of the keyboard/video console. # # By default we use COM1 as our serial console port *if* we're going to use # a serial port as our console at all. (0x3E8 = COM2) # #BOOT_COMCONSOLE_PORT= 0x3F8 # # The default serial console speed is 9600. Set the speed to a larger value # for better interactive response. # #BOOT_COMCONSOLE_SPEED= 115200 # # # By default, this points to /usr/X11R6 for XFree86 releases 3.0 or earlier. # If you have a XFree86 from before 3.0 that has the X distribution in # /usr/X386, you want to uncomment this. # #X11BASE= /usr/X386 # # # If you have Motif on your system, uncomment this. # #HAVE_MOTIF= yes # # If the default location of the Motif library (specified below) is NOT # appropriate for you, uncomment this and change it to the correct value. # If your motif is in ${X11BASE}/lib, you don't need to touch this line. # #MOTIFLIB= -L${X11BASE}/lib -lXm # # # If you are running behind a firewall, uncomment the following to leave a # hint for various make-spawned utilities that they should use passive FTP. # FTP_PASSIVE_MODE= YES # # If you're resident in the USA, this will help various ports to determine # whether or not they should attempt to comply with the various U.S. # export regulations on certain types of software which do not apply to # anyone else in the world. # USA_RESIDENT= YES # # # Port mirror sites... # # If you have a ports distribution in one or more FTP sites closeby # (such as a mirror on your own lan) you can list them here. Sites listed here # will be checked after checking your cd rom but before any other # FTP site. # #LOCAL_SITE_LIST?= ftp://ftp.my.domain.au/ \ # ftp://ftp.my.friends.domain.au/ # # Uncomment your nearest location for preferred official mirrors. These will be # checked after any local sites (set above) but before the default master sites. # #LOCALE?= Argentina #LOCALE?= Australia #LOCALE?= Brazil #LOCALE?= Canada #LOCALE?= Czech Republic #LOCALE?= Estonia #LOCALE?= Finland #LOCALE?= France #LOCALE?= Germany #LOCALE?= Holland #LOCALE?= Hong Kong #LOCALE?= Iceland #LOCALE?= Ireland #LOCALE?= Israel #LOCALE?= Japan #LOCALE?= Korea #LOCALE?= Poland #LOCALE?= Portugal #LOCALE?= Russia #LOCALE?= South Africa #LOCALE?= Sweden #LOCALE?= Taiwan #LOCALE?= UK LOCALE?= USA # # Port master sites. # # If you want your port fetches to go somewhere else than the default # (specified below) in case the distfile/patchfile was not found, # uncomment this and change it to a location nearest you. (Don't # remove the "/${DIST_SUBDIR}/" part.) # # This site will be checked as a last resort unless MASTER_SITE_OVERRIDE # is set (see below) in which case it is checked immediately after your # local and "locale" sites. # #MASTER_SITE_BACKUP?= \ # ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ # # If you want your port fetches to check the above site first (before # the MASTER_SITES specified in the port Makefiles), uncomment the # line below. You can also change the right side to point to wherever # you want. # #MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP} # # Some ports use a special variable to point to a collection of # mirrors of well-known software archives. If you have a mirror close # to you, uncomment any of the following lines and change it to that # address. (Don't remove the "/%SUBDIR%/" part.) # # Note: the right hand sides of the following lines are only for your # information. For a full list of default sites, take a look at # bsd.port.mk. # #MASTER_SITE_XCONTRIB= ftp://ftp.x.org/contrib/%SUBDIR%/ #MASTER_SITE_GNU= ftp://prep.ai.mit.edu/pub/gnu/%SUBDIR%/ #MASTER_SITE_PERL_CPAN= ftp://ftp.digital.com/pub/plan/perl/CPAN/modules/by-module/%SUBDIR%/ #MASTER_SITE_TEX_CTAN= ftp://ftp.tex.ac.uk/tex-archive/%SUBDIR%/ #MASTER_SITE_SUNSITE= ftp://sunsite.unc.edu/pub/Linux/%SUBDIR%/ # # # Kerberos IV # If you want KerberosIV (KTH eBones), define this: # #MAKE_KERBEROS4= yes # # # Kerberos5 # If you want to install Kerberos5 somewhere other than /usr/local, # define this: # #KRB5_HOME= /usr/local/krb5 # # # CVSup update flags. Edit SUPFILE settings to reflect whichever distribution # file(s) you use on your site (see /usr/share/examples/cvsup/README for more # information on CVSup and these files). To use, do "make update" in /usr/src. # SUP_UPDATE= yes # SUP= /usr/local/bin/cvsup SUPFLAGS= -g -L 2 -z #SUPFILE= /usr/share/examples/cvsup/standard-supfile SUPFILE= /etc/stable-supfile #SUPFILE1= /usr/share/examples/cvsup/secure-supfile #SUPFILE2= /usr/share/examples/cvsup/ports-supfile # # top(1) uses a hash table for the user names. The size of this hash # can be tuned to match the number of local users. The table size should # be a prime number approximately twice as large as the number of lines in # /etc/passwd. The default number is 20011. # #TOP_TABLE_SIZE= 101 Thank you for any suggestions that may help. -- Gabriel ------------------------------------------------------------------------------ Windows 95/NT: 32 bit extensions and a graphical shell for a 16 bit patch to an 8 bit operating system originally coded for a 4 bit microprocessor, written by a 2 bit company that can't stand 1 bit of competition. (UGU) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message