From owner-freebsd-mobile Sun Jan 23 8: 3:59 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from goose.prod.itd.earthlink.net (goose.prod.itd.earthlink.net [207.217.120.18]) by hub.freebsd.org (Postfix) with ESMTP id 3890714D19 for ; Sun, 23 Jan 2000 08:03:57 -0800 (PST) (envelope-from prmoyer@mail.earthlink.net) Received: from mail.earthlink.net (ip81.wilmington3.de.pub-ip.psi.net [38.30.157.81]) by goose.prod.itd.earthlink.net (8.9.3/8.9.3) with ESMTP id IAA06548 for ; Sun, 23 Jan 2000 08:03:54 -0800 (PST) Message-Id: <200001231603.IAA06548@goose.prod.itd.earthlink.net> From: "Philip R. Moyer" Reply-To: pmoyer@hyperon.com To: freebsd-mobile@freebsd.org Subject: PAO3 + 3.4-STABLE Date: Sun, 23 Jan 2000 11:10:16 -0500 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Forgive me if this is a silly question, but I have cvsupped the latest 3.4-STABLE sources from FreeBSD, then cvsupped the latest PAO3 sources from Japan (1). Everything goes well until I'm building the kernel, when I get errors from apm.c: Script started on Sun Jan 23 10:59:26 2000 penrose# make cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -DVM_STACK -include opt_global.h -elf ../../i386/apm/apm.c ../../i386/apm/apm.c: In function `apm_do_suspend': ../../i386/apm/apm.c:538: structure has no member named `suspending' ../../i386/apm/apm.c:546: structure has no member named `suspending' ../../i386/apm/apm.c: In function `apm_resume': ../../i386/apm/apm.c:669: structure has no member named `suspending' ../../i386/apm/apm.c: In function `apmattach': ../../i386/apm/apm.c:1089: `APM_FORCE_APM10_FLAG' undeclared (first use this function) ../../i386/apm/apm.c:1089: (Each undeclared identifier is reported only once ../../i386/apm/apm.c:1089: for each function it appears in.) ../../i386/apm/apm.c:1095: `APM_NO_CLOCK_ADJUST_FLAG' undeclared (first use this function) ../../i386/apm/apm.c:1101: `APM_FORCE_64K_SEG_FLAG' undeclared (first use this function) *** Error code 1 Stop. Script done on Sun Jan 23 10:59:32 2000 I'm certain that I'm just doing something foolish with either cvsup or the installation process, but I'm not sure what it is. Could anyone provide some advice? Cheers, Phil (1) If it's important, I follow this procedure (from README.install) for building the PAO support. >0. Extract this package into somewhere (we use /usr/src here) Everything goes in /usr/local/src/PAO3. I use cvsup with the following supfile (comments removed): *default host=cvsup.jp.FreeBSD.org *default base=/usr/local/src *default prefix=/usr/local/src *default release=cvs tag=. *default delete use-rel-suffix *default compress jp-pao3 Now, according to the PAO home page, the head of that tree should be the 3.4-RELEASE source. >1. Prepare kernel source files (/usr/src/sys) > > a) How to do using /stand/sysinstall > b) Extract files from distribution CD-ROM (e.g. ATAPI CD-ROM) > c) Restore "make backup-sys", see below. I used cvsup to load 3.4-STABLE. Here's the supfile (comments removed): *default host=cvsup3.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_3 *default delete use-rel-suffix *default compress src-all >2. Backup original /usr/src/sys file if needed > # make backup-sys Done. >3. Apply kernel-patch to kernel source tree > > # make patch Done. >4. Copy new include files to /usr/include > > # cd /usr/src/PAO3 > # make install-include Done. >5. Modify kernel config file for your environment > > /usr/src/sys/i386/conf/PAO_ALL is sample configuration file. > * Don't remove "pseudo-device card 1" and "device pcic0" ! > > # cd /usr/src/sys/i386/conf > # cp PAO_ALL "your config file name" > # vi "your config file name" Done. Added ICMP_BANDLIM to deflect stream.c attacks. >6. Compile your kernel > > # config "your config file name" > # cd ../../compile/"your config file name" > # make depend > # make Boom. There's the problem. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message