make depend error

2006-02-16 Thread Robert Uzzi
Any clues to this error?

[EMAIL PROTECTED] CUSTOM-SMP #  make depend
cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I.
-I../../.. -I../../../contrib/dev/acpica -I../../../contrib/altq
-I../../../contrib/ipfilter -I../../../contrib/pf
-I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd
-I../../../contrib/ngatm -I../../../dev/twa -D_KERNEL
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -finline-limit=8000
--param inline-unit-growth=100 --param large-function-growth=1000
-mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow
-mno-sse -mno-sse2 -ffreestanding ../../../i386/i386/genassym.c
NM='nm' sh ../../../kern/genassym.sh genassym.o > assym.s
awk -f ../../../tools/vnode_if.awk ../../../kern/vnode_if.src -h
awk -f ../../../tools/vnode_if.awk ../../../kern/vnode_if.src -p
awk -f ../../../tools/vnode_if.awk ../../../kern/vnode_if.src -q
CC=cc make -f ../../../dev/aic7xxx/aicasm/Makefile
MAKESRCPATH=../../../dev/aic7xxx/aicasm
Warning: Object directory not changed from original
/usr/src/sys/i386/compile/CUSTOM-SMP
cc -O2 -fno-strict-aliasing -pipe  -nostdinc -I/usr/include -I.
-I../../../dev/aic7xxx/aicasm  -c ../../../dev/aic7xxx/aicasm/aicasm.c
cc -O2 -fno-strict-aliasing -pipe  -nostdinc -I/usr/include -I.
-I../../../dev/aic7xxx/aicasm  -c
../../../dev/aic7xxx/aicasm/aicasm_symbol.c
yacc -b aicasm_gram  -d -o aicasm_gram.c
../../../dev/aic7xxx/aicasm/aicasm_gram.y
cc -O2 -fno-strict-aliasing -pipe  -nostdinc -I/usr/include -I.
-I../../../dev/aic7xxx/aicasm  -c aicasm_gram.c
../../../dev/aic7xxx/aicasm/aicasm_gram.y:1933: error: conflicting types
for 'yyerror'
aicasm_gram.c:3133: error: previous implicit declaration of 'yyerror' was
here
*** Error code 1

Stop in /usr/src/sys/i386/compile/CUSTOM-SMP.
*** Error code 1

Stop in /usr/src/sys/i386/compile/CUSTOM-SMP.


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


Re: Make depend Error

2005-12-03 Thread Kris Kennaway
On Sun, Dec 04, 2005 at 01:05:23PM +0800, Hongxing Song wrote:

> cc -c -O2 -fno-strict-aliasing -pipe -mfpmath=sse -mmmx -msse -m3dnow 
> -maccumula
> te-outgoing-args -minline-all-stringops -march=athlon-xp -Werror 

You set your COPTFLAGS to a random string..don't do this unless you
understand the nature of the changes.  In particular, you can't use
those instruction sets in the kernel.

> @/i386/i386/genassym.c:1: warning: SSE instruction set disabled, using 
> 387 arith   metics

Kris


pgpwWgFS42qor.pgp
Description: PGP signature


Make depend Error

2005-12-03 Thread Hongxing Song

#make depend


cd ../../../modules; 
MAKEOBJDIRPREFIX=/usr/src/sys/i386/compile/Dec2005/modules
KMODDIR=/boot/kernel DEBUG_FLAGS="-g" MACHINE=i386 
KERNBUILDDIR="/usr/src/sys/i3

86/compile/Dec2005" make  depend
===> 3dfx (depend)
===> aac (depend)
===> aac/aac_linux (depend)
===> accf_data (depend)
===> accf_http (depend)
===> acpi (depend)
===> acpi/acpi (depend)
cc -c -O2 -fno-strict-aliasing -pipe -mfpmath=sse -mmmx -msse -m3dnow 
-maccumula
te-outgoing-args -minline-all-stringops -march=athlon-xp -Werror 
-D_KERNEL -DKLD
_MODULE -nostdinc -I- 
-I/usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpi   
ca -DHAVE_KERNEL_OPTION_HEADERS -include 
/usr/src/sys/i386/compile/Dec2005/opt_g   
lobal.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -g 
-I/usr/sr   
c/sys/i386/compile/Dec2005 -mno-align-long-strings 
-mpreferred-stack-boundary=2
-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall 
-Wredundant-decls -W   
nested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Winline-Wcast-qual 
-fformat-extensions -std=c99 -Wsystem-headers -Werror -Wall 
-Wno-fo   rmat-y2k 
-Wno-uninitialized  @/i386/i386/genassym.c
@/i386/i386/genassym.c:1: warning: SSE instruction set disabled, using 
387 arith   metics

*** Error code 1

Stop in /usr/src/sys/modules/acpi/acpi.
*** Error code 1

Stop in /usr/src/sys/modules/acpi.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/src/sys/i386/compile/Dec2005.

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


Re: make depend error in kernel config

2005-05-16 Thread Warren
On Tue, 17 May 2005 4:55 am, you wrote:
> Warren <[EMAIL PROTECTED]> writes:
> > Up untill 1 week ago i have been able to compile my kernel perfectly
> > fine. However after running a CVSUP i am no longer able to compile my
> > kernel and i have not changed anything it since i did it quite a few
> > mnths ago. I do not have sound loaded in my kernel anywhere but rather in
> > a different spot where it seems to be loading and working perfectly fine.
> >  Any assistance would be greatful.


> "make depend" on that kernel configuration works for me...
> Maybe you need to clean your build directory?


ironically i tried that and it didnt work, however i tried it again and by 
miracle it actually allowed me to build the kernel no errors. Thnxs for the 
help.
-- 
Yours Sincerely
Shinjii
http://www.shinji.nq.nu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: make depend error in kernel config

2005-05-16 Thread Lowell Gilbert
Warren <[EMAIL PROTECTED]> writes:

> Up untill 1 week ago i have been able to compile my kernel perfectly fine.  
> However after running a CVSUP i am no longer able to compile my kernel and i 
> have not changed anything it since i did it quite a few mnths ago. I do not 
> have sound loaded in my kernel anywhere but rather in a different spot where 
> it seems to be loading and working perfectly fine.  Any assistance would be 
> greatful.

"make depend" on that kernel configuration works for me...

Maybe you need to clean your build directory?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


make depend error in kernel config

2005-05-16 Thread Warren
Up untill 1 week ago i have been able to compile my kernel perfectly fine.  
However after running a CVSUP i am no longer able to compile my kernel and i 
have not changed anything it since i did it quite a few mnths ago. I do not 
have sound loaded in my kernel anywhere but rather in a different spot where 
it seems to be loading and working perfectly fine.  Any assistance would be 
greatful.

I am running FreeBSD 5.4-STABLE & my kernel file is attached.

".depend", line 1: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /usr/src/sys/modules/sound/driver.
*** Error code 1

Stop in /usr/src/sys/modules/sound.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

-- 
Yours Sincerely
Shinjii
http://www.shinji.nq.nu
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.413.2.8 2004/10/24 17:42:08 scottl 
Exp $

machine i386
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
ident   WARREN  

# To statically compile in device wiring instead of /boot/device.hints
#hints  "GENERIC.hints" # Default places to look for devices.

options SCHED_4BSD  # 4BSD scheduler
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options SCSI_DELAY=15000# Delay (in ms) before probing SCSI
options KTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time 
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~215k to driver.
options ADAPTIVE_GIANT  # Giant mutex is adaptive.

device  apic# I/O APIC

# Bus support.  Do not remove isa, even if you have no isa slots
device  isa
device  eisa
device  pci

# Floppy drives
device  fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
options ATA_STATIC_ID   # Static device numbering

# SCSI peripherals
device  scbus   # SCSI bus (required for SCSI)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc  # AT keyboard controller
device  atkbd   # AT keyboard
device  psm # PS/2 mouse

device  vga # VGA video card driver

device  splash  # Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device  sc

# Enable this for the pcvt (VT220 compatible) console driver
#device vt
#optionsXSERVER # support for X server on a vt console
#optionsFAT_CURSOR  # start with block cursor

device  agp # support several AGP chipsets

# Floating point support - do not disable.
device  npx

# Power management support (see NOTES for more options)
#device apm
# Add suspend/resume support for the i8254.
device  pmtimer

# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device  cbb # cardbus (yenta) bridge
device  pccard  # PC Card (16-bit) bus
device  cardb

Re: make depend error - FreeBSD 5.2.1

2005-01-09 Thread Gable Barber
I reinstalled sources from sysinstall, and all works now..

Since this is the first one I have done, I wanted to learn the old
way..then the new...

Thanks for the help...

Gable


On Sun, 9 Jan 2005 16:08:53 +0100, Fabian Keil
<[EMAIL PROTECTED]> wrote:
> On Sunday 09 January 2005 15:48, Gable Barber wrote:
> > Howdy all,
> > I am trying to build a new kernel to support the on board sound on my
> > motherboard.
> >
> > When I try to " make depend " I get this error:
> >
> > make: don't know how to make depend. Stop
> >
> > Anyhelp would be greatly appreciated.
> 
> Are you sure you're running make in the right directory?
> 
> Nevertheless you might try building the Kernel the "New Way"
> as it is described in
> 
> 
> Regards
> Fabian
> 
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: make depend error - FreeBSD 5.2.1

2005-01-09 Thread Subhro



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Gable Barber
> Sent: Sunday, January 09, 2005 20:18
> To: [EMAIL PROTECTED]
> Subject: make depend error - FreeBSD 5.2.1
> 
> Howdy all,
> I am trying to build a new kernel to support the on board sound on my
> motherboard.
> 
> When I try to " make depend " I get this error:
> 
> make: don't know how to make depend. Stop
> 
> Anyhelp would be greatly appreciated.
> 
> Thank you,
> Gable
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> [EMAIL PROTECTED]" 

Use the new way of building the kernel i.e.

make buildkernel KERNCONF=my_kernel_config_file
make installkernel KERNCONF=my_kernel_config_file

Regards
S.

Indian Institute of Information Technology
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India


smime.p7s
Description: S/MIME cryptographic signature


Re: make depend error - FreeBSD 5.2.1

2005-01-09 Thread Fabian Keil
On Sunday 09 January 2005 15:48, Gable Barber wrote:
> Howdy all,
> I am trying to build a new kernel to support the on board sound on my
> motherboard.
> 
> When I try to " make depend " I get this error:
> 
> make: don't know how to make depend. Stop
> 
> Anyhelp would be greatly appreciated.

Are you sure you're running make in the right directory?

Nevertheless you might try building the Kernel the "New Way"
as it is described in 


Regards
Fabian


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


make depend error - FreeBSD 5.2.1

2005-01-09 Thread Gable Barber
Howdy all,
I am trying to build a new kernel to support the on board sound on my
motherboard.

When I try to " make depend " I get this error:

make: don't know how to make depend. Stop

Anyhelp would be greatly appreciated.

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


Re: make depend error

2004-06-01 Thread platanthera
On Tuesday 01 June 2004 04:39, john huss wrote:
> Hello,
>
> Can any of you kind teeps help me out please? I'm trying to compile my
> FreeBSD 4.9 kernel for the first time and am having problems.
>
> I am recompiling for several reasons; to learn about compiling the
> kernel; to get sound support for my isa soundcard and (finally); to
> compile in some firewall options mentioned in the handbook.

hi john,

I just don't know what the reasons for your problem might be, but would like 
to give some hints anyway.
(1) There's no need to compile sound support and firewall options statically 
into the kernel. Of course you can do so, but you can use modules for this 
purpose too. It's your choice.
(2) You can safely comment out support for hardware you don't have on your 
system.
(3) It's quite some time ago that 4.9 came out and several security related 
bugs have been discovered and fixed since then. That's why you should 
update your sources using cvsup(1) and rebuild the entire base system,  not 
only the kernel. 
After having updated the sources
- cd /usr/src
- read UPDATING and README
- cp sys/i386/conf/GENERIC sys/i386/conf/CUSTOM_KERNEL
- edit your custom kernel configuration
- make buildworld
- make buildkernel
- make installkernel
- reboot to single user mode, fsck and mount the file systems
- mergemaster -p
- cd /usr/src
- make installworld
- mergemaster

these steps will leave you with an up to date system using the GENERIC 
kernel. To create and install a custom kernel just repeat the make 
build/install kernel steps in /usr/src but add KERNCONF=CUSTOM_KERNEL. 

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


make depend error

2004-05-31 Thread john huss
Hello,
Can any of you kind teeps help me out please? I'm trying to compile my 
FreeBSD 4.9 kernel for the first time and am having problems.

I am recompiling for several reasons; to learn about compiling the 
kernel; to get sound support for my isa soundcard and (finally); to 
compile in some firewall options mentioned in the handbook.

Here's what I've done:
1. used /stand/sysintsall to install the sys/src to my pc (from CD)
2. cd /usr/src/sys/i386/conf/
3. cp GENERIC SNDK
4. emacs SNDK (made only a few changes - see below for specifics)
5. /usr/sbin/config SNDK (this went ok, no warnings or errors)
6. cd ../../compile/SNDK
7. make depend
-- and here's where I get the following error:

su-2.05b# make depend
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. 
-I../../../include -I../../contrib/dev/acpica -I../../contrib/ipfilter 
-D_KERNEL -include opt_global.h  -mpreferred-stack-boundary=2 
../../i386/i386/genassym.c
In file included from ../../sys/inttypes.h:9,
 from ../../sys/types.h:48,
 from ../../sys/param.h:64,
 from ../../i386/i386/genassym.c:44:
machine/ansi.h:118: redefinition of `__int64_t'
machine/_types.h:58: `__int64_t' previously declared here
machine/ansi.h:119: redefinition of `__uint64_t'
machine/_types.h:59: `__uint64_t' previously declared here
machine/ansi.h:130: redefinition of `__int8_t'
machine/_types.h:45: `__int8_t' previously declared here
machine/ansi.h:131: redefinition of `__uint8_t'
machine/_types.h:46: `__uint8_t' previously declared here
machine/ansi.h:132: redefinition of `__int16_t'
machine/_types.h:47: `__int16_t' previously declared here
machine/ansi.h:133: redefinition of `__uint16_t'
machine/_types.h:48: `__uint16_t' previously declared here
machine/ansi.h:134: redefinition of `__int32_t'
machine/_types.h:49: `__int32_t' previously declared here
machine/ansi.h:135: redefinition of `__uint32_t'
machine/_types.h:50: `__uint32_t' previously declared here
machine/ansi.h:137: redefinition of `__intptr_t'
machine/_types.h:77: `__intptr_t' previously declared here
machine/ansi.h:138: redefinition of `__uintptr_t'
machine/_types.h:94: `__uintptr_t' previously declared here
machine/ansi.h:147: conflicting types for `__mbstate_t'
../../sys/_types.h:100: previous declaration of `__mbstate_t'
machine/ansi.h:147: warning: redundant redeclaration of `__mbstate_t' in 
same scope
../../sys/_types.h:100: warning: previous declaration of `__mbstate_t'
In file included from ../../sys/param.h:64,
 from ../../i386/i386/genassym.c:44:
../../sys/types.h:139: redefinition of `size_t'
../../../include/stddef.h:55: `size_t' previously declared here
*** Error code 1

Stop in /usr/src/sys/compile/SNDK.
su-2.05b#

In case you wish to see what changes i've made to the kernel, here's my 
SNDK version of the GENERIC file:


#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
# 
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.54 2003/04/28 03:41:46 
simokawa Exp $

machine i386
#cpuI386_CPU
#cpuI486_CPU
#cpuI586_CPU
cpu I686_CPU
ident   SNDK
maxusers0
#makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols
options MATH_EMULATE#Support for x87 emulation
options INET#InterNETworking
options INET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
options MFS #Memory Filesystem
options MD_ROOT #MD is a potential root device
options NFS #Network Filesystem
options NFS_ROOT#NFS usable as root device, NFS required
options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660 required
options   

Re: Make depend error

2002-12-01 Thread Giorgos Keramidas
On 2002-12-01 11:33, Eric Cresson <[EMAIL PROTECTED]> wrote:
> I tried to compile a new kernel.  The "make depend" compile with
> error messages.  Can you help me ?
>
> I attach the kernel config file and sysout file.

Nice :)

The kernel configuration seems ok.  Although I'd probably rename it to
something different, since it's not the same as revision 1.246.2.48 of
GENERIC anymore.  Some stuff has been commented out from the original
stuff that a GENERIC kernel includes.

> #
> # GENERIC -- Generic kernel configuration file for FreeBSD/i386
> [...]
> # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.48 2002/08/31 20:28:26 obrien Exp $

> SERVER# /usr/sbin/config KERNFW
> Don't forget to do a ``make depend''
> Kernel build directory is ../../compile/KERNFW
> SERVER# cd ../../compile/KERNFW
> SERVER# make depend
> cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
>-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  
>-nostdinc -I- -I. -I../.. -I/usr/include -I../../contrib/ipfilter  -D_KERNEL -include 
>opt_global.h -elf  -mpreferred-stack-boundary=2 ../../i386/i386/genassym.c
> sh ../../kern/genassym.sh genassym.o > assym.s
> rm -f .newdep
> make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | xargs  mkdep -a -f .newdep -O -pipe  
>-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
>-Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. 
>-I../.. -I/usr/include -I../../contrib/ipfilter  -D_KERNEL -include opt_global.h -elf 
> -mpreferred-stack-boundary=2
> ../../net/if_mib.c:147: unterminated macro call
> ../../net/if_mib.c:148: unterminated string or character constant
> ../../net/if_mib.c:1: possible real start of unterminated constant
> ../../net/if_mib.c:148: macro `SYSCTL_OID' used with too many (3603) args
> mkdep: compile failed
> *** Error code 1
>
> Stop in /usr/src/sys/compile/KERNFW.

Hmmm, have you CVSup'ed recently?  If yes, did it finish correctly?
What revision does the following print:

# ident /usr/src/sys/net/if_mib.c

- Giorgos

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Make depend error

2002-12-01 Thread Eric Cresson
Hi,

  I tried to compile a new kernel.
The "make depend" compile with error messages.
Can you help me ?

I attach the kernel config file and sysout file.

  Thank you

#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.48 2002/08/31 20:28:26 obrien Exp $

machine i386
#cpuI386_CPU
#cpuI486_CPU
cpu I586_CPU
#cpuI686_CPU
ident   GENERIC
maxusers0

#makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols

#optionsMATH_EMULATE#Support for x87 emulation
options INET#InterNETworking
options INET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
options MFS #Memory Filesystem
options MD_ROOT #MD is a potential root device
#optionsNFS #Network Filesystem
#optionsNFS_ROOT#NFS usable as root device, NFS required
#optionsMSDOSFS #MSDOS Filesystem
#optionsCD9660  #ISO 9660 Filesystem
#optionsCD9660_ROOT #CD-ROM usable as root, CD9660 required
options PROCFS  #Process filesystem
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
#optionsSCSI_DELAY=15000#Delay (in ms) before probing SCSI
options UCONSOLE#Allow users to grab the console
options USERCONFIG  #boot -c editor
options VISUAL_USERCONFIG   #visual boot -c editor
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B#Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM#Rate limit bad replies
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in debug 
# output.  Adds ~215k to driver.

# To make an SMP kernel, the next two are needed
#optionsSMP # Symmetric MultiProcessor Kernel
#optionsAPIC_IO # Symmetric (APIC) I/O

device  isa
device  eisa
device  pci

# Floppy drives
device  fdc0at isa? port IO_FD1 irq 6 drq 2
device  fd0 at fdc0 drive 0
#device fd1 at fdc0 drive 1
#
# If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy,
# don't use the above line for fdc0 but the following one:
#device fdc0

# ATA and ATAPI devices
device  ata0at isa? port IO_WD1 irq 14
device  ata1at isa? port IO_WD2 irq 15
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
options ATA_STATIC_ID   #Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc0 at isa? port IO_KBD
device  atkbd0  at atkbdc? irq 1 flags 0x1
device  psm0at atkbdc? irq 12

device  vga0at isa?

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
device  sc0 at isa? flags 0x100

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device vt0 at isa?
#optionsXSERVER # support for X server on a vt console
#optionsFAT_CURSOR

Re: make depend error when compiling 4.6 kernel

2002-09-22 Thread Duncan Anker

On Mon, 2002-09-23 at 15:22, Cory Banks wrote:
> That didn't work. I got the same error after recvsuping the source.
> 
> -Cory Banks
> 

What version are you running the compilation under? What version did you
CVSup? If you're new to this, you should steer well clear of CURRENT and
even be a little dubious of STABLE.

Your cvsupfile (let's say it's in /etc) should look something like this:

*default  host=cvsup.FreeBSD.org
*default  base=/usr
*default  prefix=/usr
*default  release=cvs
*default  tag=RELENG_4_6
*default  delete use-rel-suffix

src-all


then:

# cvsup -g -L 2 /etc/cvsupfile
# rm -r /usr/obj/*
# cd /usr/src
# make buildworld
# make buildkernel KERNCONF=VB



If you still have problems there is something decidedly weird going on.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: make depend error when compiling 4.6 kernel

2002-09-22 Thread Cory Banks

That didn't work. I got the same error after recvsuping the source.

-Cory Banks

At 07:30 PM 9/22/2002 -0400, you wrote:
>Copy the kernel to your home directory and rm -r /usr/src/*.  Then recvsup 
>the source.  Try to build again.  This has taken care of 90% of my 
>buildkernel problems before.
>
>-cs
>
>Cory Banks wrote:
>
>>Hi, I'm a little new at this, so please bear with me.
>>
>>I'm trying to compile a new kernel for 4.6. I've followed the handbook's 
>>instructions on editing the configuration file, and tried both methods 
>>for compiling and installing the kernel. But when i run make depend 
>>(first method obviously) i get this:
>>
>>rm -f .olddep
>>if [ -f .depend ]; then mv .depend .olddep; fi
>>make _kernel-depend
>>cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs 
>>-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline 
>>-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../.. 
>>-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter 
>>-D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 
>>../../../i386/i386/genassym.c
>>In file included from ../../../sys/buf.h:271,
>> from ../../../i386/i386/genassym.c:46:
>>../../../sys/proc.h:117: field `ar_args' has incomplete type
>>*** Error code 1
>>
>>Stop in /usr/src/sys/i386/compile/VB.
>>*** Error code 1
>>
>>Stop in /usr/src/sys/i386/compile/VB.
>>
>>VB is the name of the kernel i'm trying to make, obviously. I get the 
>>same error when I use the buildkernel method, and i get the same error 
>>when i try either the new kernel or the GENERIC kernel.
>>
>>Any help you can give will be greatly appreciated. Thanks in advance.
>>
>>Cory Banks
>>
>>
>>To Unsubscribe: send mail to [EMAIL PROTECTED]
>>with "unsubscribe freebsd-questions" in the body of the message
>>
>
>
>
>
>To Unsubscribe: send mail to [EMAIL PROTECTED]
>with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: make depend error when compiling 4.6 kernel

2002-09-22 Thread Chris Strzelczyk

Copy the kernel to your home directory and rm -r /usr/src/*.  Then 
recvsup the source.  Try to build again.  This has taken care of 90% of 
my buildkernel problems before.

-cs

Cory Banks wrote:

> Hi, I'm a little new at this, so please bear with me.
>
> I'm trying to compile a new kernel for 4.6. I've followed the 
> handbook's instructions on editing the configuration file, and tried 
> both methods for compiling and installing the kernel. But when i run 
> make depend (first method obviously) i get this:
>
> rm -f .olddep
> if [ -f .depend ]; then mv .depend .olddep; fi
> make _kernel-depend
> cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs 
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline 
> -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../.. 
> -I../../../dev -I../../../contrib/dev/acpica 
> -I../../../contrib/ipfilter -D_KERNEL -include opt_global.h 
> -mpreferred-stack-boundary=2 ../../../i386/i386/genassym.c
> In file included from ../../../sys/buf.h:271,
> from ../../../i386/i386/genassym.c:46:
> ../../../sys/proc.h:117: field `ar_args' has incomplete type
> *** Error code 1
>
> Stop in /usr/src/sys/i386/compile/VB.
> *** Error code 1
>
> Stop in /usr/src/sys/i386/compile/VB.
>
> VB is the name of the kernel i'm trying to make, obviously. I get the 
> same error when I use the buildkernel method, and i get the same error 
> when i try either the new kernel or the GENERIC kernel.
>
> Any help you can give will be greatly appreciated. Thanks in advance.
>
> Cory Banks
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>
>




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



make depend error when compiling 4.6 kernel

2002-09-22 Thread Cory Banks

Hi, I'm a little new at this, so please bear with me.

I'm trying to compile a new kernel for 4.6. I've followed the handbook's 
instructions on editing the configuration file, and tried both methods 
for compiling and installing the kernel. But when i run make depend 
(first method obviously) i get this:

rm -f .olddep
if [ -f .depend ]; then mv .depend .olddep; fi
make _kernel-depend
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../../.. 
-I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter 
-D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 
../../../i386/i386/genassym.c
In file included from ../../../sys/buf.h:271,
 from ../../../i386/i386/genassym.c:46:
../../../sys/proc.h:117: field `ar_args' has incomplete type
*** Error code 1

Stop in /usr/src/sys/i386/compile/VB.
*** Error code 1

Stop in /usr/src/sys/i386/compile/VB.

VB is the name of the kernel i'm trying to make, obviously. I get the 
same error when I use the buildkernel method, and i get the same error 
when i try either the new kernel or the GENERIC kernel.

Any help you can give will be greatly appreciated. Thanks in advance.

Cory Banks


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message