[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with Nam compilation



Hi,

when I try to install the current version of Nam (but I have the same
problem with earlier versions) I get the following error:

rm -f netview.o; c++ -o netview.o -c -O2 -DTCL_TK  -DNDEBUG -mv8
-msupersparc -D__svr4__ -DUSE_SHM -DHAVE_LIBTCLCL1_0B8 -DHAVE_TCLCL_H
-DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H
-DHAVE_LIBTCL8_0 -DHAVE_TCL_H -DHAVE_LIBZ1_1_3 -DHAVE_ZLIB_H  -I.
-I../tclcl-1.0b8-current -I../otcl-1.0a4 -I../tkbox/include
-I../tclbox/include -I../zlib-1.1.3 -I/usr/openwin/include  netview.cc
In file included from bbox.h:39,
                 from netview.cc:44:
/usr/openwin/include/X11/Xlib.h:1894: ANSI C++ forbids declaration
`XSetTransientForHint' with no type
/usr/openwin/include/X11/Xlib.h:1902: ANSI C++ forbids declaration
`XActivateScreenSaver' with no type
/usr/openwin/include/X11/Xlib.h:1909: ANSI C++ forbids declaration
`XAddHost' with no type
/usr/openwin/include/X11/Xlib.h:1917: ANSI C++ forbids declaration
`XAddHosts' with no type
/usr/openwin/include/X11/Xlib.h:1924: ANSI C++ forbids declaration
`XAddToExtensionList' with no type
/usr/openwin/include/X11/Xlib.h:1931: ANSI C++ forbids declaration
`XAddToSaveSet' with no type
/usr/openwin/include/X11/Xlib.h:1985: ANSI C++ forbids declaration
`XAllowEvents' with no type
/usr/openwin/include/X11/Xlib.h:1991: ANSI C++ forbids declaration
`XAutoRepeatOff' with no type
/usr/openwin/include/X11/Xlib.h:1997: ANSI C++ forbids declaration
`XAutoRepeatOn' with no type
/usr/openwin/include/X11/Xlib.h:2004: ANSI C++ forbids declaration `XBell'
with no type
................
/usr/openwin/include/X11/Xlib.h:3961: ANSI C++ forbids declaration
`XWarpPointer' with no type
/usr/openwin/include/X11/Xlib.h:3982: ANSI C++ forbids declaration
`XWindowEvent' with no type
make: *** [netview.o] Error 1

Is someone able to help me?

Thank you in advance!

Paolo Pellegrino



Paolo PELLEGRINO
Infrastructures
Switching Platform
Switching Systems
CSELT - Centro Studi e Laboratori Telecomunicazioni
Via G. Reiss Romoli 274
10148 TORINO- ITALY

Phone: +39 11 2287164
Fax:       +39 11 2287003
email:    [email protected]