Date: Wed, 8 Nov 2000 13:39:48 +0200 From: Vikash Badal * <VikashB@PQAfrica.co.za> To: "Freebsd-Questions (E-mail)" <freebsd-questions@FreeBSD.ORG> Subject: Upgrading from 3.2 to 4.1.1 Message-ID: <501BF453CDCFD111A6E40080C83DAC04E4B7A2@PSICS001>
next in thread | raw e-mail | index | archive | help
Greetings I have downloaded the FreeBSD 4.1.1 ISO image and I am trying to upgrade the server via the network from version 3.2 to version 4.1.1. I have the ISO image on the server, and have mounted it using the vnconfig utility.I extracted the src directory from the image ( ./install.sh all ) into the /usr/src and when I try to make buildworld, the compilation stops due to errors. What have i forgotten or done wrong ? what I have done after making a backup: vnconfig /dev/vn0c /usr/backup/4.1.1-install.iso mount -t cd9660 /dev/vn0c /mnt cd /mnt/compat3x ;./install.sh cd ../src ; ./install.sh cd /usr/src make buildworld fails : >>> stage 2: build tools 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/i nclude -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS -DMAIN_PROGRAM /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c In file included from /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinf o/comp_hash.c:43: /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:120: parse error bef ore `GCC_PRINTFLIKE' /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:120: warning: data d efinition has no type or storage class /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:265: parse error bef ore `GCC_PRINTFLIKE' /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:265: warning: data d efinition has no type or storage class /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:266: parse error bef ore `GCC_PRINTFLIKE' /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:266: warning: data d efinition has no type or storage class /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:267: parse error bef ore `GCC_PRINTFLIKE' /usr/src/lib/libncurses/../../contrib/ncurses/include/tic.h:267: warning: data d efinition has no type or storage class /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:52: pars e error before string constant /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:54: warn ing: return-type defaults to `int' /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c: In func tion `MODULE_ID': /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:54: stor age class specified for parameter `hash_function' In file included from /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinf o/doalloc.c:41, from /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinf o/comp_hash.c:69: /usr/src/lib/libncurses/curses.priv.h:20: storage class specified for parameter `sigaction_t' /usr/src/lib/libncurses/curses.priv.h:48: storage class specified for parameter `newscr' /usr/src/lib/libncurses/curses.priv.h:60: storage class specified for parameter `_outch' /usr/src/lib/libncurses/curses.priv.h:61: storage class specified for parameter `init_acs' /usr/src/lib/libncurses/curses.priv.h:62: storage class specified for parameter `tstp' /usr/src/lib/libncurses/curses.priv.h:63: storage class specified for parameter `makenew' /usr/src/lib/libncurses/curses.priv.h:64: storage class specified for parameter `timed_wait' /usr/src/lib/libncurses/curses.priv.h:65: storage class specified for parameter `_nc_background' /usr/src/lib/libncurses/curses.priv.h:66: storage class specified for parameter `_nc_render' /usr/src/lib/libncurses/curses.priv.h:67: storage class specified for parameter `_nc_keypad' /usr/src/lib/libncurses/curses.priv.h:68: storage class specified for parameter `_nc_scroll_window' /usr/src/lib/libncurses/curses.priv.h:75: warning: structure defined inside parm s /usr/src/lib/libncurses/curses.priv.h:75: warning: empty declaration /usr/src/lib/libncurses/curses.priv.h:91: warning: structure defined inside parm s /usr/src/lib/libncurses/curses.priv.h:92: warning: structure defined inside parm s /usr/src/lib/libncurses/curses.priv.h:92: storage class specified for parameter `SLK' /usr/src/lib/libncurses/curses.priv.h:126: parse error before `SLK' /usr/src/lib/libncurses/curses.priv.h:126: warning: no semicolon at end of struc t or union /usr/src/lib/libncurses/curses.priv.h:92: declaration for parameter `SLK' but no such parameter /usr/src/lib/libncurses/curses.priv.h:68: declaration for parameter `_nc_scroll_ window' but no such parameter /usr/src/lib/libncurses/curses.priv.h:67: declaration for parameter `_nc_keypad' but no such parameter /usr/src/lib/libncurses/curses.priv.h:66: declaration for parameter `_nc_render' but no such parameter /usr/src/lib/libncurses/curses.priv.h:65: declaration for parameter `_nc_backgro und' but no such parameter /usr/src/lib/libncurses/curses.priv.h:64: declaration for parameter `timed_wait' but no such parameter /usr/src/lib/libncurses/curses.priv.h:63: declaration for parameter `makenew' bu t no such parameter /usr/src/lib/libncurses/curses.priv.h:62: declaration for parameter `tstp' but n o such parameter /usr/src/lib/libncurses/curses.priv.h:61: declaration for parameter `init_acs' b ut no such parameter /usr/src/lib/libncurses/curses.priv.h:60: declaration for parameter `_outch' but no such parameter /usr/src/lib/libncurses/curses.priv.h:48: declaration for parameter `newscr' but no such parameter /usr/src/lib/libncurses/curses.priv.h:20: parameter `sigaction_t' has incomplete type /usr/src/lib/libncurses/curses.priv.h:20: declaration for parameter `sigaction_t ' but no such parameter /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:54: decl aration for parameter `hash_function' but no such parameter In file included from /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinf o/comp_hash.c:69: /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/doalloc.c:49: `oldp' undeclared (first use this function) /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/doalloc.c:49: (Each undeclared identifier is reported only once /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/doalloc.c:49: for ea ch function it appears in.) /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/doalloc.c:50: warnin g: implicit declaration of function `realloc' /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/doalloc.c:50: `amoun t' undeclared (first use this function) /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/doalloc.c:50: warnin g: assignment makes pointer from integer without a cast /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/doalloc.c:51: warnin g: implicit declaration of function `free' /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/doalloc.c:52: `errno ' undeclared (first use this function) /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/doalloc.c:52: `ENOME M' undeclared (first use this function) /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/doalloc.c:55: warnin g: implicit declaration of function `typeMalloc' /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/doalloc.c:55: parse error before `char' /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/doalloc.c:57: warnin g: return makes integer from pointer without a cast /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/doalloc.c: In functi on `_nc_strdup': /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/doalloc.c:65: parse error before `char' /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/doalloc.c:63: warnin g: `dst' might be used uninitialized in this function /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c: In func tion `_nc_make_hash_table': /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:79: warn ing: implicit declaration of function `hash_function' /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c: At top level: /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:107: war ning: `hash_function' was declared implicitly `extern' and later `static' /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c: In func tion `parse_columns': /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:196: war ning: implicit declaration of function `typeCalloc' /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:196: par se error before `char' /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c: In func tion `main': /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:229: par se error before `struct' /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:230: par se error before `struct' /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:246: war ning: implicit declaration of function `atoi' /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:250: `EX IT_FAILURE' undeclared (first use this function) /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:257: war ning: implicit declaration of function `strchr' /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:257: war ning: initialization makes pointer from integer without a cast /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:264: war ning: implicit declaration of function `strdup' /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:264: war ning: assignment makes pointer from integer without a cast /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:323: `EX IT_SUCCESS' undeclared (first use this function) /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c:324: war ning: control reaches end of non-void function *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. root@dbserv4:src$ Thanks Vikash To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?501BF453CDCFD111A6E40080C83DAC04E4B7A2>