DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 20th October 2008
map7 map7 is offline
Fdisk Soldier
 
Join Date: Jun 2008
Posts: 75
Thanked 3 Times in 3 Posts
Default 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
What am I missing here?
Reply With Quote
  #2   (View Single Post)  
Old 21st October 2008
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 337
Thanked 32 Times in 30 Posts
Default

Did you clean out /usr/obj (or remove it entirely) before you started the buildworld process?
Reply With Quote
  #3   (View Single Post)  
Old 21st October 2008
map7 map7 is offline
Fdisk Soldier
 
Join Date: Jun 2008
Posts: 75
Thanked 3 Times in 3 Posts
Default

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.
Reply With Quote
  #4   (View Single Post)  
Old 21st October 2008
BSDKaffee's Avatar
BSDKaffee BSDKaffee is offline
Real Name: Jason Hale
Coffee Addict
 
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
Thanked 36 Times in 34 Posts
Default

Try cvsuping again...you may have a bad source tree.
Reply With Quote
  #5   (View Single Post)  
Old 22nd October 2008
map7 map7 is offline
Fdisk Soldier
 
Join Date: Jun 2008
Posts: 75
Thanked 3 Times in 3 Posts
Default

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
Reply With Quote
  #6   (View Single Post)  
Old 22nd October 2008
map7 map7 is offline
Fdisk Soldier
 
Join Date: Jun 2008
Posts: 75
Thanked 3 Times in 3 Posts
Default

I just want to upgrade to 7.1 so should I use RELENG_7_1 instead?

Will that be easier to compile?
Reply With Quote
  #7   (View Single Post)  
Old 22nd October 2008
map7 map7 is offline
Fdisk Soldier
 
Join Date: Jun 2008
Posts: 75
Thanked 3 Times in 3 Posts
Default

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.
Reply With Quote
  #8   (View Single Post)  
Old 22nd October 2008
map7 map7 is offline
Fdisk Soldier
 
Join Date: Jun 2008
Posts: 75
Thanked 3 Times in 3 Posts
Default

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.
Reply With Quote
  #9   (View Single Post)  
Old 22nd October 2008
jb_daefo jb_daefo is offline
Package Pilot
 
Join Date: May 2008
Posts: 196
Thanked 5 Times in 5 Posts
Default

I've used env -i, also, without fail because it solved
a buildworld a few versions ago.
__________________
using /LOOKAT/ with /var/db/pkg files and portmaster/aliases/pipes/find/grep to meteorically speedup port upgrades/installs...
Reply With Quote
Old 30th October 2008
mdh's Avatar
mdh mdh is offline
Real Name: Matt D. Harris
FreeBSD 2.2.6 User
 
Join Date: Oct 2008
Location: West Virginia
Posts: 139
Thanked 8 Times in 8 Posts
Default

Quote:
Originally Posted by map7 View Post
I just want to upgrade to 7.1 so should I use RELENG_7_1 instead?

Will that be easier to compile?
I don't think there's a RELENG_7_1 branch yet. As of right now, according to this url, there isn't.

Quote:
Originally Posted by map7 View Post
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.
Wow, weird... would you mind posting your environment details so that it can be considered? I'm just curious...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 11:41 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick