Hello,
This is my first time I post a question here. Thank you all of OpenDX
developers, maintainers and also IBM for your great work and mind.
As the subject of this mail shows, I have a problem that I can't build
OpenDX 4.1.3 cvs snapshot of yesterday, September 06, 2001. In fact,
I could build the cvs snapshot of Jun 19, 2001 and also I've been learning
it since then with built OpenDX. And also, my i386 linux box has little
been changed. So I'm curious to know what's the source of this building
error.
- my RedHat 7.1 i386 linux box environment [almost all of the RPMs are
officially RedHat released] : kernel-2.4.3.12, glibc-2.2.2-10,
gcc-2.96-85, XFree86-4.0.3-5, ImageMagick-5.2.7-2, Mesa-3.4-13, libcdf-2.7-1,
netcdf-3.4-9, openmotif-2.1.30-8
- after CVS checkout, I did './CVSMake', and then configure using :
./configure --prefix=/home/spark/Work/OpenDX/opendx-4.1.3 \
--without-cdf \
--without-hdf \
--without-javadx \
>configure.log 2>&1 &
[configure.log file is attached]
- after then, I did 'make', and then following error messages appear :
...
[snip]
make[2]: Leaving directory `/home/spark/Work/OpenDX/dx/src/uipp'
Making all in misc
make[2]: Entering directory `/home/spark/Work/OpenDX/dx/src/misc'
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
-D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include -g -O2 -I/usr/X11R6/include
-D_GNU_SOURCE -c dx.c
dx.c:621:8: warning: extra tokens at end of #endif directive
dx.c: In function `configure':
dx.c:732: `_P_NOWAIT' undeclared (first use in this function)
dx.c:732: (Each undeclared identifier is reported only once
dx.c:732: for each function it appears in.)
make[2]: *** [dx.o] Error 1
make[2]: Leaving directory `/home/spark/Work/OpenDX/dx/src/misc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/spark/Work/OpenDX/dx/src'
make: *** [all-recursive] Error 1
- afterh the erroe message, I checked the file 'src/misc/dx.c', and I
suspect that '_P_NOWIAT' and '_P_WAIT'(?) are likely to be there for MS
Windows X-servers[Exeed and XWIN32].
- How can I build an OpenDX CVS snapshot again, and what I have to do?
Thank you in advance.
+++
Seung-seo Park [박승서] Office Phone: 02-880-8110
Researcher, R&D Center, MOASYS Corp. [International +82-2-880-8110]
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for rsh... no
checking for sh... /bin/sh
checking whether large file support needs explicit enabling... yes
checking architecture type... linux
checking architecture specific stuff... done
checking for csh... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for Cygwin environment... no
checking for executable suffix... no
checking for object file suffix... o
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking if intelnt on cygwin... no
checking for regex in -lgen... no
checking for regcomp in -lregex... no
checking for regcomp in -lREXP... no
checking for pthread_getspecific in -lpthread... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for SmcSetProperties in -lSM... yes
checking for printf in -lxlibcon... no
checking for XCreateWindow in -lxlib... no
checking for XtVaGetValues in -lxt... no
checking for XtVaGetValues in -lxmstatxt... no
checking for XmStringFree in -lxmstatic... no
checking for XmStringFree in -lxm... no
checking for glXGetConfig in -lhclglx... no
checking for XCreateGC in -lX11... yes
checking for XtMalloc in -lXt... yes
checking for XextAddDisplay in -lXext... yes
checking for sqrt in -lm... yes
checking for glXGetConfig in -lGL... yes
checking for XpSetImageResolution in -lXp... yes
checking for XmGetDestination in -lXm... yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for SmcSetProperties in -lSM... (cached) yes
checking for regcomp in -lREXP... (cached) no
checking whether we are using GNU glibc math... -D_GNU_SOURCE
checking for sqrt in -lm... (cached) yes
checking for main in -lg++... no
checking for main in -ldl... yes
checking for TIFF support ...
checking for tiff.h... yes
checking for tiffio.h... yes
checking for TIFFOpen in -ltiff... yes
checking if TIFF package is complete... yes
checking for XPM support ...
checking for xpm.h... no
checking for X11/xpm.h... yes
checking for XpmReadFileToPixmap in -lXpm... yes
checking if XPM package is complete... yes
checking for NETCDF support ...
checking for netcdf.h... yes
checking for nc_copy_att in -lnetcdf... yes
checking if NETCDF package is complete... yes
checking for ImageMagick support ...
checking for Magick-config... yes
checking for magick/magick.h... no
checking for GetImageInfo in -lMagick... no
checking if ImageMagick package is complete... no
checking for getdtablesize... yes
checking for getcwd... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for mkdir... yes
checking for mkfifo... yes
checking for mktime... yes
checking for putenv... yes
checking for re_comp... yes
checking for regcmp... no
checking for select... yes
checking for socket... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strspn... yes
checking for strstr... yes
checking for strtod... yes
checking for strtol... yes
checking for strtoul... yes
checking for uname... yes
checking for popen... yes
checking for vfork... yes
checking for trunc... yes
checking for _Errno... no
checking for _popen... no
checking for spawnvp... no
checking for _spawnvp... no
checking for regcomp... yes
checking for sysmp... no
checking for sysconf... yes
checking for pipe... yes
checking for _pipe... no
checking for _popen... (cached) no
checking for popen... (cached) yes
checking for _pclose... no
checking for pclose... yes
checking for random... yes
checking for rand... yes
checking for srandom... yes
checking for shmat... yes
checking for getopt... yes
checking for srand... yes
checking for opendir... yes
checking for fork... yes
checking for _findfirst... no
checking for strrstr... no
checking for strcasecmp... yes
checking for stricmp... no
checking for getpid... yes
checking for _getpid... no
checking for unlink... yes
checking for _unlink... no
checking for getlogin... yes
checking for isatty... yes
checking for _isatty... no
checking for GetShortPathName... no
checking for flex... flex
checking for flex... (cached) flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison
checking for DPS/XDPSlib.h... yes
checking for DPS/dpsXclient.h... yes
checking for DPS/psops.h... yes
checking for GL/gl.h... yes
checking for GL/glx.h... yes
checking for Mrm/MrmPubli.h... no
checking for X11/Composite.h... yes
checking for X11/CompositeP.h... yes
checking for X11/Constraint.h... yes
checking for X11/CoreP.h... yes
checking for X11/Intrinsic.h... yes
checking for X11/IntrinsicI.h... no
checking for X11/IntrinsicP.h... yes
checking for X11/Protocols.h... no
checking for X11/Shell.h... yes
checking for X11/StringDefs.h... yes
checking for X11/X.h... yes
checking for X11/XHPlib.h... no
checking for X11/Xatom.h... yes
checking for X11/Xlib.h... yes
checking for X11/XlibXtra.h... no
checking for X11/Xmu/Editres.h... yes
checking for X11/Xos.h... yes
checking for X11/Xutil.h... yes
checking for X11/cursorfont.h... yes
checking for X11/keysym.h... yes
checking for X11/keysymdef.h... yes
checking for Xm/ArrowB.h... yes
checking for Xm/ArrowBG.h... yes
checking for Xm/AtomMgr.h... yes
checking for Xm/BulletinB.h... yes
checking for Xm/BulletinBP.h... yes
checking for Xm/CascadeB.h... yes
checking for Xm/CascadeBG.h... yes
checking for Xm/Command.h... yes
checking for Xm/CutPaste.h... yes
checking for Xm/DialogS.h... yes
checking for Xm/DragC.h... yes
checking for Xm/DragDrop.h... yes
checking for Xm/DrawingA.h... yes
checking for Xm/DrawingAP.h... yes
checking for Xm/DrawnB.h... yes
checking for Xm/FileSB.h... yes
checking for Xm/Form.h... yes
checking for Xm/FormP.h... yes
checking for Xm/Frame.h... yes
checking for Xm/FrameP.h... yes
checking for Xm/GadgetP.h... yes
checking for Xm/Label.h... yes
checking for Xm/LabelG.h... yes
checking for Xm/LabelGP.h... yes
checking for Xm/LabelP.h... yes
checking for Xm/List.h... yes
checking for Xm/MainW.h... yes
checking for Xm/ManagerP.h... yes
checking for Xm/MenuShell.h... yes
checking for Xm/MessageB.h... yes
checking for Xm/MwmUtil.h... yes
checking for Xm/PanedW.h... yes
checking for Xm/PrimitiveP.h... yes
checking for Xm/Protocols.h... yes
checking for Xm/PushB.h... yes
checking for Xm/PushBG.h... yes
checking for Xm/PushBP.h... yes
checking for Xm/RepType.h... yes
checking for Xm/RowColumn.h... yes
checking for Xm/Scale.h... yes
checking for Xm/ScrollBar.h... yes
checking for Xm/ScrolledW.h... yes
checking for Xm/ScrolledWP.h... yes
checking for Xm/SelectioB.h... yes
checking for Xm/SeparatoG.h... yes
checking for Xm/SeparatoGP.h... yes
checking for Xm/Separator.h... yes
checking for Xm/Text.h... yes
checking for Xm/TextF.h... yes
checking for Xm/ToggleB.h... yes
checking for Xm/ToggleBG.h... yes
checking for Xm/Xm.h... yes
checking for Xm/XmP.h... yes
checking for Xm/XmStrDefs.h... yes
checking for alloca.h... yes
checking for arpa/inet.h... yes
checking for bstring.h... no
checking for cdf.h... no
checking for conio.h... no
checking for crypt.h... yes
checking for ctype.h... yes
checking for cygwin/socket.h... no
checking for dfsd.h... no
checking for direct.h... no
checking for dirent.h... yes
checking for dl.h... no
checking for dlfcn.h... yes
checking for errno.h... yes
checking for fcntl.h... yes
checking for float.h... yes
checking for fstream.h... no
checking for get.h... no
checking for gl.h... no
checking for gl/device.h... no
checking for gl/gl.h... no
checking for invent.h... no
checking for io.h... no
checking for iop/afb.h... no
checking for iop/mov.h... no
checking for iop/pfs.h... no
checking for iostream.h... no
checking for license.h... no
checking for limits.h... yes
checking for malloc.h... yes
checking for math.h... yes
checking for memory.h... yes
checking for mingw32/dir.h... no
checking for mon.h... no
checking for net/if.h... yes
checking for net/if_arp.h... yes
checking for net/route.h... yes
checking for netcdf.h... (cached) yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for os2.h... no
checking for process.h... no
checking for pwd.h... yes
checking for regexp.h... yes
checking for regex.h... yes
checking for setjmp.h... yes
checking for signal.h... yes
checking for starbase.c.h... no
checking for stdarg.h... yes
checking for stddef.h... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for stream.h... no
checking for string.h... yes
checking for strings.h... yes
checking for synch.h... no
checking for sys/access.h... no
checking for sys/bsd_types.h... no
checking for sys/file.h... yes
checking for sys/filio.h... no
checking for sys/ioctl.h... yes
checking for sys/ipc.h... yes
checking for sys/ldr.h... no
checking for sys/m88kbcs.h... no
checking for sys/m_wait.h... no
checking for sys/mman.h... yes
checking for sys/mode.h... no
checking for sys/param.h... yes
checking for sys/pstat.h... no
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/shm.h... yes
checking for sys/signal.h... yes
checking for sys/socket.h... yes
checking for sys/stat.h... yes
checking for sys/svs.h... no
checking for sys/syslimits.h... no
checking for sys/sysmacros.h... yes
checking for sys/sysmp.h... no
checking for sys/sysconfig.h... no
checking for sys/errno.h... yes
checking for sys/systemcfg.h... no
checking for sys/shm.h... (cached) yes
checking for sys/systeminfo.h... no
checking for sys/time.h... yes
checking for sys/timeb.h... yes
checking for sys/times.h... yes
checking for sys/types.h... yes
checking for sys/un.h... yes
checking for sys/utsname.h... yes
checking for sys/wait.h... (cached) yes
checking for sysent.h... no
checking for time.h... yes
checking for types.h... no
checking for ulocks.h... no
checking for unistd.h... yes
checking for values.h... yes
checking for wait.h... yes
checking for x11/xlibxtra.h... no
checking for xgl/xgl.h... no
checking for linux/kernel.h... yes
checking for linux/sys.h... yes
O_RDONLY IS defined by default
checking for windows.h... (cached) no
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
stat function is: stat
stat structure is: stat
checking for CC/libc.h... no
checking for CC/osfcn.h... no
checking for strstrea.h... no
checking for strstream.h... yes
checking for socket in -lsocket... no
checking for inet_addr in -lnsl... yes
checking whether -O2 interferes with fstream in C++... no
checking whether header file math.h contains symbol M_PI... yes
checking whether header file math.h contains symbol M_SQRT2... yes
checking whether header file sys/stat.h contains symbol S_ISDIR... yes
checking whether header file sys/mode.h contains symbol S_ISDIR... no
checking whether header file sys/sysmp.h contains symbol sysmp... no
checking for 8-bit clean memcmp... no
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking for vfork.h... no
checking for working vfork... no
checking for vprintf... no
checking for _doprnt... no
checking for uint... yes
checking for byte... no
checking for ubyte... no
checking for short... yes
checking for ushort... yes
checking for ulong... yes
checking for int8... no
checking for uint8... no
checking for int16... no
checking for uint16... no
checking for int32... no
checking for uint32... no
checking for int64... no
checking for float64... no
checking for __int64... no
checking for uint64... no
checking for float32... no
checking whether byte ordering is bigendian... no
Using standard signal argument list in C++
checking for windows.h... (cached) no
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for select.h... no
checking for sys/select.h... (cached) yes
the second third and fourth args to select are pointers to fd_set
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
the third arg to getsockname is pointer to socklen_t
checking whether -lstdc++ is needed... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating bin/Makefile
creating bin/dx
creating bin/dxworker
creating bin/mdf2c
creating doc/Makefile
creating fonts/Makefile
creating help/Makefile
creating html/Makefile
creating include/Makefile
creating include/dx/Makefile
creating lib/Makefile
creating man/Makefile
creating man/catl/Makefile
creating man/manl/Makefile
creating src/Makefile
creating src/exec/Makefile
creating src/exec/dpexec/Makefile
creating src/exec/dpexec/local.mk
creating src/exec/dxexec/Makefile
creating src/exec/dxmods/Makefile
creating src/exec/dxmods/local.mk
creating src/exec/hwrender/Makefile
creating src/exec/hwrender/gl/Makefile
creating src/exec/hwrender/opengl/Makefile
creating src/exec/hwrender/starbase/Makefile
creating src/exec/hwrender/xgl/Makefile
creating src/exec/libdx/Makefile
creating src/exec/libdx/local.mk
creating src/misc/Makefile
creating src/misc/arch.mak
creating src/uipp/Makefile
creating src/uipp/base/Makefile
creating src/uipp/dxl/Makefile
creating src/uipp/dxui/Makefile
creating src/uipp/dxuilib/Makefile
creating src/uipp/dxuilib/local.mk
creating src/uipp/java/Makefile
creating src/uipp/java/dx/Makefile
creating src/uipp/java/dx/protocol/Makefile
creating src/uipp/java/dx/protocol/server/Makefile
creating src/uipp/java/dx/runtime/Makefile
creating src/uipp/java/server/Makefile
creating src/uipp/java/server/macros/Makefile
creating src/uipp/java/server/dxserver.paths
creating src/uipp/java/server/startserver
creating src/uipp/java/dx/client/Makefile
creating src/uipp/java/dx/net/Makefile
creating src/uipp/mb/Makefile
creating src/uipp/prompter/Makefile
creating src/uipp/startup/Makefile
creating src/uipp/tutor/Makefile
creating src/uipp/ui/Makefile
creating src/uipp/ui/Makefile
creating src/uipp/widgets/Makefile
creating windows/Makefile
creating include/dxconfig.h