Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 2004 18:37:22 -0200
From:      "Fred N. Souza" <fred@freebsdbrasil.com.br>
To:        stable@freebsd.org
Subject:   Problems re-building a FreeBSD 4.x box
Message-ID:  <20041222203722.GH839@blizzard.freebsdbrasil.com.br>

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

  I have a 4.9-STABLE box that I'm willing to upgrade to a newer version
  (but still on 4.x branch). I tried the usual, cvsup'ed to RELENG_4,
  went to /usr/src and proceeded with a make buildworld. It failed with
  these messages:

  cc -O -pipe  -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr/obj/usr/src/i386/usr\"
  -I/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1/../cc_tools
  -I/usr/src/gnu/usr.bin/cc/cc1/../cc_tools
  -I/usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc
  -I/usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/config -I.
  -D__FBSDID=__RCSID -c
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c: In function
  `forget_protocol_qualifiers':
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:153: `wordlist'
  undeclared (first use in this function)
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:153: (Each
  undeclared identifier is reported only once
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:153: for each
  function it appears in.)
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:153: sizeof
  applied to an incomplete type
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c: In function
  `remember_protocol_qualifiers':
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:164: `wordlist'
  undeclared (first use in this function)
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:164: sizeof
  applied to an incomplete type
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c: In function
  `init_lex':
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:284: warning:
  initialization makes pointer from integer without a cast
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:284:
  dereferencing pointer to incomplete type
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:288: warning:
  initialization makes pointer from integer without a cast
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:288:
  dereferencing pointer to incomplete type
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:289: warning:
  initialization makes pointer from integer without a cast
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:289:
  dereferencing pointer to incomplete type
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:290: warning:
  initialization makes pointer from integer without a cast
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:290:
  dereferencing pointer to incomplete type
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:291: warning:
  initialization makes pointer from integer without a cast
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:291:
  dereferencing pointer to incomplete type
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:292: warning:
  initialization makes pointer from integer without a cast
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:292:
  dereferencing pointer to incomplete type
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:293: warning:
  initialization makes pointer from integer without a cast
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:293:
  dereferencing pointer to incomplete type
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:294: warning:
  initialization makes pointer from integer without a cast
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:294:
  dereferencing pointer to incomplete type
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:295: warning:
  initialization makes pointer from integer without a cast
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:295:
  dereferencing pointer to incomplete type
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:298: warning:
  initialization makes pointer from integer without a cast
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:298:
  dereferencing pointer to incomplete type
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:302: warning:
  initialization makes pointer from integer without a cast
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:302:
  dereferencing pointer to incomplete type
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:303: warning:
  initialization makes pointer from integer without a cast
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:303:
  dereferencing pointer to incomplete type
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:304: warning:
  initialization makes pointer from integer without a cast
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:304:
  dereferencing pointer to incomplete type
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:305: warning:
  initialization makes pointer from integer without a cast
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:305:
  dereferencing pointer to incomplete type
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:306: warning:
  initialization makes pointer from integer without a cast
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:306:
  dereferencing pointer to incomplete type
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c: In function
  `yylex':
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:1347: warning:
  assignment makes pointer from integer without a cast
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:1349:
  dereferencing pointer to incomplete type
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:1350:
  dereferencing pointer to incomplete type
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:1351:
  dereferencing pointer to incomplete type
  /usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/c-lex.c:1366:
  dereferencing pointer to incomplete type
  *** Error code 1

  Stop in /usr/src/gnu/usr.bin/cc/cc1.
  *** Error code 1

  Stop in /usr/src/gnu/usr.bin/cc.
  *** Error code 1

  I then tried removing /usr/obj and restarting the process and the same error
  on the same place stopped it. Then I tried cvsup'ing to RELENG_4_10 and the
  same thing happened once again. Is this a known issue of some sort that I
  couldn't spot on the lists (I tried hackers@, stable@ and questions@)?

  Better yet, is there anyone who knows how to fix it, even if it's just for
  me?

  Thank you all in advance,

-- 
Fred N. Souza - Software Engineer
FreeBSD Brasil LTDA - http://www.freebsdbrasil.com.br/
-
"If ignorance is bliss, why aren't there more happy people?"



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