Kernel fails to compile

2003-09-01 Thread Martin Jessa
Sources fetched an hour ago.
Running make in /usr/src/sys/i386/compile/MYKERNEL :


cc -c -O -pipe -march=i486 -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/ipfilter
-I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd -D_KERNEL
-include opt_global.h -fno-common -finline-limit=15000
-fno-strict-aliasing  -mno-align-long-strings -mpreferred-stack-boundary=2
-ffreestanding -Werror  ../../../dev/pcic/i82365.c
../../../dev/pcic/i82365.c: In function `pcic_chip_do_mem_map':
../../../dev/pcic/i82365.c:850: error: structure has no member named `offset'
../../../dev/pcic/i82365.c:855: error: structure has no member named `offset'
../../../dev/pcic/i82365.c: In function `pcic_chip_mem_map':
../../../dev/pcic/i82365.c:928: error: structure has no member named `offset'
*** Error code 1



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


Re: Kernel fails to compile

2003-09-01 Thread Doug Barton
On Mon, 1 Sep 2003, Martin Jessa wrote:

 Sources fetched an hour ago.
 Running make in /usr/src/sys/i386/compile/MYKERNEL :

Remove device pcic from your kernel config. My understanding is that
it's broken anyway, so you're not losing anything by removing it.

HTH,

Doug

-- 

This .signature sanitized for your protection

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


Re: Kernel fails to compile

2003-09-01 Thread Martin Jessa
Hi.


Great, now it compiles cleanly.
Thanks Doug.



 On Mon, 1 Sep 2003, Martin Jessa wrote:

 Sources fetched an hour ago.
 Running make in /usr/src/sys/i386/compile/MYKERNEL :

 Remove device pcic from your kernel config. My understanding is that
 it's broken anyway, so you're not losing anything by removing it.

 HTH,

 Doug



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


Current kernel fails to compile

2000-11-10 Thread Harti Brandt


Hello,


The following commit seems to break kernel compiles on i386 because the
removed header files cannot be found when the modules are build:



marcel  2000/11/08 23:27:56 PST

  Modified files:
sys/compat/linux linux_file.c linux_ioctl.c linux_ipc.c 
 linux_misc.c linux_signal.c 
 linux_socket.c linux_stats.c 
sys/i386/linux   linux.h linux_dummy.c linux_locore.s 
 linux_machdep.c linux_sysvec.c 
 syscalls.master 
  Removed files:
sys/i386/linux   linux_proto.h linux_syscall.h 
 linux_sysent.c 
  Log:
  Sync with Alpha:
  Do not use sysent.c, proto.h and syscall.h in source tree;
  use auto-generated versions.


This happens when I build in sys/compile and when I build via
'make buildkernel'. With a fresh cvs updated source I get:

Script started on Fri Nov 10 13:41:16 2000
501 [root] (beagle) sys/compile/BEAGLE # make depend
rm -f param.c
cp ../../conf/param.c .


[SNIP]

=== aac
@ - /usr/src/sys
machine - /usr/src/sys/i386/include
perl @/kern/makeobjops.pl -h @/kern/device_if.m
perl @/kern/makeobjops.pl -h @/kern/bus_if.m
perl @/kern/makeobjops.pl -h @/pci/pci_if.m
rm -f .depend
mkdep -f .depend -a   -nostdinc -DAAC_COMPAT_LINUX -D_KERNEL -DKLD_MODULE -I- -I. -I@ 
-I@/../include -I/usr/include  /usr/src/sys/modules/aac/../../dev/aac/aac.c 
/usr/src/sys/modules/aac/../../dev/aac/aac_pci.c 
/usr/src/sys/modules/aac/../../dev/aac/aac_disk.c
In file included from /usr/src/sys/modules/aac/../../dev/aac/aac.c:1830:
machine/../linux/linux.h:36: linux_syscall.h: No such file or directory
/usr/src/sys/modules/aac/../../dev/aac/aac.c:1831: machine/../linux/linux_proto.h: No 
such file or directory
mkdep: compile failed
*** Error code 1

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

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

Stop in /usr/src/sys/compile/BEAGLE.
502 [root] (beagle) sys/compile/BEAGLE # exit
exit

Script done on Fri Nov 10 13:42:17 2000
  

--
harti brandt,
http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private
  [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]



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



Re: Current kernel fails to compile

2000-11-10 Thread Marcel Moolenaar

Harti Brandt wrote:
 
 marcel  2000/11/08 23:27:56 PST
 
   Modified files:
 sys/compat/linux linux_file.c linux_ioctl.c linux_ipc.c
  linux_misc.c linux_signal.c
  linux_socket.c linux_stats.c
 sys/i386/linux   linux.h linux_dummy.c linux_locore.s
  linux_machdep.c linux_sysvec.c
  syscalls.master
   Removed files:
 sys/i386/linux   linux_proto.h linux_syscall.h
  linux_sysent.c
   Log:
   Sync with Alpha:
   Do not use sysent.c, proto.h and syscall.h in source tree;
   use auto-generated versions.
 
 This happens when I build in sys/compile and when I build via
 'make buildkernel'. With a fresh cvs updated source I get:

I reverted the commit.

-- 
Marcel Moolenaar
  mail: [EMAIL PROTECTED] / [EMAIL PROTECTED]
  tel:  (408) 447-4222


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



UPDATING - kernel fails to compile

2000-02-05 Thread Dan Langille

I can't get my kernel to compile when following the UPDATING 
instructions.  I also note that the "To build a kernel" instructions 
contains one too many "../".

Here's what led me to it:

[root@buff:/usr/src/sys/compile/BUFF] # make install
install -c -m 555 -o root -g wheel -fschg  kernel /kernel
/usr/libexec/ld-elf.so.1: install: Undefined symbol "setflags"
*** Error code 1

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

[insert lightbulb here]

Ahhh, yes, /usr/src/UPDATING has the right stuff.

cd src/usr.bin/genassym
make depend all install clean
cd ../../usr.sbin/config
make depend all install clean
cd ../../../sys/i386/conf=== wrong ***
config YOUR_KERNEL_HERE
cd ../../compile/YOUR_KERNEL_HERE
make depend make

*** should be cd ../../sys/i386/conf

but following the above instructions still gives me:

[root@buff:/usr/src/sys/compile/BUFF] # make install
install -c -m 555 -o root -g wheel -fschg  kernel /kernel
/usr/libexec/ld-elf.so.1: install: Undefined symbol "setflags"
*** Error code 1

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

# uname -a
FreeBSD buff.unixathome.org 4.0-2127-CURRENT FreeBSD 4.0-
2127-CURRENT #0: Thu Jan 27 15:14:24 GMT 2000 
[EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC  i386

cvsup is about 15 hours old and make world was just done.

cheers.
--
Dan Langille - DVL Software Limited [I'm looking for more work]
The FreeBSD Diary - http://www.freebsddiary.org/
NZ FreeBSD User Group - http://www.nzfug.nz.freebsd.org/
The Racing System - http://www.racingsystem.com/
unix @ home   - http://www.unixathome.org/


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



Re: UPDATING - kernel fails to compile

2000-02-05 Thread Jim Bloom

You still didn't get your installworld to complete succesfully.  You
have install, libc, and libutil out of sync.

I believe the correct procedure for installing everything in your case
is:

make -k -NOFSCHG installworld
make installworld

Jim Bloom
[EMAIL PROTECTED]

Dan Langille wrote:
 
 [root@buff:/usr/src/sys/compile/BUFF] # make install
 install -c -m 555 -o root -g wheel -fschg  kernel /kernel
 /usr/libexec/ld-elf.so.1: install: Undefined symbol "setflags"
 *** Error code 1



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



Re: UPDATING - kernel fails to compile

2000-02-05 Thread Dan Langille

I think you mean  -DNOFSCHG, which it what I thought I did.  I shall try 
again.  cheers.

On 5 Feb 00, at 21:25, Jim Bloom wrote:

 You still didn't get your installworld to complete succesfully.  You
 have install, libc, and libutil out of sync.
 
 I believe the correct procedure for installing everything in your case
 is:
 
   make -k -NOFSCHG installworld
   make installworld
 
 Jim Bloom
 [EMAIL PROTECTED]
 
 Dan Langille wrote:
  
  [root@buff:/usr/src/sys/compile/BUFF] # make install
  install -c -m 555 -o root -g wheel -fschg  kernel /kernel
  /usr/libexec/ld-elf.so.1: install: Undefined symbol "setflags"
  *** Error code 1
 
 


--
Dan Langille - DVL Software Limited [I'm looking for more work]
The FreeBSD Diary - http://www.freebsddiary.org/
NZ FreeBSD User Group - http://www.nzfug.nz.freebsd.org/
The Racing System - http://www.racingsystem.com/
unix @ home   - http://www.unixathome.org/


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



Re: UPDATING - kernel fails to compile

2000-02-05 Thread Dan Langille

After a make -k -DNOFSCHG installworld and a make installworld, I'm 
getting this:

install -c -s -o root -g wheel -m 555   genassym /usr/bin
install: genassym: No such file or directory
*** Error code 71

Stop in /usr/src/usr.bin/genassym.
*** Error code 1

Stop in /usr/src/usr.bin.
*** Errror code 1
etc...

Failing other suggestions, I'm about to do a 

make clean
make buildworld
make -k -DNOFSCHG installworld
make installworld

perhaps something else is fuggered.

Thanks.

On 5 Feb 00, at 21:25, Jim Bloom wrote:

 You still didn't get your installworld to complete succesfully.  You
 have install, libc, and libutil out of sync.
 
 I believe the correct procedure for installing everything in your case
 is:
 
   make -k -NOFSCHG installworld
   make installworld
 
 Jim Bloom
 [EMAIL PROTECTED]
 
 Dan Langille wrote:
  
  [root@buff:/usr/src/sys/compile/BUFF] # make install
  install -c -m 555 -o root -g wheel -fschg  kernel /kernel
  /usr/libexec/ld-elf.so.1: install: Undefined symbol "setflags"
  *** Error code 1
 
 


--
Dan Langille - DVL Software Limited [I'm looking for more work]
The FreeBSD Diary - http://www.freebsddiary.org/
NZ FreeBSD User Group - http://www.nzfug.nz.freebsd.org/
The Racing System - http://www.racingsystem.com/
unix @ home   - http://www.unixathome.org/


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



Re: UPDATING - kernel fails to compile

2000-02-05 Thread Chuck Robey

On Sun, 6 Feb 2000, Dan Langille wrote:

 After a make -k -DNOFSCHG installworld and a make installworld, I'm 
 getting this:
 
 install -c -s -o root -g wheel -m 555   genassym /usr/bin
 install: genassym: No such file or directory
 *** Error code 71

It's a do-once type of thing, like the xinstall stuff.  Go install
genassym once, it won't bother you again.  It was discussed in the
lists, and doesn't affect most build intervals.  You got *lucky*.



Chuck Robey| Interests include C  Java programming, FreeBSD,
[EMAIL PROTECTED]  | electronics, communications, and signal processing.

New Year's Resolution:  I will not sphroxify gullible people into looking up
fictitious words in the dictionary.




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



Re: UPDATING - kernel fails to compile

2000-02-05 Thread Dan Langille

On 5 Feb 00, at 22:30, Chuck Robey wrote:

 On Sun, 6 Feb 2000, Dan Langille wrote:
 
  After a make -k -DNOFSCHG installworld and a make installworld, I'm 
  getting this:
  
  install -c -s -o root -g wheel -m 555   genassym /usr/bin
  install: genassym: No such file or directory
  *** Error code 71
 
 It's a do-once type of thing, like the xinstall stuff.  Go install
 genassym once, it won't bother you again.  It was discussed in the
 lists, and doesn't affect most build intervals.  You got *lucky*.

Ahh yes, and it's in UPDATING.  my bad.  Sorry.

I tried that.  Then did a make installworld.  Then I found that conifig 
wasn't installed either.  so I did a 

cd usr.sbin/config
make
make install
cd /usr/src
make installworld

then I followed these instructions from UPDATING for making a kernel:

cd src/usr.bin/genassym
make depend all install clean
cd ../../usr.sbin/config
make depend all install clean
cd ../../../sys/i386/conf
config YOUR_KERNEL_HERE
cd ../../compile/YOUR_KERNEL_HERE
make depend  make

Some of that may have been redundant, given my make installworld 
problems, but so be it.

I got *lucky*?  What?  twice in one weekend?  /me beams.

Thanks to those that have helped.  Everything built this time.  cheers.
--
Dan Langille - DVL Software Limited [I'm looking for more work]
The FreeBSD Diary - http://www.freebsddiary.org/
NZ FreeBSD User Group - http://www.nzfug.nz.freebsd.org/
The Racing System - http://www.racingsystem.com/
unix @ home   - http://www.unixathome.org/


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



Re: UPDATING - kernel fails to compile

2000-02-05 Thread Chuck Robey

On Sun, 6 Feb 2000, Dan Langille wrote:

  It's a do-once type of thing, like the xinstall stuff.  Go install
  genassym once, it won't bother you again.  It was discussed in the
  lists, and doesn't affect most build intervals.  You got *lucky*.
 
 Ahh yes, and it's in UPDATING.  my bad.  Sorry.
 
 I tried that.  Then did a make installworld.  Then I found that conifig 
 wasn't installed either.  so I did a 

That's ALWAYS true.  ALWAYS when building a kernel, make very sure that
your config is from the same sources as the kernel.  *very* often with
current, config changes things, and an old config just won't cut it.  That
kind of thing doesn't belong in UPDATING, either.  I think it's already in
the handbook, and an up-to-date config will notice for you when your
kernel sources are newer than your config sources, and issue you a
warning.



Chuck Robey| Interests include C  Java programming, FreeBSD,
[EMAIL PROTECTED]  | electronics, communications, and signal processing.

New Year's Resolution:  I will not sphroxify gullible people into looking up
fictitious words in the dictionary.




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