Re: 5.1-CURRENT kernel compile error

2004-01-03 Thread Ryan Sommers
On Thu, 2004-01-01 at 22:43, Philip M. Gollucci wrote:
 vegeta# cd /usr/share/example/cvsup
 vegeta# cvsup -g -L2 standard-supfile
 vegeta# cd /usr/src/sys/i386/conf
 vegeta# config VEGETA
 vegeta# cd ../compile/VEGETA
 vegeta# make depend
 vegeta# make

I would recommend trying the official way of building the source
first. What did you CVSUP to? Current? Try doing the following build
order:

cd /usr/src
edit your config (sys/i386/conf/VEGETA)
make buildworld
make buildkernel
make installkernel
reboot in single user
make installworld
mergemaster
reboot



mergemaster

-- 
Ryan leadZERO Sommers
Gamer's Impact President
[EMAIL PROTECTED]
ICQ: 1019590
AIM/MSN: leadZERO

-= http://www.gamersimpact.com =-


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.1-CURRENT kernel compile error

2004-01-03 Thread Doug White
On Thu, 1 Jan 2004, Philip M. Gollucci wrote:

 vegeta# cd /usr/share/example/cvsup
 vegeta# cvsup -g -L2 standard-supfile

Did you check the standard-supfile before using it? You may have gotten
source that you didn't think you did. In general you should copy this to a
different location and edit it first to make sure you get the right thing.

 if_em.o: In function `em_process_receive_interrupts':
 if_em.o(.text+0x47f5): undefined reference to `vlan_tag_alloc'

I think you have the wrong source.  There is no vlan_tag_alloc in that
entire file, or in the entire kernel (if fxr.watson.org is to be
believed).  Check standard-supfile, delete your compile directory, and try
updating again.

-- 
Doug White|  FreeBSD: The Power to Serve
[EMAIL PROTECTED]  |  www.FreeBSD.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.1-CURRENT kernel compile error

2004-01-02 Thread Philip M. Gollucci
vegeta# cd /usr/share/example/cvsup
vegeta# cvsup -g -L2 standard-supfile
vegeta# cd /usr/src/sys/i386/conf
vegeta# config VEGETA
vegeta# cd ../compile/VEGETA
vegeta# make depend
vegeta# make
[lots of output snipped]
linking kernel
if_em.o: In function `em_process_receive_interrupts':
if_em.o(.text+0x47f5): undefined reference to `vlan_tag_alloc'
*** Error code 1
Note: the following Kernel Config file has worked for quite some time.
Also a yahoo/google and google group search returns 0 (ZERO) results on 
this.
That may be a first.

Thanks in advance

Philip

P.S.
 Please CC me so I'm sure to see the response.
Kernel Config for VEGETA:
###
## Architecture 
###
###
machine i386
maxusers256
cpu I686_CPU# aka Pentium Pro(tm)
ident   PHILIP

#options MATH_EMULATE#Support for x87 emulation

device  npx

###
# Compatibility 
###
###
options COMPAT_43
options COMPAT_FREEBSD4
options SCHED_4BSD

###
# Networking 
##
###
options INET#Internet communications protocols
options IPSEC   #IP security
options IPSEC_ESP   #IP security (crypto; define w/ IP

device  ether   #Generic Ethernet
device  loop#Network loopback device
device  miibus
device  fxp
device  em   ## ** ERROR IS RELATED TO THUIS 
#

###
## Firewalls 
##
###
options IPFIREWALL  #firewall
options IPFIREWALL_VERBOSE  #enable logging to syslogd(8)
options IPFIREWALL_VERBOSE_LIMIT=100#limit verbosity

options IPDIVERT#divert sockets
options IPFILTER#ipfilter support
options IPFILTER_LOG#ipfilter logging
options PFIL_HOOKS
options IPSTEALTH   #support for stealth forwarding
options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN
###
# FileSystems 
#
###
options FFS #Memory File System
options CD9660  #ISO 9660 filesystem
options PSEUDOFS
options PROCFS  #Process filesystem

options SOFTUPDATES
options UFS_DIRHASH
options QUOTA   #enable disk quotas
###
## ATA Devices 

###
device  isa
device  pci

device  ata
device  atadisk
device  ataraid # RAID
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
options ATA_STATIC_ID
###
### Misc Devices 
##
###
device  pty #Pseudo ttys
device  speaker #Play IBM BASIC-style noises out your 
speaker
device  md  #Memory/malloc disk
device  snp #Snoop device - to look at pty/vty/etc..

device  atkbdc
device  atkbd
device  psm
device  vga
device  agp
device  random
###
## Terminal Options 
###
###
device  sc
options MAXCONS=16  # number of virtual consoles

options SYSVSHM #SYSV-style shared memory
options SYSVMSG