make Buildworld fails...why?
Hello, I've been trying to upgrade a 5.4-RELEASE to 6.2-RELEASE and having a bit of a problem. Downloaded and untar's the source files for base, catpages, dict, doc, games, info, manpages, proflibs, and src directories per INSTALL.TXT in the releases/.../src directory after backing up my local /etc and /usr/local/etc directories. I've tweaked the GENERIC kernel config file and renamed is RADIUS2 While in /usr/src I did a 'make buildworld'. I do okay until I get to stage 2.3: build tools. There I get to the following error when compiling make_hash. Can anyone help me determine why this is failing? Were my upgrade procedures cc -o make_hash -O -pipe -I. -I/usr/src/lib/libncurses -I/usr/src/lib/libncurses/. ./../contrib/ncurses/ncurses -I/usr/src/lib/libncurses/../../contrib/ncurses /include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS -I/usr/o bj/usr/src/tmp/legacy/usr/include -DMAIN_PROGRAM /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c In file included from /usr/src/lib/libncurses/curses.h:42, from /usr/src/lib/libncurses/curses.priv.h:25, from /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:40: ./unctrl.h:57: error: syntax error before char ./unctrl.h:57: warning: type defaults to `int' in declaration of `unctrl' ./unctrl.h:57: warning: data definition has no type or storage class In file included from /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:42: /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:119: error: syntax error before _nc_tracing /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:119: warning: type defaults to `int' in declaration of `_nc_tracing' /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:119: warning: data definition has no type or storage class /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:120: error: syntax error before _nc_tracef /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:120: error: syntax error before GCC_PRINTFLIKE /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:121: error: syntax error before _nc_visbuf /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:121: warning: type defaults to `int' in declaration of `_nc_visbuf' /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:121: warning: data definition has no type or storage class /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:122: error: syntax error before _nc_visbuf2 /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:122: warning: type defaults to `int' in declaration of `_nc_visbuf2' /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:122: warning: data definition has no type or storage class /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:153: error: syntax error before _nc_curr_token /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:153: warning: type defaults to `int' in declaration of `_nc_curr_token' /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:153: warning: data definition has no type or storage class /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:163: error: syntax error before _nc_key_names /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:163: warning: type defaults to `int' in declaration of `_nc_key_names' /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:163: warning: data definition has no type or storage class /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:181: error: syntax error before _nc_tinfo_fkeys /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:181: warning: type defaults to `int' in declaration of `_nc_tinfo_fkeys' /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:181: warning: data definition has no type or storage class /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:206: error: syntax error before _nc_tparm_err /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:206: warning: type defaults to `int' in declaration of `_nc_tparm_err' /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:206: warning: data definition has no type or storage class /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:208: error: syntax error before _nc_info_hash_table /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:208: warning: type defaults to `int' in declaration of `_nc_info_hash_table' /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:208: warning: data definition has no type or storage class /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:209: error: syntax error before _nc_cap_hash_table /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:209: warning: type defaults to `int' in declaration of `_nc_cap_hash_table' /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:209: warning: data definition has no type or storage class
Re: make Buildworld fails...why?
Mark Stout wrote: Hello, I've been trying to upgrade a 5.4-RELEASE to 6.2-RELEASE and having a bit of a problem. Downloaded and untar's the source files for base, catpages, dict, doc, games, info, manpages, proflibs, and src directories per INSTALL.TXT in the releases/.../src directory after backing up my local /etc and /usr/local/etc directories. I've tweaked the GENERIC kernel config file and renamed is RADIUS2 While in /usr/src I did a 'make buildworld'. I do okay until I get to stage 2.3: build tools. There I get to the following error when compiling make_hash. Can anyone help me determine why this is failing? Were my upgrade procedures Thank you, Mark Stout VPM Global Internet Services, Inc. 530-626-4218 x205 Office 530-626-7182 Fax 530-554-9295 VoIP 916-240-2850 Cell www.vpm.com Generally speaking the best supported upgrade path across major version numbers is from the last release of the older version to the first of the newer, which in your case would mean upgrading from 5.4 - 5.5 - 6.0 - 6.2 Is there any particular reason you aren't using cvsup/csup to update your source tree? -- Thanks, Josh Paetzel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]