Re: kernel build problem

2005-05-12 Thread Cristiano Deana
2005/5/11, Ananth.G [EMAIL PROTECTED]:

 i have attached my config file.

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

DO NOT REMOVE ISA...

 #device isa

uncomment the line above

 device  umass   # Disks/Mass storage - Requires scbus and da

REQUIRES scbus and da

 # SCSI peripherals
 #device scbus   # SCSI bus (required for SCSI)
 #device da  # Direct Access (disks)

uncomment lines above...

...and read comments on kernel config file

-- 
Cris, member of G.U.F.I
Italian FreeBSD User Group
http://www.gufi.org/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


kernel build problem

2005-05-11 Thread Ananth.G
dear all,
  im having trouble compiling kernel on 5.3 , i did a `make depend` and 
`make`.
The following is the error that i got, i might have missed a module  
i guess...

cc -c -O -pipe -march=pentiumpro -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 -D_KERNEL 
-include opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000  
-mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding 
-Werror  vers.c
linking kernel
umass.o(.text+0x1b73): In function `umass_cam_attach_sim':
: undefined reference to `cam_simq_alloc'
umass.o(.text+0x1bc4): In function `umass_cam_attach_sim':
: undefined reference to `cam_sim_alloc'
umass.o(.text+0x1bd3): In function `umass_cam_attach_sim':
: undefined reference to `cam_simq_free'
umass.o(.text+0x1bf5): In function `umass_cam_attach_sim':
: undefined reference to `xpt_bus_register'
umass.o(.text+0x1c21): In function `umass_cam_rescan_callback':
: undefined reference to `xpt_free_path'
umass.o(.text+0x1c94): In function `umass_cam_rescan':
: undefined reference to `xpt_periph'
umass.o(.text+0x1ca3): In function `umass_cam_rescan':
: undefined reference to `xpt_create_path'
umass.o(.text+0x1cbf): In function `umass_cam_rescan':
: undefined reference to `xpt_setup_ccb'
umass.o(.text+0x1cdc): In function `umass_cam_rescan':
: undefined reference to `xpt_action'
umass.o(.text+0x1dda): In function `umass_cam_detach_sim':
: undefined reference to `xpt_bus_deregister'
umass.o(.text+0x1df6): In function `umass_cam_detach_sim':
: undefined reference to `cam_sim_free'
umass.o(.text+0x1e4d): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x1ec4): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x1ee5): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x1f76): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x204a): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x208e): more undefined references to `xpt_done' follow
umass.o(.text+0x2254): In function `umass_cam_action':
: undefined reference to `cam_calc_geometry'
umass.o(.text+0x225c): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x226d): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x227e): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x22ec): In function `umass_cam_cb':
: undefined reference to `xpt_done'
umass.o(.text+0x23db): In function `umass_cam_cb':
: undefined reference to `xpt_done'
umass.o(.text+0x23ff): more undefined references to `xpt_done' follow
fdc.o(.text+0xf33): In function `fdc_worker':
: undefined reference to `isa_dmadone'
fdc.o(.text+0x199b): In function `fdc_worker':
: undefined reference to `isa_dmastart'
fdc.o(.text+0x1d08): In function `fdc_worker':
: undefined reference to `isa_dmadone'
fdc.o(.text+0x2cd4): In function `fdc_detach':
: undefined reference to `isa_dma_release'
fdc.o(.text+0x2ead): In function `fdc_attach':
: undefined reference to `isa_dma_acquire'
fdc.o(.text+0x2eca): In function `fdc_attach':
: undefined reference to `isa_dmainit'
fdc_acpi.o(.text+0x1d6): In function `fdc_acpi_attach':
: undefined reference to `fdc_isa_alloc_resources'
ppc.o(.text+0xff7): In function `ppcintr':
: undefined reference to `isa_dmadone'
ppc.o(.text+0x11b3): In function `ppc_write':
: undefined reference to `isa_dmastart'
ppc.o(.text+0x1214): In function `ppc_write':
: undefined reference to `isa_dmadone'
ppc.o(.text+0x1963): In function `ppc_attach':
: undefined reference to `isa_dma_acquire'
ppc.o(.text+0x1976): In function `ppc_attach':
: undefined reference to `isa_dmainit'
sio.o(.text+0x62a): In function `sioprobe':
: undefined reference to `isa_irq_pending'
sio.o(.text+0x7fa): In function `sioprobe':
: undefined reference to `isa_irq_pending'
sio.o(.text+0x81c): In function `sioprobe':
: undefined reference to `isa_irq_pending'
sio.o(.text+0x856): In function `sioprobe':
: undefined reference to `isa_irq_pending'
*** Error code 1

Stop in /usr/src/sys/i386/compile/kernel_opt.
thanks in advance,
ananth.g
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kernel build problem

2005-05-11 Thread Sergey S. Ropchan
Content of kernel config please ? It's look like wrong option in config.


 dear all,
im having trouble compiling kernel on 5.3 , i did a `make depend` and 
 `make`.
 The following is the error that i got, i might have missed a module  
 i guess...
 
 cc -c -O -pipe -march=pentiumpro -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 -D_KERNEL 
 -include opt_global.h -fno-common -finline-limit=8000 --param 
 inline-unit-growth=100 --param large-function-growth=1000  
 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding 
 -Werror  vers.c
 linking kernel
 umass.o(.text+0x1b73): In function `umass_cam_attach_sim':
 : undefined reference to `cam_simq_alloc'
 umass.o(.text+0x1bc4): In function `umass_cam_attach_sim':
 : undefined reference to `cam_sim_alloc'
 umass.o(.text+0x1bd3): In function `umass_cam_attach_sim':
 : undefined reference to `cam_simq_free'
 umass.o(.text+0x1bf5): In function `umass_cam_attach_sim':
 : undefined reference to `xpt_bus_register'
 umass.o(.text+0x1c21): In function `umass_cam_rescan_callback':
 : undefined reference to `xpt_free_path'
 umass.o(.text+0x1c94): In function `umass_cam_rescan':
 : undefined reference to `xpt_periph'
 umass.o(.text+0x1ca3): In function `umass_cam_rescan':
 : undefined reference to `xpt_create_path'
 umass.o(.text+0x1cbf): In function `umass_cam_rescan':
 : undefined reference to `xpt_setup_ccb'
 umass.o(.text+0x1cdc): In function `umass_cam_rescan':
 : undefined reference to `xpt_action'
 umass.o(.text+0x1dda): In function `umass_cam_detach_sim':
 : undefined reference to `xpt_bus_deregister'
 umass.o(.text+0x1df6): In function `umass_cam_detach_sim':
 : undefined reference to `cam_sim_free'
 umass.o(.text+0x1e4d): In function `umass_cam_action':
 : undefined reference to `xpt_done'
 umass.o(.text+0x1ec4): In function `umass_cam_action':
 : undefined reference to `xpt_done'
 umass.o(.text+0x1ee5): In function `umass_cam_action':
 : undefined reference to `xpt_done'
 umass.o(.text+0x1f76): In function `umass_cam_action':
 : undefined reference to `xpt_done'
 umass.o(.text+0x204a): In function `umass_cam_action':
 : undefined reference to `xpt_done'
 umass.o(.text+0x208e): more undefined references to `xpt_done' follow
 umass.o(.text+0x2254): In function `umass_cam_action':
 : undefined reference to `cam_calc_geometry'
 umass.o(.text+0x225c): In function `umass_cam_action':
 : undefined reference to `xpt_done'
 umass.o(.text+0x226d): In function `umass_cam_action':
 : undefined reference to `xpt_done'
 umass.o(.text+0x227e): In function `umass_cam_action':
 : undefined reference to `xpt_done'
 umass.o(.text+0x22ec): In function `umass_cam_cb':
 : undefined reference to `xpt_done'
 umass.o(.text+0x23db): In function `umass_cam_cb':
 : undefined reference to `xpt_done'
 umass.o(.text+0x23ff): more undefined references to `xpt_done' follow
 fdc.o(.text+0xf33): In function `fdc_worker':
 : undefined reference to `isa_dmadone'
 fdc.o(.text+0x199b): In function `fdc_worker':
 : undefined reference to `isa_dmastart'
 fdc.o(.text+0x1d08): In function `fdc_worker':
 : undefined reference to `isa_dmadone'
 fdc.o(.text+0x2cd4): In function `fdc_detach':
 : undefined reference to `isa_dma_release'
 fdc.o(.text+0x2ead): In function `fdc_attach':
 : undefined reference to `isa_dma_acquire'
 fdc.o(.text+0x2eca): In function `fdc_attach':
 : undefined reference to `isa_dmainit'
 fdc_acpi.o(.text+0x1d6): In function `fdc_acpi_attach':
 : undefined reference to `fdc_isa_alloc_resources'
 ppc.o(.text+0xff7): In function `ppcintr':
 : undefined reference to `isa_dmadone'
 ppc.o(.text+0x11b3): In function `ppc_write':
 : undefined reference to `isa_dmastart'
 ppc.o(.text+0x1214): In function `ppc_write':
 : undefined reference to `isa_dmadone'
 ppc.o(.text+0x1963): In function `ppc_attach':
 : undefined reference to `isa_dma_acquire'
 ppc.o(.text+0x1976): In function `ppc_attach':
 : undefined reference to `isa_dmainit'
 sio.o(.text+0x62a): In function `sioprobe':
 : undefined reference to `isa_irq_pending'
 sio.o(.text+0x7fa): In function `sioprobe':
 : undefined reference to `isa_irq_pending'
 sio.o(.text+0x81c): In function `sioprobe':
 : undefined reference to `isa_irq_pending'
 sio.o(.text+0x856): In function `sioprobe':
 : undefined reference to `isa_irq_pending'
 *** Error code 1
 
 Stop in /usr/src/sys/i386/compile/kernel_opt.
 
 thanks in advance,
 ananth.g
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___

Re: kernel build problem

2005-05-11 Thread Ananth.G
i have attached my config file.
regrds,
ananth.g
Sergey S. Ropchan wrote:
Content of kernel config please ? It's look like wrong option in config.
 

dear all,
  im having trouble compiling kernel on 5.3 , i did a `make depend` and 
`make`.
The following is the error that i got, i might have missed a module  
i guess...

cc -c -O -pipe -march=pentiumpro -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 -D_KERNEL 
-include opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000  
-mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding 
-Werror  vers.c
linking kernel
umass.o(.text+0x1b73): In function `umass_cam_attach_sim':
: undefined reference to `cam_simq_alloc'
umass.o(.text+0x1bc4): In function `umass_cam_attach_sim':
: undefined reference to `cam_sim_alloc'
umass.o(.text+0x1bd3): In function `umass_cam_attach_sim':
: undefined reference to `cam_simq_free'
umass.o(.text+0x1bf5): In function `umass_cam_attach_sim':
: undefined reference to `xpt_bus_register'
umass.o(.text+0x1c21): In function `umass_cam_rescan_callback':
: undefined reference to `xpt_free_path'
umass.o(.text+0x1c94): In function `umass_cam_rescan':
: undefined reference to `xpt_periph'
umass.o(.text+0x1ca3): In function `umass_cam_rescan':
: undefined reference to `xpt_create_path'
umass.o(.text+0x1cbf): In function `umass_cam_rescan':
: undefined reference to `xpt_setup_ccb'
umass.o(.text+0x1cdc): In function `umass_cam_rescan':
: undefined reference to `xpt_action'
umass.o(.text+0x1dda): In function `umass_cam_detach_sim':
: undefined reference to `xpt_bus_deregister'
umass.o(.text+0x1df6): In function `umass_cam_detach_sim':
: undefined reference to `cam_sim_free'
umass.o(.text+0x1e4d): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x1ec4): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x1ee5): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x1f76): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x204a): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x208e): more undefined references to `xpt_done' follow
umass.o(.text+0x2254): In function `umass_cam_action':
: undefined reference to `cam_calc_geometry'
umass.o(.text+0x225c): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x226d): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x227e): In function `umass_cam_action':
: undefined reference to `xpt_done'
umass.o(.text+0x22ec): In function `umass_cam_cb':
: undefined reference to `xpt_done'
umass.o(.text+0x23db): In function `umass_cam_cb':
: undefined reference to `xpt_done'
umass.o(.text+0x23ff): more undefined references to `xpt_done' follow
fdc.o(.text+0xf33): In function `fdc_worker':
: undefined reference to `isa_dmadone'
fdc.o(.text+0x199b): In function `fdc_worker':
: undefined reference to `isa_dmastart'
fdc.o(.text+0x1d08): In function `fdc_worker':
: undefined reference to `isa_dmadone'
fdc.o(.text+0x2cd4): In function `fdc_detach':
: undefined reference to `isa_dma_release'
fdc.o(.text+0x2ead): In function `fdc_attach':
: undefined reference to `isa_dma_acquire'
fdc.o(.text+0x2eca): In function `fdc_attach':
: undefined reference to `isa_dmainit'
fdc_acpi.o(.text+0x1d6): In function `fdc_acpi_attach':
: undefined reference to `fdc_isa_alloc_resources'
ppc.o(.text+0xff7): In function `ppcintr':
: undefined reference to `isa_dmadone'
ppc.o(.text+0x11b3): In function `ppc_write':
: undefined reference to `isa_dmastart'
ppc.o(.text+0x1214): In function `ppc_write':
: undefined reference to `isa_dmadone'
ppc.o(.text+0x1963): In function `ppc_attach':
: undefined reference to `isa_dma_acquire'
ppc.o(.text+0x1976): In function `ppc_attach':
: undefined reference to `isa_dmainit'
sio.o(.text+0x62a): In function `sioprobe':
: undefined reference to `isa_irq_pending'
sio.o(.text+0x7fa): In function `sioprobe':
: undefined reference to `isa_irq_pending'
sio.o(.text+0x81c): In function `sioprobe':
: undefined reference to `isa_irq_pending'
sio.o(.text+0x856): In function `sioprobe':
: undefined reference to `isa_irq_pending'
*** Error code 1

Stop in /usr/src/sys/i386/compile/kernel_opt.
thanks in advance,
ananth.g
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]
   

___
freebsd-stable@freebsd.org mailing list

Re: kernel build problem

2005-05-11 Thread Paig Chong Woo
Le 11 mai 2005 à 16:28, Ananth.G a écrit :
i have attached my config file.
regrds,
ananth.g
Sergey S. Ropchan wrote:

Content of kernel config please ? It's look like wrong option in  
config.



dear all,
  im having trouble compiling kernel on 5.3 , i did a `make  
depend` and `make`.
The following is the error that i got, i might have missed a  
module  i guess...

cc -c -O -pipe -march=pentiumpro -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 -D_KERNEL -include opt_global.h -fno-common - 
finline-limit=8000 --param inline-unit-growth=100 --param large- 
function-growth=1000  -mno-align-long-strings -mpreferred-stack- 
boundary=2 -ffreestanding -Werror  vers.c
linking kernel
snip bunch of lines
fdc_acpi.o(.text+0x1d6): In function `fdc_acpi_attach':
: undefined reference to `fdc_isa_alloc_resources'
ppc.o(.text+0xff7): In function `ppcintr':
: undefined reference to `isa_dmadone'
ppc.o(.text+0x11b3): In function `ppc_write':
: undefined reference to `isa_dmastart'
ppc.o(.text+0x1214): In function `ppc_write':
: undefined reference to `isa_dmadone'
ppc.o(.text+0x1963): In function `ppc_attach':
: undefined reference to `isa_dma_acquire'
ppc.o(.text+0x1976): In function `ppc_attach':
: undefined reference to `isa_dmainit'
sio.o(.text+0x62a): In function `sioprobe':
: undefined reference to `isa_irq_pending'
sio.o(.text+0x7fa): In function `sioprobe':
: undefined reference to `isa_irq_pending'
sio.o(.text+0x81c): In function `sioprobe':
: undefined reference to `isa_irq_pending'
sio.o(.text+0x856): In function `sioprobe':
: undefined reference to `isa_irq_pending'
*** Error code 1
Stop in /usr/src/sys/i386/compile/kernel_opt.
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
snip irrelevant parts
# Bus support.  Do not remove isa, even if you have no isa slots
#deviceisa
#deviceeisa
devicepci
I'm no expert in FreeBSD kernel, but it seems the compile stops on a  
isa-related error, and that you removed device isa even if the  
config file told you not to. :)

Putting back device isa should cure it.
--
See you!!!
PAIG Chong Woo.
E-Mail : [EMAIL PROTECTED]
ICQ : 1305386
Page web : http://www.valken.org
---
The historian is a prophet in reverse.
Friedrich von Schlegel

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


RE: kernel build problem

2005-05-11 Thread Zimmerman, Eric
i have attached my config file.

regrds,
ananth.g


this looks like an issue (cut/pasted from kernel config file). Isa is
required, no? 

# Bus support.  Do not remove isa, even if you have no isa slots
#device isa
#device eisa
device  pci
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kernel build problem

2005-05-11 Thread Freddie Cash
On May 11, 2005 07:28 am, Ananth.G wrote:
 i have attached my config file.

Read the comments in your config file.

You'll quickly notice that you have removed the isa device (which is needed 
for PS/2, serial, parallel ports, etc), and that you have umass enabled, 
but disabled the needed scbus and da devices.

Dont' just blindly comment things out.  Read the comments in the config 
file, and in the NOTES files.
-- 
Freddie Cash
[EMAIL PROTECTED]
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


kernel build problem

2002-01-31 Thread Alexander Prohorenko

Hey guys.

I've just tried to cvsup to -stable version and it passed with sucess.
But when I've tried to make new kernel I've got this error.
please, give me some advise to figure out the way out.  Thanks.

Looking forward your replies.

...
Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -c linux_sysent.c
In file included from linux_sysent.c:14:
linux_proto.h:57: syntax error before `linux_time_t'
linux_proto.h:57: `linux_time_t' undeclared here (not in a function)
linux_proto.h:57: syntax error before `)'
linux_proto.h:57: `linux_time_t' undeclared here (not in a function)
linux_proto.h:57: syntax error before `)'
linux_proto.h:156: syntax error before `linux_handler_t'
...

-- 
Alexander Prohorenko,
Extra Communications

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



Re: kernel build problem

2002-01-31 Thread Kent Stewart



Alexander Prohorenko wrote:

 Hey guys.
 
 I've just tried to cvsup to -stable version and it passed with sucess.
 But when I've tried to make new kernel I've got this error.
 please, give me some advise to figure out the way out.  Thanks.


First of all, when you have a -stable problem, you are supposed ask 
question like this on the stable list. There, most of us have seen 
this, and made it past. It seems to come in 2 or 3 levels. If you are 
part of the easy (1st group), the instruction in /usr/src/UPDATING 
will get you past this problem. The headers used to be generated and 
now they are part of the souce. Combinations of rm and make cleandir 
are required. If the UPDATING doesn't fix it, look at the archive for 
stable. All of the solutions are available there.

Kent


 
 Looking forward your replies.
 
 ...
 Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -c linux_sysent.c
 In file included from linux_sysent.c:14:
 linux_proto.h:57: syntax error before `linux_time_t'
 linux_proto.h:57: `linux_time_t' undeclared here (not in a function)
 linux_proto.h:57: syntax error before `)'
 linux_proto.h:57: `linux_time_t' undeclared here (not in a function)
 linux_proto.h:57: syntax error before `)'
 linux_proto.h:156: syntax error before `linux_handler_t'
 ...
 
 


-- 
Kent Stewart
Richland, WA

mailto:[EMAIL PROTECTED]
http://users.owt.com/kstewart/index.html
FreeBSD News http://daily.daemonnews.org/


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



Kernel build problem with buildkernel

2000-07-27 Thread Matt Heckaman

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

I CVSup'd from 4.0-stable to 4.1-stable last night, the upgrade went well
as did the first make buildkernel  installkernel, as advised. I rebooted
the system, cleaned up from the make world, blew /usr/obj, etc. I then
realized that I forgot to put sound back in the kernel. So I fix my config
file and go to rebuild with make buildkernel KERNEL=EPSILON, and it died
out. Oddly, if I build a kernel the old way, everything works just fine.

I have MODULES_WITH_WORLD=true set in my make.conf, though I tried it
without it and it did not change anything. I have attached both my kernel
configuration and the error, hopefully someone can help me out. I did do a
search on the archives and found several others with exactly this problem
though I did not see any resolution in the archives.

I just find it odd that the first buildkernel went fine, but then it never
worked again. The only thing I can think of is that it needs /usr/obj to
be there and populated from a make world, but that would seem silly.

Cheers,
Matt Heckaman

* Matt Heckaman   - mailto:[EMAIL PROTECTED]  http://www.lucida.qc.ca/ *
* GPG fingerprint - A9BC F3A8 278E 22F2 9BDA  BFCF 74C3 2D31 C035 5390 *

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.2 (FreeBSD)
Comment: http://www.lucida.qc.ca/pgp

iD8DBQE5gNGjdMMtMcA1U5ARAjcoAJ9fIlaXuoqlQ7I9t3wUxhuWhMVuMQCgmmSh
ELA3kw+Gfe1n/Zq6ApaT7jg=
=VKjG
-END PGP SIGNATURE-



rm -f .depend
mv -f .newdep .depend
cc -c -x assembler-with-cpp -DLOCORE -O -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi  -nostdinc -I- -I. -I/src/FreeBSD/sys 
-I/src/FreeBSD/sys/../include  -D_KERNEL -include opt_global.h -elf  
-mpreferred-stack-boundary=2 /src/FreeBSD/sys/i386/i386/locore.s
/tmp/ccFg9500.s: Assembler messages:
/tmp/ccFg9500.s:1743: Error: .space specifies non-absolute value
/tmp/ccFg9500.s:2454: Error: undefined symbol L0 in operation setting PTmap
/tmp/ccFg9500.s:2454: Error: undefined symbol PDRSHIFT in operation setting PTmap
/tmp/ccFg9500.s:1711: Error: undefined symbol L0 in operation
/tmp/ccFg9500.s:1711: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccFg9500.s:1712: Error: undefined symbol L0 in operation
/tmp/ccFg9500.s:1712: Error: undefined symbol PDESIZE in operation
/tmp/ccFg9500.s:2454: Error: undefined symbol L0 in operation setting APTmap
/tmp/ccFg9500.s:2454: Error: undefined symbol PDRSHIFT in operation setting APTmap
/tmp/ccFg9500.s:1720: Error: undefined symbol L0 in operation
/tmp/ccFg9500.s:1720: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccFg9500.s:1721: Error: undefined symbol L0 in operation
/tmp/ccFg9500.s:1721: Error: undefined symbol PDESIZE in operation
/tmp/ccFg9500.s:1927: Error: undefined symbol UPAGES in operation
/tmp/ccFg9500.s:1927: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccFg9500.s:2315: Error: undefined symbol BI_ESYMTAB in operation
/tmp/ccFg9500.s:2320: Error: undefined symbol BI_SYMTAB in operation
/tmp/ccFg9500.s:2321: Error: undefined symbol BI_ESYMTAB in operation
/tmp/ccFg9500.s:2325: Error: undefined symbol BI_KERNEND in operation
/tmp/ccFg9500.s:2337: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccFg9500.s:2337: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccFg9500.s:2341: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccFg9500.s:2341: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccFg9500.s:2345: Error: undefined symbol UPAGES in operation
/tmp/ccFg9500.s:2345: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccFg9500.s:2345: Error: undefined symbol UPAGES in operation
/tmp/ccFg9500.s:2345: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccFg9500.s:2350: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccFg9500.s:2350: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccFg9500.s:2353: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccFg9500.s:2353: Error: undefined symbol PAGE_SIZE in operation
/tmp/ccFg9500.s:2410: Error: undefined symbol PAGE_SHIFT in operation
/tmp/ccFg9500.s:2426: Error: undefined symbol PAGE_SHIFT in operation
/tmp/ccFg9500.s:2427: Error: undefined symbol PAGE_SHIFT in operation
/tmp/ccFg9500.s:1853: Error: Subtraction of two symbols in different sections 
".tmpstk" {.data section} - "KERNBASE" {*UND* section} at file address 28.
/tmp/ccFg9500.s:1876: Error: Subtraction of two symbols in different sections "end" 
{*UND* section} - "KERNBASE" {*UND* section} at file address 38.
/tmp/ccFg9500.s:1877: Error: Subtraction of two symbols in different sections "edata" 
{*UND* section} - "KERNBASE" {*UND* section} at file address 43.
/tmp/ccFg9500.s:1889: Error: Subtraction of two symbols in different sections 
"cpu_feature" {.data section} - "KERNBASE" {*UND* section} at file address 61.
/tmp/ccFg9500.s:1905: Error: Subtraction of two symbols in different sections 
"IdlePTD" {.data