On Fri, Sep 23, 2011 at 1:04 AM, Chris Smith <[email protected]> wrote: > It seems I've followed the instructions labelled "2011/09/19 - thread > model posix enabled for gcc 3" at > http://openbsd.org/faq/current.html#20110919 and mistakenly so which > is probably why userland wont build as that process has replaced > gcc-4.x with gcc-3.x.
Mmmm are you on alpha or landisk that you follow those instructions? > > If indeed that is the case, the question is, how do I get gcc-4.x back ? > > Thanks, > > Chris > > On Wed, Sep 21, 2011 at 12:01 PM, Chris Smith <[email protected]> > wrote: >> Problems building -current userland: >> ====================================== >> ===> libcurses >> cc -O2 -pipe -g -I. -I/usr/src/lib/libcurses B B B -c codes.c -o codes.o >> cc -O2 -pipe -g -I. -I/usr/src/lib/libcurses B B B -c comp_captab.c -o >> comp_captab.o >> cc -O2 -pipe -g -I. -I/usr/src/lib/libcurses B B B -c expanded.c -o > expanded.o >> cc -O2 -pipe -g -I. -I/usr/src/lib/libcurses B B B -c fallback.c -o > fallback.o >> cc -O2 -pipe -g -I. -I/usr/src/lib/libcurses B B B -c lib_gen.c -o lib_gen.o >> lib_gen.c:27: error: conflicting types for `addchnstr' >> /usr/src/lib/libcurses/curses.h:531: error: previous declaration of > `addchnstr' >> lib_gen.c:34: error: conflicting types for `addchstr' >> /usr/src/lib/libcurses/curses.h:532: error: previous declaration of > `addchstr' >> lib_gen.c:41: error: conflicting types for `addnstr' >> /usr/src/lib/libcurses/curses.h:533: error: previous declaration of > `addnstr' >> lib_gen.c:48: error: conflicting types for `addstr' >> <snip> >> lib_gen.c:1522: error: conflicting types for `waddwstr' >> /usr/src/lib/libcurses/curses.h:1483: error: previous declaration of > `waddwstr' >> lib_gen.c:1558: error: conflicting types for `wins_wstr' >> /usr/src/lib/libcurses/curses.h:1499: error: previous declaration of > `wins_wstr' >> *** Error code 1 >> >> Stop in /usr/src/lib/libcurses (line 92 of /usr/share/mk/sys.mk). >> *** Error code 1 >> >> Stop in /usr/src/lib (line 48 of /usr/share/mk/bsd.subdir.mk). >> *** Error code 1 >> >> Stop in /usr/src (line 80 of Makefile). >> ====================================== >> >> Clues please. >> >> Chris

