port: glibtop failure on -current / Gnome won't build

2002-03-12 Thread Stephen L. Palmer

On:
FreeBSD adam12.midearth.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Sat
Mar  9 13:55:57 CST 2002 [EMAIL PROTECTED]:/usr2/obj/usr/src/sys/MIDEARTH  i386

make of libgtop fails with the following error, causing a make of
/usr/ports/x11/gnome to fail...  any suggestions?

[snip]
cc -DHAVE_CONFIG_H -I. -I. -I../.. -D_IN_LIBGTOP -D_GNU_SOURCE
-DGLIBTOP_NAMES -I../.. -I../.. -I../../sysdeps/freebsd -I../../include
-I../../intl -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include
-DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include
-I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0
-I/usr/X11R6/include/gtk12 -I/usr/local/include
-I/usr/local/include/glib12 -O -pipe -Wall -Wunused -I/usr/local/include
-I/usr/X11R6/include -DGLIBTOP_GUILE -DGLIBTOP_GUILE_NAMES
-I/usr/local/include -DGTOPLOCALEDIR=\/usr/local/share/gnome/locale\
-DLIBGTOP_VERSION=\1.0.13\ -DLIBGTOP_SERVER_VERSION=\5\
-DLIBGTOP_VERSION_CODE=113
-DLIBGTOP_SERVER=\/usr/local/bin/libgtop_server\ -I/usr/local/include -O
-pipe -Wall -Wunused -I/usr/local/include -c proctime.c  -fPIC -DPIC -o proctime.o
proctime.c: In function `calcru':
proctime.c:88: aggregate value used where an integer was expected
proctime.c:69: warning: unused variable `tv'
proctime.c: In function `glibtop_get_proc_time_p':
proctime.c:130: warning: unused variable `pstats'
proctime.c:128: warning: unused variable `u_addr'
proctime.c: At top level:
proctime.c:62: warning: `calcru' defined but not used
gmake[3]: *** [proctime.lo] Error 1
gmake[3]: Leaving directory
`/usr2/ports/devel/libgtop/work/libgtop-1.0.13/sysdeps/freebsd'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr2/ports/devel/libgtop/work/libgtop-1.0.13/sysdeps'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr2/ports/devel/libgtop/work/libgtop-1.0.13'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr2/ports/devel/libgtop.
*** Error code 1

Stop in /usr2/ports/devel/libgtop.
*** Error code 1

Stop in /usr2/ports/devel/libgtop.
*** Error code 1

Stop in /usr2/ports/devel/libgtop.
root on adam12:/usr/ports/devel/libgtop %


---
Stephen L. Palmer
[EMAIL PROTECTED]

Receipt of this  email does not  entitle you to collect,
use, or sell my personal information for any commercial,
or  non-commercial purposes.   Non-solicited  commercial
emails  sent  to my address will be  billed $500.00  per
offense  for use of  storage space on my  mail  servers,
bandwidth  fees, and personal  administrative  overhead.
You have been warned.


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



Re: port: glibtop failure on -current / Gnome won't build

2002-03-12 Thread Stephen L. Palmer

Replaced file with the one you attached, did 'make clean' and 'make' and
got the following.


[snip]
cc -DHAVE_CONFIG_H -I. -I. -I../.. -D_IN_LIBGTOP -D_GNU_SOURCE -DGLIBTOP_NAMES -
I../.. -I../.. -I../../sysdeps/freebsd -I../../include -I../../intl -I/usr/X11R6
/include/gnome-1.0 -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/g
nome-libs/include -I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0 -I/
usr/X11R6/include/gtk12 -I/usr/local/include -I/usr/local/include/glib12 -O -pip
e -Wall -Wunused -I/usr/local/include -I/usr/X11R6/include -DGLIBTOP_GUILE -DGLI
BTOP_GUILE_NAMES -I/usr/local/include -DGTOPLOCALEDIR=\/usr/local/share/gnome/l
ocale\ -DLIBGTOP_VERSION=\1.0.13\ -DLIBGTOP_SERVER_VERSION=\5\ -DLIBGTOP_VE
RSION_CODE=113 -DLIBGTOP_SERVER=\/usr/local/bin/libgtop_server\ -I/usr/loc
al/include -O -pipe -Wall -Wunused -I/usr/local/include -c proctime.c  -fPIC -DPIC -o 
proctime.o
proctime.c: In function `calcru':
proctime.c:88: aggregate value used where an integer was expected
proctime.c:69: warning: unused variable `tv'
proctime.c: In function `glibtop_get_proc_time_p':
proctime.c:130: warning: unused variable `pstats'
proctime.c:128: warning: unused variable `u_addr'
proctime.c: At top level:
proctime.c:62: warning: `calcru' defined but not used
gmake[3]: *** [proctime.lo] Error 1
gmake[3]: Leaving directory
`/usr2/ports/devel/libgtop/work/libgtop-1.0.13/sysdeps/freebsd'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr2/ports/devel/libgtop/work/libgtop-1.0.13/sysdeps'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr2/ports/devel/libgtop/work/libgtop-1.0.13'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr2/ports/devel/libgtop.
*** Error code 1

Stop in /usr2/ports/devel/libgtop.
*** Error code 1

Stop in /usr2/ports/devel/libgtop.
root on adam12:/usr/ports/devel/libgtop %


---
Stephen L. Palmer
[EMAIL PROTECTED]


On 12 Mar 2002, Joe Clarke wrote:

 On Tue, 2002-03-12 at 20:06, Stephen L. Palmer wrote:
  On:
  FreeBSD adam12.midearth.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Sat
  Mar  9 13:55:57 CST 2002 [EMAIL PROTECTED]:/usr2/obj/usr/src/sys/MIDEARTH  
i386
 
  make of libgtop fails with the following error, causing a make of
  /usr/ports/x11/gnome to fail...  any suggestions?

 This patch should fix it.  Just replace the original
 files/patch-sysdeps::freebsd::proctime::c with the attached version, and
 rebuild.  I'm building a PR now.

 Joe

 
  [snip]
  cc -DHAVE_CONFIG_H -I. -I. -I../.. -D_IN_LIBGTOP -D_GNU_SOURCE
  -DGLIBTOP_NAMES -I../.. -I../.. -I../../sysdeps/freebsd -I../../include
  -I../../intl -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include
  -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include
  -I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0
  -I/usr/X11R6/include/gtk12 -I/usr/local/include
  -I/usr/local/include/glib12 -O -pipe -Wall -Wunused -I/usr/local/include
  -I/usr/X11R6/include -DGLIBTOP_GUILE -DGLIBTOP_GUILE_NAMES
  -I/usr/local/include -DGTOPLOCALEDIR=\/usr/local/share/gnome/locale\
  -DLIBGTOP_VERSION=\1.0.13\ -DLIBGTOP_SERVER_VERSION=\5\
  -DLIBGTOP_VERSION_CODE=113
  -DLIBGTOP_SERVER=\/usr/local/bin/libgtop_server\ -I/usr/local/include -O
  -pipe -Wall -Wunused -I/usr/local/include -c proctime.c  -fPIC -DPIC -o proctime.o
  proctime.c: In function `calcru':
  proctime.c:88: aggregate value used where an integer was expected
  proctime.c:69: warning: unused variable `tv'
  proctime.c: In function `glibtop_get_proc_time_p':
  proctime.c:130: warning: unused variable `pstats'
  proctime.c:128: warning: unused variable `u_addr'
  proctime.c: At top level:
  proctime.c:62: warning: `calcru' defined but not used
  gmake[3]: *** [proctime.lo] Error 1
  gmake[3]: Leaving directory
  `/usr2/ports/devel/libgtop/work/libgtop-1.0.13/sysdeps/freebsd'
  gmake[2]: *** [all-recursive] Error 1
  gmake[2]: Leaving directory
  `/usr2/ports/devel/libgtop/work/libgtop-1.0.13/sysdeps'
  gmake[1]: *** [all-recursive] Error 1
  gmake[1]: Leaving directory
  `/usr2/ports/devel/libgtop/work/libgtop-1.0.13'
  gmake: *** [all-recursive-am] Error 2
  *** Error code 2
 
  Stop in /usr2/ports/devel/libgtop.
  *** Error code 1
 
  Stop in /usr2/ports/devel/libgtop.
  *** Error code 1
 
  Stop in /usr2/ports/devel/libgtop.
  *** Error code 1
 
  Stop in /usr2/ports/devel/libgtop.
  root on adam12:/usr/ports/devel/libgtop %
 
 
  ---
  Stephen L. Palmer
  [EMAIL PROTECTED]
 
  Receipt of this  email does not  entitle you to collect,
  use, or sell my personal information for any commercial,
  or  non-commercial purposes.   Non-solicited  commercial
  emails  sent  to my address will be  billed $500.00  per
  offense  for use of  storage space on my  mail  servers,
  bandwidth  fees, and personal  administrative  overhead.
  You have been warned.
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-ports in the body of the message
 




To Unsubscribe: send mail

Re: port: glibtop failure on -current / Gnome won't build

2002-03-12 Thread Stephen L. Palmer

My mistake,
  I guess it helps if I 'gzip -d' the patch  ;-)

Sorry about that, it seems to work great!

---
Stephen L. Palmer
[EMAIL PROTECTED]

On Tue, 12 Mar 2002, Stephen L. Palmer wrote:

 Replaced file with the one you attached, did 'make clean' and 'make' and
 got the following.


 [snip]
 cc -DHAVE_CONFIG_H -I. -I. -I../.. -D_IN_LIBGTOP -D_GNU_SOURCE -DGLIBTOP_NAMES -
 I../.. -I../.. -I../../sysdeps/freebsd -I../../include -I../../intl -I/usr/X11R6
 /include/gnome-1.0 -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/g
 nome-libs/include -I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0 -I/
 usr/X11R6/include/gtk12 -I/usr/local/include -I/usr/local/include/glib12 -O -pip
 e -Wall -Wunused -I/usr/local/include -I/usr/X11R6/include -DGLIBTOP_GUILE -DGLI
 BTOP_GUILE_NAMES -I/usr/local/include -DGTOPLOCALEDIR=\/usr/local/share/gnome/l
 ocale\ -DLIBGTOP_VERSION=\1.0.13\ -DLIBGTOP_SERVER_VERSION=\5\ -DLIBGTOP_VE
 RSION_CODE=113 -DLIBGTOP_SERVER=\/usr/local/bin/libgtop_server\ -I/usr/loc
 al/include -O -pipe -Wall -Wunused -I/usr/local/include -c proctime.c  -fPIC -DPIC 
-o proctime.o
 proctime.c: In function `calcru':
 proctime.c:88: aggregate value used where an integer was expected
 proctime.c:69: warning: unused variable `tv'
 proctime.c: In function `glibtop_get_proc_time_p':
 proctime.c:130: warning: unused variable `pstats'
 proctime.c:128: warning: unused variable `u_addr'
 proctime.c: At top level:
 proctime.c:62: warning: `calcru' defined but not used
 gmake[3]: *** [proctime.lo] Error 1
 gmake[3]: Leaving directory
 `/usr2/ports/devel/libgtop/work/libgtop-1.0.13/sysdeps/freebsd'
 gmake[2]: *** [all-recursive] Error 1
 gmake[2]: Leaving directory
 `/usr2/ports/devel/libgtop/work/libgtop-1.0.13/sysdeps'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory
 `/usr2/ports/devel/libgtop/work/libgtop-1.0.13'
 gmake: *** [all-recursive-am] Error 2
 *** Error code 2

 Stop in /usr2/ports/devel/libgtop.
 *** Error code 1

 Stop in /usr2/ports/devel/libgtop.
 *** Error code 1

 Stop in /usr2/ports/devel/libgtop.
 root on adam12:/usr/ports/devel/libgtop %


 ---
 Stephen L. Palmer
 [EMAIL PROTECTED]


 On 12 Mar 2002, Joe Clarke wrote:

  On Tue, 2002-03-12 at 20:06, Stephen L. Palmer wrote:
   On:
   FreeBSD adam12.midearth.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Sat
   Mar  9 13:55:57 CST 2002 [EMAIL PROTECTED]:/usr2/obj/usr/src/sys/MIDEARTH 
 i386
  
   make of libgtop fails with the following error, causing a make of
   /usr/ports/x11/gnome to fail...  any suggestions?
 
  This patch should fix it.  Just replace the original
  files/patch-sysdeps::freebsd::proctime::c with the attached version, and
  rebuild.  I'm building a PR now.
 
  Joe
 
  
   [snip]
   cc -DHAVE_CONFIG_H -I. -I. -I../.. -D_IN_LIBGTOP -D_GNU_SOURCE
   -DGLIBTOP_NAMES -I../.. -I../.. -I../../sysdeps/freebsd -I../../include
   -I../../intl -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include
   -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include
   -I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0
   -I/usr/X11R6/include/gtk12 -I/usr/local/include
   -I/usr/local/include/glib12 -O -pipe -Wall -Wunused -I/usr/local/include
   -I/usr/X11R6/include -DGLIBTOP_GUILE -DGLIBTOP_GUILE_NAMES
   -I/usr/local/include -DGTOPLOCALEDIR=\/usr/local/share/gnome/locale\
   -DLIBGTOP_VERSION=\1.0.13\ -DLIBGTOP_SERVER_VERSION=\5\
   -DLIBGTOP_VERSION_CODE=113
   -DLIBGTOP_SERVER=\/usr/local/bin/libgtop_server\ -I/usr/local/include -O
   -pipe -Wall -Wunused -I/usr/local/include -c proctime.c  -fPIC -DPIC -o 
proctime.o
   proctime.c: In function `calcru':
   proctime.c:88: aggregate value used where an integer was expected
   proctime.c:69: warning: unused variable `tv'
   proctime.c: In function `glibtop_get_proc_time_p':
   proctime.c:130: warning: unused variable `pstats'
   proctime.c:128: warning: unused variable `u_addr'
   proctime.c: At top level:
   proctime.c:62: warning: `calcru' defined but not used
   gmake[3]: *** [proctime.lo] Error 1
   gmake[3]: Leaving directory
   `/usr2/ports/devel/libgtop/work/libgtop-1.0.13/sysdeps/freebsd'
   gmake[2]: *** [all-recursive] Error 1
   gmake[2]: Leaving directory
   `/usr2/ports/devel/libgtop/work/libgtop-1.0.13/sysdeps'
   gmake[1]: *** [all-recursive] Error 1
   gmake[1]: Leaving directory
   `/usr2/ports/devel/libgtop/work/libgtop-1.0.13'
   gmake: *** [all-recursive-am] Error 2
   *** Error code 2
  
   Stop in /usr2/ports/devel/libgtop.
   *** Error code 1
  
   Stop in /usr2/ports/devel/libgtop.
   *** Error code 1
  
   Stop in /usr2/ports/devel/libgtop.
   *** Error code 1
  
   Stop in /usr2/ports/devel/libgtop.
   root on adam12:/usr/ports/devel/libgtop %
  
  
   ---
   Stephen L. Palmer
   [EMAIL PROTECTED]
  
   Receipt of this  email does not  entitle you to collect,
   use, or sell my personal information for any commercial,
   or  non-commercial purposes.   Non-solicited  commercial
   emails  sent  to my address

Re: Why is xe building while commented out?

2002-02-27 Thread Stephen L. Palmer

On Wed, 27 Feb 2002, David O'Brien wrote:

 Fixes to make it compile are not desired.  Fixes that are are *FIXES*
 are.  If you are unable to understand why dv_ispfw is `const'; just
 follow the advice of adding:

 makeoptions NO_WERROR=true

 to your kernel configuration.


Did that last night.  Ended up with a kernel that blew up on boot, but
from reading, that's what others were getting on UP systems as well.  It
was not urgent for me to rebuild, just trying to get a working kernel with
sound installed.  It can wait a day or three as needed for a stable build,
I've got a good kernel from Feb 08 to run on until then.

FWIW, I agree with your Fixes should fix something ideal.  I'm slowly
getting to the point where I can understand some of the code, but I'm no
kernel hacker yet.  One of these days I'll start testing the waters with
patch submissions, but not until I feel I understand the system a bit
better.

Thanks!

Stephen L. Palmer
[EMAIL PROTECTED]




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



Why is xe building while commented out?

2002-02-26 Thread Stephen L. Palmer

Kernel build on a fresh (26 Feb 2002 - ~15:00 CDT) -current is failing
with an *** Error code 2 in the xe module.  This module is commented out of my
config.  Why would 'make -j4 buildkernel KERNCONF=MIDEARTH' try to build a
driver for a pccard I've commented out of the config?  I don't have any of
the pccard/pcmcia stuff active as this is a desktop system.

Non-SMP if it matters.

Config file, and cut-n-paste of error are attached.


---
Stephen L. Palmer
[EMAIL PROTECTED]

Receipt of this  email does not  entitle you to collect,
use, or sell my personal information for any commercial,
or  non-commercial purposes.   Non-solicited  commercial
emails  sent  to my address will be  billed $500.00  per
offense  for use of  storage space on my  mail  servers,
bandwidth  fees, and personal  administrative  overhead.
You have been warned.


=== netgraph/sync_sr
cc -O -pipe  -Wall  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/dev -I@/../include 
-fno-common  -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -c 
/usr/src/sys/modules/netgraph/sync_sr/../../../dev/sr/if_sr.c
cc -O -pipe  -Wall  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/dev -I@/../include 
-fno-common  -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -c 
/usr/src/sys/modules/netgraph/sync_sr/../../../dev/sr/if_sr_isa.c
cc -O -pipe  -Wall  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/dev -I@/../include 
-fno-common  -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -c 
/usr/src/sys/modules/netgraph/sync_sr/../../../dev/sr/if_sr_pci.c
ld  -d -warn-common -r -d -o ng_sync_sr.kld if_sr.o if_sr_isa.o if_sr_pci.o
ld -Bshareable  -d -warn-common -o ng_sync_sr.ko ng_sync_sr.kld
=== netgraph/tee
cc -O -pipe  -Wall  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/dev -I@/../include 
-fno-common  -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -c 
/usr/src/sys/modules/netgraph/tee/../../../netgraph/ng_tee.c
ld  -d -warn-common -r -d -o ng_tee.kld ng_tee.o
ld -Bshareable  -d -warn-common -o ng_tee.ko ng_tee.kld
=== netgraph/tty
cc -O -pipe  -Wall  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/dev -I@/../include 
-fno-common  -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -c 
/usr/src/sys/modules/netgraph/tty/../../../netgraph/ng_tty.c
ld  -d -warn-common -r -d -o ng_tty.kld ng_tty.o
ld -Bshareable  -d -warn-common -o ng_tty.ko ng_tty.kld
=== netgraph/UI
cc -O -pipe  -Wall  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/dev -I@/../include 
-fno-common  -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -c 
/usr/src/sys/modules/netgraph/UI/../../../netgraph/ng_UI.c
ld  -d -warn-common -r -d -o ng_UI.kld ng_UI.o
ld -Bshareable  -d -warn-common -o ng_UI.ko ng_UI.kld
=== netgraph/vjc
cc -O -pipe  -Wall  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/dev -I@/../include 
-fno-common  -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -c 
/usr/src/sys/modules/netgraph/vjc/../../../netgraph/ng_vjc.c
cc -O -pipe  -Wall  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing

Re: Why is xe building while commented out?

2002-02-26 Thread Stephen L. Palmer

You know, I've been building -currents off and on since 3.0-current, and
never realized that.  I guess since I usualy start a build and either
background it, or walk away...  I'll play with the MODULES_OVERRIDE
option, and thanks for the pointer.

I gave it another run with out the -j4 option, and it did seem to clarify
what was failing.

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/usr/src/sys
-I/usr/src/sys/dev -I/usr/src/sys/contrib/dev/acpica
-I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/../include  -D_KERNEL
-ffreestanding -include opt_global.h -fno-common -elf
-mpreferred-stack-boundary=2 -Werror  /usr/src/sys/dev/isp/isp.c
cc1: warnings being treated as errors
/usr/src/sys/dev/isp/isp.c: In function `isp_reset':
/usr/src/sys/dev/isp/isp.c:633: warning: cast discards qualifiers from
pointer target type
*** Error code 1

Stop in /usr2/obj/usr/src/sys/MIDEARTH.
*** Error code 1

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

Stop in /usr/src.
root on adam12:/usr/src %

---
Stephen L. Palmer
[EMAIL PROTECTED]


On Tue, 26 Feb 2002, Chris Faulhaber wrote:

 On Tue, Feb 26, 2002 at 03:28:19PM -0600, Stephen L. Palmer wrote:
  Kernel build on a fresh (26 Feb 2002 - ~15:00 CDT) -current is failing
  with an *** Error code 2 in the xe module.  This module is commented out of my
  config.  Why would 'make -j4 buildkernel KERNCONF=MIDEARTH' try to build a
  driver for a pccard I've commented out of the config?  I don't have any of
  the pccard/pcmcia stuff active as this is a desktop system.
 
  Non-SMP if it matters.
 

 All modules are built by default, not just those listed in the
 kernel config (which is for the kernel only).  To only build
 specific modules, use the MODULES_OVERRIDE option (see NOTES).
 And since you are using the -j flag to make, it is quite
 possible that the parallel compiles are obscuring the actual
 error and that xe is not (necessarily) the problem.

 --
 Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]
 
 FreeBSD: The Power To Serve   -   http://www.FreeBSD.org



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