Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Aug 2011 22:02:28 -0500
From:      jhall@socket.net
To:        freebsd-questions@freebsd.org
Subject:   Source Upgrade 
Message-ID:  <20110804031655.E71EB1065670@hub.freebsd.org>

Next in thread | Raw E-Mail | Index | Archive | Help
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@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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20110804031655.E71EB1065670>