Subject: Minor problems upgrading to current
To: None <current-users@netbsd.org>
From: None <Geir.I.Jensen@Runit.Sintef.No>
List: current-users
Date: 10/01/1998 10:07:30
Hi,
I have now successfully upgraded i386 NetBSD 1.3.2 to current as of
july 29. It was not easy, and I had to hack around some problems.
- I had to manually merge /usr/src/gnu/lib/libg++/libstdc++/std/ and
/usr/src/gnu/dist/libstdc++/std/ into /usr/include/g++/std.
- I had to symlink /usr/include/i386 to /usr/include/machine.
- I had to copy /usr/src/share/mk/Makefile to /usr/share/mk/Makefile
(otherwise 'make' in /usr/src/sys/arch failed)
- I had to copy /usr/src/gnu/dist/include/libiberty.h to
/usr/src/gnu/lib/bfd/libiberty.h
I think that was all I had to do (besides compiling various utilities
and libraries before even attempting 'make build').
I did encounter some problems that I haven't figured out yet:
root@mira# cd /usr/src/sbin/fsck_ext2fs/
root@mira# make
cc -O -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror -I/usr/src/sbin/fsck_ext2fs/../fsck -c dir.c
In file included from dir.c:50:
/usr/include/ufs/ext2fs/ext2fs.h:40: machine/bswap.h: No such file or directory
*** Error code 1
Stop.
I don't have bswap.h anywhere on my system! Is it generated somehow?
root@mira# make
all ===> tn3270
cc -O -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror -I/usr/src/usr.bin/tn3270/tn3270/../../../lib -I/usr/src/usr.bin/tn3270/tn3270/../../telnet -DTERMCAP -DSRCRT -DKLUDGELINEMODE -DUSE_TERMIO -DTN3270 -Dunix -I/usr/src/usr.bin/tn3270/tn3270 -I. -c /usr/src/usr.bin/tn3270/tn3270/../ctlr/api.c
cc1: warnings being treated as errors
In file included from /usr/src/usr.bin/tn3270/tn3270/../ctlr/api.c:61:
/usr/src/usr.bin/tn3270/tn3270/../ctlr/externs.h:44: warning: function declaration isn't a prototype
/usr/src/usr.bin/tn3270/tn3270/../ctlr/externs.h:45: warning: function declaration isn't a prototype
And so on...
root@mira# cd /usr/src/games
root@mira# make
all ===> adventure
cc -O -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror -c main.c
cc -O -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror -c init.c
cc1: warnings being treated as errors
init.c: In function `startup':
init.c:230: warning: implicit declaration of function `time'
*** Error code 1
Stop.
*** Error code 1
Stop.
I don't priority games very high, so I haven't looked at this one.
root@mira# make
all ===> include
all ===> include/bitstring
cc -O -Werror -c bitstring_test.c
cc -o bitstring_test bitstring_test.o
all ===> lib
all ===> lib/libc
all ===> lib/libc/_setjmp
cc -O -Werror -DTEST_U_SETJMP -c /usr/src/regress/lib/libc/_setjmp/../setjmp/jmptest.c
/usr/src/regress/lib/libc/_setjmp/../setjmp/jmptest.c: In function `main':
/usr/src/regress/lib/libc/_setjmp/../setjmp/jmptest.c:104: incompatible types in assignment
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
I haven't looked at this one either.
Conclusion: 'make build' still fails at some points, but I do have
current up and running ;)
BTW!
Current does not read disklabels from disks with partition id of 165! I
had to change it to 169 on all my disks before mounting...
Regards,
--
Geir Inge Jensen gij@jk.priv.no
http://www.jk.priv.no/