|
FreeBSD Installation and Upgrading Installing and upgrading FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
freebsd 7.1 upgrade buildworld error
I'm trying to upgrade from 7.0 to 7.1 BETA2.
I've cvsup'd all my src's to RELENG_7, then entered the following command: # make buildworld This crashed out with the following error: Code:
-pointer-sign -c crypt_xdr.c -o crypt_xdr.So building static c library building shared library libc.so.7 building special pic c library ranlib libc_pic.a ranlib libc.a /usr/obj/usr/src/tmp/usr/bin/ld: crtbeginS.o: No such file: No such file or directory *** Error code 1 1 error *** Error code 2 2 errors *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error |
|
|||
I just removed /usr/obj and tried again.
It bombed out at the same place: Code:
-pointer-sign -c crypt_xdr.c -o crypt_xdr.So building static c library building shared library libc.so.7 building special pic c library ranlib libc_pic.a ranlib libc.a /usr/obj/usr/src/tmp/usr/bin/ld: crtbeginS.o: No such file: No such file or directory *** Error code 1 1 error *** Error code 2 2 errors *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error Last edited by map7; 21st October 2008 at 12:18 AM. |
|
|||
I originally cvsup'd from cvsup.au.FreeBSD.org. I just deleted /usr/src and /usr/obj, then I cvsup'd from cvsup.FreeBSD.org.
This resulted in a different problem. Code:
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -I/usr/src/lib/libc/resolv -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/libc/resolv/res_comp.c -o res_comp.So /usr/src/lib/libc/../../include/stdio.h:244: error: nested function 'scanf' declared but never defined *** Error code 1 1 error *** Error code 2 2 errors *** Error code 2 1 error *** Error code 2 1 error *** Error code 2 1 error |
|
|||
I just want to upgrade to 7.1 so should I use RELENG_7_1 instead?
Will that be easier to compile? |
|
|||
I just tried cvsuping to RELENG_7_0, (which is what I'm running), then tried a make buildworld (first deleting /usr/obj) and it bombs out at the crtbeginS.o error also.
|
|
|||
Solved:
I tried the command: # env -i make buildworld This worked, so there must of been something in my environment stopping it from compiling properly. |
|
|||
I've used env -i, also, without fail because it solved
a buildworld a few versions ago.
__________________
FreeBSD 13-STABLE |
|
||||
Quote:
Wow, weird... would you mind posting your environment details so that it can be considered? I'm just curious... |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Remote FreeBSD server upgrade - Guide! | carpman | Guides | 8 | 5th April 2009 05:37 PM |
upgrade installworld error | carpman | FreeBSD Installation and Upgrading | 11 | 8th February 2009 05:36 PM |
upgrade xorg on freebsd | ccc | FreeBSD Ports and Packages | 5 | 1st February 2009 04:17 PM |
Buildworld error | terryd | FreeBSD Installation and Upgrading | 2 | 1st February 2009 11:05 AM |
how to buildworld ? | bsdnewbie999 | FreeBSD General | 2 | 17th May 2008 10:11 AM |