RE: kernel compile problem

2009-05-31 Thread Rodrigo Vilanova

Hi Chris,Tks for help. My source was incomplete. My bad!
best regards,Cabelyn
> From: utis...@googlemail.com
> Date: Sun, 31 May 2009 20:32:46 +0100
> To: vilanova_rodr...@hotmail.com
> CC: freebsd-questions@freebsd.org
> Subject: Re: kernel compile problem
> 
> 2009/5/31 Rodrigo Vilanova :
>>
>> Hi there,
>>
>>
>>  I want to use FreeBSD 7.2 as a simple firewall and VPN at home. I’ve a
>> dedicated computer to this.
>>
>>
>>  I’m trying to compile my FreeBSD 7.2 Kernel on my computer and I having
>> the following problem:
>>
>>
>> [...]
>>
>> /usr/src/sys/modules/svr4/../../compat/svr4/svr4_stat.c: In function 
>> 'svr4_sys_systeminfo':/usr/src/sys/modules/svr4/../../compat/svr4/svr4_stat.c:461:
>>  error: 'hostid' undeclared (first use in this 
>> function)/usr/src/sys/modules/svr4/../../compat/svr4/svr4_stat.c:461: error: 
>> (Each undeclared identifier is reported only 
>> once/usr/src/sys/modules/svr4/../../compat/svr4/svr4_stat.c:461: error: for 
>> each function it appears in.)*** Error code 1
>> Stop in /usr/src/sys/modules/svr4.*** Error code 1
>> Stop in /usr/src/sys/modules.*** Error code 1
>> Stop in /usr/obj/usr/src/sys/FW.*** Error code 1
>> Stop in /usr/src.*** Error code 1
>> Stop in /usr/src.
>>
>>
>>
>>
>>
>>  How can I solve this problem, please?
>>
>>
>>
>>
>>  I attached these files:
>>
>>
>>
>> compile.tar
>>
>>
>>  FW -> kernel config file
>>
>>
>>  dmesg.boot
>>
>>
>>  compiler.end - it is the exit from "make buidkernel KERNCONF=FW"
>>
>>
>>
>> best regards,
>>
>> Cabelyn
>>
> 
> Before anyone reads your config file, are you sure the sources are
> complete? Can you build GENERIC?
> 
> Chris
> 
> 
> 
> -- 
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in a mailing list?
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

_
Insert movie times and more without leaving Hotmail®.
http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: kernel compile problem

2009-05-31 Thread Chris Rees
2009/5/31 Rodrigo Vilanova :
>
> Hi there,
>
>
>  I want to use FreeBSD 7.2 as a simple firewall and VPN at home. I’ve a
> dedicated computer to this.
>
>
>  I’m trying to compile my FreeBSD 7.2 Kernel on my computer and I having
> the following problem:
>
>
> [...]
>
> /usr/src/sys/modules/svr4/../../compat/svr4/svr4_stat.c: In function 
> 'svr4_sys_systeminfo':/usr/src/sys/modules/svr4/../../compat/svr4/svr4_stat.c:461:
>  error: 'hostid' undeclared (first use in this 
> function)/usr/src/sys/modules/svr4/../../compat/svr4/svr4_stat.c:461: error: 
> (Each undeclared identifier is reported only 
> once/usr/src/sys/modules/svr4/../../compat/svr4/svr4_stat.c:461: error: for 
> each function it appears in.)*** Error code 1
> Stop in /usr/src/sys/modules/svr4.*** Error code 1
> Stop in /usr/src/sys/modules.*** Error code 1
> Stop in /usr/obj/usr/src/sys/FW.*** Error code 1
> Stop in /usr/src.*** Error code 1
> Stop in /usr/src.
>
>
>
>
>
>  How can I solve this problem, please?
>
>
>
>
>  I attached these files:
>
>
>
> compile.tar
>
>
>  FW -> kernel config file
>
>
>  dmesg.boot
>
>
>  compiler.end - it is the exit from "make buidkernel KERNCONF=FW"
>
>
>
> best regards,
>
> Cabelyn
>

Before anyone reads your config file, are you sure the sources are
complete? Can you build GENERIC?

Chris



-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


kernel compile problem

2009-05-31 Thread Rodrigo Vilanova

Hi there,

  
 I want to use FreeBSD 7.2 as a simple firewall and VPN at home. I’ve a
dedicated computer to this.

  
 I’m trying to compile my FreeBSD 7.2 Kernel on my computer and I having
the following problem:


[...] 

/usr/src/sys/modules/svr4/../../compat/svr4/svr4_stat.c: In function 
'svr4_sys_systeminfo':/usr/src/sys/modules/svr4/../../compat/svr4/svr4_stat.c:461:
 error: 'hostid' undeclared (first use in this 
function)/usr/src/sys/modules/svr4/../../compat/svr4/svr4_stat.c:461: error: 
(Each undeclared identifier is reported only 
once/usr/src/sys/modules/svr4/../../compat/svr4/svr4_stat.c:461: error: for 
each function it appears in.)*** Error code 1
Stop in /usr/src/sys/modules/svr4.*** Error code 1
Stop in /usr/src/sys/modules.*** Error code 1
Stop in /usr/obj/usr/src/sys/FW.*** Error code 1
Stop in /usr/src.*** Error code 1
Stop in /usr/src.


 

  
 How can I solve this problem, please?

 

  
 I attached these files:

 

compile.tar

  
 FW -> kernel config file

  
 dmesg.boot

  
 compiler.end - it is the exit from "make buidkernel KERNCONF=FW"

 

best regards,

Cabelyn

 
_
Windows Live™: Keep your life in sync.
http://windowslive.com/explore?ocid=TXT_TAGLM_BR_life_in_synch_052009FW000644
 00 00 0010211 11210517553 011407 
0ustar00rootwheel00
 00 
cpu
 I686_CPU
ident   FW

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

options SCHED_ULE   # ULE scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
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 UFS_GJOURNAL# Enable gjournal-based UFS journaling
options MD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFSLOCKD# Network Lock Manager
options NFS_ROOT# NFS usable as /, requires NFSCLIENT
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_PART_GPT   # GUID Partition Tables.
options GEOM_LABEL  # Provides labelization
options COMPAT_43TTY# BSD 4.3 TTY compat (sgtty)
options COMPAT_FREEBSD6 # Compatible with FreeBSD6
options COMPAT_FREEBSD7 # Compatible with FreeBSD7
options KTRACE  # ktrace(1) support
options STACK   # stack(9) 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 STOP_NMI# Stop CPUS using NMI instead of IPI
options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
options AUDIT   # Security event auditing
#optionsKDTRACE_HOOKS   # Kernel DTrace hooks

# Debugging for use in -current
options KDB # Enable kernel debugger support.
options DDB # Support DDB.
options GDB # Support remote GDB.
options INVARIANTS  # Enable calls of extra sanity checking
options INVARIANT_SUPPORT   # Extra sanity checks of internal 
structures, required by INVARIANTS
options WITNESS # Enable checks to detect deadlocks and 
cycles
options WITNESS_SKIPSPIN# Don't run witness on spinlocks for 
speed

device  apic# I/O APIC

# CPU frequency control
device  cpufreq

# Bus support.
device  acpi
device  pci


# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
options 

Re: kernel compile problem

2003-08-28 Thread Josh Paetzel
On Thu, Aug 28, 2003 at 10:06:00AM -0400, Lowell Gilbert wrote:
> Vulpes Velox <[EMAIL PROTECTED]> writes:
> 
> > I just cvsuped my router to 4stable, from 4.6.2. I tried recompile the previous
> > kernel. That did not work. It configed properly, but a make depend did not
> > succeed. I get the same errors trying to compile the generic kernel.
> 
> Does this also happen with the recommended upgrade procedure, as
> described in the handbook?
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html


According to your original post, you were missing bsd.links.mk.  Try this:

#cp /usr/src/share/mk/bsd.links.mk /usr/share/mk/

Josh

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


Re: kernel compile problem

2003-08-28 Thread Lowell Gilbert
Vulpes Velox <[EMAIL PROTECTED]> writes:

> I just cvsuped my router to 4stable, from 4.6.2. I tried recompile the previous
> kernel. That did not work. It configed properly, but a make depend did not
> succeed. I get the same errors trying to compile the generic kernel.

Does this also happen with the recommended upgrade procedure, as
described in the handbook?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


kernel compile problem

2003-08-26 Thread Vulpes Velox
I just cvsuped my router to 4stable, from 4.6.2. I tried recompile the previous
kernel. That did not work. It configed properly, but a make depend did not
succeed. I get the same errors trying to compile the generic kernel.


The last few lines I get when trying to do a make depend are...

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../../../include -I../../contrib/dev/acpica
-I../../contrib/ipfilter  -D_KERNEL -include opt_global.h 
-mpreferred-stack-boundary=2 make -V SFILES -V SYSTEM_SFILES | xargs  env
MKDEP_CPP="cc -E" mkdep -a -f .newdep -x assembler-with-cpp -DLOCORE -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 rm -f .depend
mv -f .newdep .depend
cd ../../modules ; env MAKEOBJDIRPREFIX=/usr/src/sys/compile/SV5/modules
COPTS="-include /usr/src/sys/compile/SV5/opt_global.h" MACHINE=i386 make obj ; 
env MAKEOBJDIRPREFIX=/usr/src/sys/compile/SV5/modules COPTS="-include
/usr/src/sys/compile/SV5/opt_global.h" MACHINE=i386 make depend===> accf_data
"/usr/src/sys/modules/accf_data/../../conf/kmod.mk", line 63: Could not find
bsd.init.mk"/usr/src/sys/modules/accf_data/../../conf/kmod.mk", line 190: Could
not find bsd.links.mk make: fatal errors encountered -- cannot continue
*** Error code 1

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

Stop in /usr/src/sys/compile/SV5.

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