Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Apr 1998 10:47:04 -0500 (EST)
From:      "Viren R. Shah" <viren@rstcorp.com>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Building 3.0 kernel on 2.2.6 system?
Message-ID:  <199804041547.KAA03150@rstcorp.com>

next in thread | raw e-mail | index | archive | help

I'm trying to build a 3.0 kernel on a system with the following
layout:
1. System is running 2.2.6
2. 2.2.6 source is in /usr/src
3. -current source is in /home/current/usr/{src,obj}

I did a make buildworld in /home/current/usr/src. It completed without
errors. I'm now trying to build a -current kernel (GENERIC) using the
config generated by the -current buildworld. 

1. Is this possible?
2. If so, then what is causing the following errors:

cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith  -nostdinc -I- -I. -I../.. -I../../../include
-DKERNEL -include opt_global.h  ../../pci/if_de.c
../../pci/if_de.c: In function `tulip_addr_filter':
../../pci/if_de.c:3041: storage size of `step' isn't known
../../pci/if_de.c:3099: warning: implicit declaration of function
`ETHER_FIRST_MULTI'
../../pci/if_de.c:3101: dereferencing pointer to incomplete type
../../pci/if_de.c:3101: dereferencing pointer to incomplete type
../../pci/if_de.c:3102: dereferencing pointer to incomplete type
../../pci/if_de.c:3109: warning: implicit declaration of function
`ETHER_NEXT_MULTI'
../../pci/if_de.c:3150: dereferencing pointer to incomplete type
../../pci/if_de.c:3150: dereferencing pointer to incomplete type
../../pci/if_de.c:3151: dereferencing pointer to incomplete type
../../pci/if_de.c:3152: dereferencing pointer to incomplete type
../../pci/if_de.c:3153: dereferencing pointer to incomplete type
../../pci/if_de.c: In function `tulip_ifioctl':
../../pci/if_de.c:4704: warning: implicit declaration of function
`ether_addmulti'
../../pci/if_de.c:4706: warning: implicit declaration of function
`ether_delmulti'
../../pci/if_de.c: In function `tulip_pci_attach':
../../pci/if_de.c:5583: request for member `cfg1' in something not a
structure or union
../../pci/if_de.c:5583: request for member `cfg1' in something not a
structure or union
*** Error code 1

Stop.

-----------------------

I figure that I can't actually do the above, maybe due to include file
conflicts. But, some authoritative answer would be nice.

Thanks
Viren
-- 
Viren R. Shah, {viren @ rstcorp . com}
"Hi, I'm a hero, but I can't tell you why. It's classified."
 -- Miles muses on one of the disadvantages of a double life
    (Lois McMaster Bujold, Cetaganda)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804041547.KAA03150>