Source Upgrade

jhall at socket.net jhall at socket.net
Thu Aug 4 03:16:56 UTC 2011


I am attempting to upgrade my server from 8.0 to 8.2 Release by upgrading 
the source code and recompiling the kernel.  I am using cvs to download 
the source code.  Following are the entries in my cvs-supfile. 

The system is an HP server.  Following is the system information.
FreeBSD  8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009  
   root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386 

*default host=cvsup15.us.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_8_2
*default delete use-rel-suffix
*default tag=.

src-all
ports-all

The download completes without any errors.  The first time I attempted to 
compile the source code, I assumed I had made a mistake.  So, I deleted 
all of /usr/src and downloaded it again using cvs.  When I attempt make 
buildworld, I still receive the following messages. 

===> kerberos5/tools/asn1_compile (all)
cd /usr/src/kerberos5/tools/asn1_compile/../make-roken && make
cc -O2 -pipe 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/roken 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1 
-I. -DHAVE_CONFIG_H -I/usr/src/kerberos5/tools/asn1_compile/../../include 
-std=gnu99   -I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/gen.c 
cc -O2 -pipe 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/roken 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1 
-I. -DHAVE_CONFIG_H -I/usr/src/kerberos5/tools/asn1_compile/../../include 
-std=gnu99   -I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/gen_copy.c 
cc -O2 -pipe 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/roken 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1 
-I. -DHAVE_CONFIG_H -I/usr/src/kerberos5/tools/asn1_compile/../../include 
-std=gnu99   -I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/gen_decode.c 
cc -O2 -pipe 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/roken 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1 
-I. -DHAVE_CONFIG_H -I/usr/src/kerberos5/tools/asn1_compile/../../include 
-std=gnu99   -I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/gen_encode.c 
cc -O2 -pipe 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/roken 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1 
-I. -DHAVE_CONFIG_H -I/usr/src/kerberos5/tools/asn1_compile/../../include 
-std=gnu99   -I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/gen_free.c 
cc -O2 -pipe 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/roken 
-I/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1 
-I. -DHAVE_CONFIG_H -I/usr/src/kerberos5/tools/asn1_compile/../../include 
-std=gnu99   -I/usr/obj/usr/src/tmp/legacy/usr/include -c gen_glue-fixed.c 
gen_glue-fixed.c: In function 'generate_2int':
gen_glue-fixed.c:55: warning: assignment from incompatible pointer type
gen_glue-fixed.c:55: error: 'Member' has no member named 'next'
gen_glue-fixed.c: In function 'generate_int2':
gen_glue-fixed.c:83: warning: assignment from incompatible pointer type
gen_glue-fixed.c:83: error: 'Member' has no member named 'next'
gen_glue-fixed.c: In function 'generate_units':
gen_glue-fixed.c:114: error: 'struct memhead' has no member named 'prev'
gen_glue-fixed.c:114: error: 'Member' has no member named 'prev'
gen_glue-fixed.c: At top level:
gen_glue-fixed.c:129: error: conflicting types for 'generate_glue'

/usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/gen_locl.h:65: 
error: previous declaration of 'generate_glue' was here 
*** Error code 1

Stop in /usr/src/kerberos5/tools/asn1_compile.
*** Error code 1

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

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

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

Stop in /usr/src.

My Googling has not resulted in any results that are helpful. Any 
suggestions would be greatly appreciated. 

Thank you in advance.



Jay



More information about the freebsd-questions mailing list