[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems building siag-3.1.13 on Solaris 2.6
Hi,
I am trying to build siag-3.1.13 on a sun4u sparc machine running
Solaris 2.6, but it fails with `setenv' being undefined in Ghostview.o
Here is a log of the build with the relevant warnings/errors shown:
# ./configure
[... text cut away...]
# make
[... text cut away...]
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/openwin/include -Wall -g -O2 -c Ghostview.c
In file included from /usr/openwin/include/X11/Intrinsic.h:56,
from /usr/openwin/include/X11/IntrinsicP.h:54,
from Ghostview.c:30:
/usr/openwin/include/X11/Xlib.h:2063: warning: type defaults to `int' in declaration of `XSetTransientForHint'
/usr/openwin/include/X11/Xlib.h:2071: warning: type defaults to `int' in declaration of `XActivateScreenSaver'
/usr/openwin/include/X11/Xlib.h:2078: warning: type defaults to `int' in declaration of `XAddHost'
[... text cut away...]
/usr/openwin/include/X11/Xlib.h:4141: warning: type defaults to `int' in declaration of `XWarpPointer'
/usr/openwin/include/X11/Xlib.h:4162: warning: type defaults to `int' in declaration of `XWindowEvent'
In file included from /usr/openwin/include/X11/Intrinsic.h:57,
from /usr/openwin/include/X11/IntrinsicP.h:54,
from Ghostview.c:30:
/usr/openwin/include/X11/Xutil.h:363: warning: type defaults to `int' in declaration of `XClipBox'
/usr/openwin/include/X11/Xutil.h:389: warning: type defaults to `int' in declaration of `XDestroyRegion'
[... text cut away...]
/usr/openwin/include/X11/Xutil.h:879: warning: type defaults to `int' in declaration of `XUnionRegion'
/usr/openwin/include/X11/Xutil.h:903: warning: type defaults to `int' in declaration of `XXorRegion'
In file included from /usr/openwin/include/X11/Intrinsic.h:58,
from /usr/openwin/include/X11/IntrinsicP.h:54,
from Ghostview.c:30:
/usr/openwin/include/X11/Xresource.h:249: warning: type defaults to `int' in declaration of `XrmQGetResource'
Ghostview.c: In function `StartInterpreter':
Ghostview.c:1129: warning: subscript has type `char'
Ghostview.c:1132: warning: subscript has type `char'
Ghostview.c:1138: warning: subscript has type `char'
Ghostview.c:1180: warning: implicit declaration of function `setenv'
Ghostview.c:1104: warning: variable `arguments' might be clobbered by `longjmp' or `vfork'
[... text cut away...]
gcc -Wall -g -O2 -o clipart -L../siod -L../xcommon -L../common clipart.o -lsiod -lxcommon -lcommon -lcrypt -lXpm -L/usr/openwin/lib -R/usr/openwin/lib -lXaw3d -lXmu -lXext -lXt -lX11 -lSM -lICE -lsocket -lnsl -lsocket -lnsl -lm -ldb
Undefined first referenced
symbol in file
setenv ../xcommon/libxcommon.a(Ghostview.o)
ld: fatal: Symbol referencing errors. No output written to clipart
*** Error code 1
make: Fatal error: Command failed for target `clipart'
Current working directory /usr/local/src/siag/siag-3.1.13/plugins
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/src/siag/siag-3.1.13
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'
#
I do not know what went wrong. Can somebody help me?
Johan
--
Johan Nyberg mailto:nyberg@tsl.uu.se http://www3.tsl.uu.se/~nyberg
The Svedberg Laboratory, Uppsala Univ., BOX 533, S-75121 Uppsala, Sweden
Tel: +46-18-4713047 (office), +46-18-324314 (home). Fax: +46-18-4713833