Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!kl-cs!nott-cs!cat.fulcrum.bt.co.uk!masalla.fulcrum.bt.co.uk!axion!hfserver!davel From: davel@hfserver.hfnet.bt.co.uk (News Manager) Newsgroups: comp.windows.x Subject: Building InterViews under X11R4 Keywords: InterViews R4 Sun4 Message-ID: <1004@hfserver.hfnet.bt.co.uk> Date: 8 Mar 90 16:33:13 GMT Organization: British Telecom Research Labs, Martlesham Heath, Ipswich, Suffolk UK Lines: 48 I'm attempting to build InterViews 2.6 under (on top of?) X11R4 on a Sun 4/110 running SunOS 4.0.1. However I get a lot of 'conflicting types' messages for the Xlib functions as per the extract below. compiling ../X11-bitmap.c CC -c -I.. -I../Generated -I../../.././src/InterViews/Std -I../../.././s rc ../X11-bitmap.c In file included from ../../.././src/InterViews/X11/painterrep.h:30, from . ./X11-bitmap.c:30: ../../.././src/InterViews/X11/Xlib.h:244: conflicting types for `void XClos eDisplay (struct _XDisplay *)' ../../.././src/InterViews/X11/Xlib.h:253: conflicting types for `void XSetS creenSaver (struct _XDisplay *, int, int, int, int)' ../../.././src/InterViews/X11/Xlib.h:254: conflicting types for `void XForc eScreenSaver (struct _XDisplay *, int)' I also get the following '... is ambiguous in multiple inheritance lattice' messages: compiling ../menu.c CC -c -I.. -I../Generated -I../../.././src/InterViews/Std -I../../.././s rc ../menu.c In method void Menu::Init (): ../menu.c:118: request for member `state' is ambiguous in multiple inherita nce lattice ../menu.c:119: request for member `state' is ambiguous in multiple inherita nce lattice In method void Menu::~Menu (): ../menu.c:133: request for member `state' is ambiguous in multiple inherita nce lattice In method void Menu::SetBodyState (struct ControlState *): ../menu.c:141: request for member `state' is ambiguous in multiple inherita nce lattice *** Error code 1 I've built and am running X11R4 mit with no problems that I'm aware of. Any suggestions anyone? Dave -- Dave Linton British Telecom Research Labs Martlesham Heath Ipswich IP5 7RE Phone: +44 473 644127 UK Fax: +44 473 637557