Date: Sat, 19 Feb 2000 01:15:15 +0100 From: rene@xs4all.nl To: questions@freebsd.org Subject: kernel wont compile (3.4) Message-ID: <1852.000219@xs4all.nl>
next in thread | raw e-mail | index | archive | help
Hello questions, I'm attempting to use PPPoE (http://www.freebsd.org/handbook/pppoe.html), and the docs tell me to recompile my kernel with specific options. I previously ran 3.2-stable, and just today leeched the 3.4-stable from ftp.freebsd.org/pub/FreeBSD/FreeBSD-stable/src as a tar, extracted it using [root@messenger:/usr date/time: Sat Feb 19/01:01:22] 70# tar xvf src.tar src [root@messenger:/usr date/time: Sat Feb 19/01:02:05] 71# ll src.tar -rwxr----- 1 root wheel - 211094016 Feb 18 14:28:06 2000 src.tar Make world succeeded. [root@messenger:/usr/src/sys/compile/MESSENGER-EXPERIMENTAL date/time: Sat Feb 19/00:51:09] 58# make depend rm -f .newdep <most of the output omitted> mv -f .newdep .depend [root@messenger:/usr/src/sys/compile/MESSENGER-EXPERIMENTAL date/time: Sat Feb 19/00:52:01] 59# make loading kernel strtoq.o: In function `strtoq': strtoq.o(.text+0x0): multiple definition of `strtoq' subr_scanf.o(.text+0xd6c): first defined here /usr/libexec/elf/ld: Warning: size of symbol `strtoq' changed from 597 to 602 in strtoq.o strtouq.o: In function `strtouq': strtouq.o(.text+0x0): multiple definition of `strtouq' subr_scanf.o(.text+0xb50): first defined here /usr/libexec/elf/ld: Warning: size of symbol `strtouq' changed from 537 to 542 in strtouq.o ng_tee.o: In function `ngt_rcvdata': ng_tee.o(.text+0x341): undefined reference to `m_dup' i686_mem.o: In function `i686_mrinit': i686_mem.o(.text+0xd21): undefined reference to `M_MEMDESC' i686_mem.o: In function `i686_mem_drvinit': i686_mem.o(.text+0xe91): undefined reference to `mem_range_softc' *** Error code 1 Stop. **** That's where I get less happy ;) **** [root@messenger:/usr/src/sys/i386/conf date/time: Sat Feb 19/00:56:27] 68# more MESSENGER-EXPERIMENTAL machine "i386" cpu "I586_CPU" ident MESSENGER-EXPERIMENTAL maxusers 32 options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options MFS #Memory Filesystem options NFS #Network Filesystem options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=5000 #Be pessimistic about Joe SCSI device options UCONSOLE #Allow users to grab the console options FAILSAFE #Be conservative options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options QUOTA config kernel root on wd0 # To make an SMP kernel, the next two are needed #options SMP # Symmetric MultiProcessor Kernel #options APIC_IO # Symmetric (APIC) I/O # Optionally these may need tweaked, (defaults shown): #options NCPU=2 # number of CPUs #options NBUS=4 # number of busses #options NAPIC=1 # number of IO APICs #options NINTR=24 # number of INTs options "NO_F00F_HACK" options "MD5" controller isa0 controller pnp0 controller eisa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 disk fd0 at fdc0 drive 0 #disk fd1 at fdc0 drive 1 #options "CMD640" # work around CMD640 chip deficiency controller wdc0 at isa? port "IO_WD1" bio irq 14 disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 controller wdc1 at isa? port "IO_WD2" bio irq 15 flags 0xa0ffa0ff disk wd2 at wdc1 drive 0 disk wd3 at wdc1 drive 1 options ATAPI #Enable ATAPI support for IDE bus options ATAPI_STATIC #Don't do it as an LKM device acd0 #IDE CD-ROM device wfd0 #IDE Floppy (e.g. LS-120) # A single entry for any of these controllers (ncr, ahb, ahc) is # sufficient for any number of installed devices. controller ahc0 controller scbus0 device vp0 device da0 device sa0 device pass0 device cd0 #Only need one of these, the code dynamically grows device wt0 at isa? port 0x300 bio irq 5 drq 1 device mcd0 at isa? port 0x300 bio irq 10 controller matcd0 at isa? port 0x230 bio device scd0 at isa? port 0x230 bio # atkbdc0 controlls both the keyboard and the PS/2 mouse controller atkbdc0 at isa? port IO_KBD tty device atkbd0 at isa? tty irq 1 device psm0 at isa? tty irq 12 device vga0 at isa? port ? conflicts # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? tty device npx0 at isa? port IO_NPX irq 13 #numeric CPU support # Serial port device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 device sio1 at isa? port "IO_COM2" tty irq 3 device sio2 at isa? disable port "IO_COM3" tty irq 5 device sio3 at isa? disable port "IO_COM4" tty irq 9 # Parallel port device ppc0 at isa? port? flags 0x40 net irq 7 controller ppbus0 device lpt0 at ppbus? device plip0 at ppbus? device ppi0 at ppbus? #controller vpo0 at ppbus? # # The following Ethernet NICs are all PCI devices. # device vx0 # 3Com 3c590, 3c595 (``Vortex'') device xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'') # Order is important here due to intrusive probes, do *not* alphabetize # this list of network interfaces until the probes have been fixed. # Right now it appears that the ie0 must be probed before ep0. See # revision 1.20 of this file. device ep0 at isa? port 0x300 net irq 10 pseudo-device loop pseudo-device ether pseudo-device ppp 2 pseudo-device tun 2 pseudo-device pty 16 #pseudo-device gzip # Exec gzipped a.out's pseudo-device vn #Vnode driver (turns a file into a device) #pseudo-device ccd 4 #Concatenated disk device # KTRACE enables the system-call tracing facility ktrace(2). # This adds 4 KB bloat to your kernel, and slightly increases # the costs of each syscall. options KTRACE #kernel tracing # This provides support for System V shared memory and message queues. # options SYSVSHM options SYSVMSG options SYSVSEM # Options for PPP over Ethernet (PPPoE), as defined by http://www.freebsd.org/handbook/pppoe.html options NETGRAPH options NETGRAPH_ASYNC options NETGRAPH_BPF options NETGRAPH_CISCO options NETGRAPH_ECHO options NETGRAPH_FRAME_RELAY options NETGRAPH_HOLE options NETGRAPH_IFACE options NETGRAPH_KSOCKET options NETGRAPH_LMI options NETGRAPH_PPP options NETGRAPH_PPPOE options NETGRAPH_PPTPGRE options "NETGRAPH_RFC1490" options NETGRAPH_SOCKET options NETGRAPH_TEE options NETGRAPH_TTY options NETGRAPH_UI options NETGRAPH_VJC # The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be # aware of the legal and administrative consequences of enabling this # option. The number of devices determines the maximum number of # simultaneous BPF clients programs runnable. pseudo-device bpfilter 4 #Berkeley packet filter Greetings, rene <mailto:rene@xs4all.nl> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1852.000219>