Problem compiling InterViews on cygwin: recipe for cursor.lo

Post Reply
CCohen
Posts: 27
Joined: Thu Apr 26, 2012 8:41 am

Problem compiling InterViews on cygwin: recipe for cursor.lo

Post by CCohen »

Hello,

I am having trouble compiling InterViews (iv-18) with cygwin on Windows 8.1. The problem seems related to the recipe for cursor.lo (cursor.cpp) contained in src/lib/IV-Win. Configuration seems to run without a hitch. The problem arises at the make level. Please see below:

Code: Select all

CCo@CC ~/iv
$ ./configure --prefix=`pwd` --without-x --build=x86_64-pc-cygwin
checking build system type... x86_64-pc-cygwin
checking host system type... x86_64-pc-cygwin
CYGWIN=yes
MINGW=no
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking how to print strings... printf
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-pc-cygwin/bin/ld.exe
checking if the linker (/usr/x86_64-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 8192
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-cygwin file names to x86_64-pc-cygwin format..                                                                                                                                                                                               . func_convert_file_noop
checking how to convert x86_64-pc-cygwin file names to toolchain format... func_                                                                                                                                                                                               convert_file_noop
checking for /usr/x86_64-pc-cygwin/bin/ld.exe option to reload object files... -                                                                                                                                                                                               r
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|                                                                                                                                                                                               ^x86 DLL
checking for dlltool... dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_imp                                                                                                                                                                                               lib
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-pc-cygwin/bin/ld.exe) supports shar                                                                                                                                                                                               ed libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/x86_64-pc-cygwin/bin/ld.exe
checking if the linker (/usr/x86_64-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking whether the g++ linker (/usr/x86_64-pc-cygwin/bin/ld.exe) supports shar                                                                                                                                                                                               ed libraries... yes
checking for g++ option to produce PIC... -DDLL_EXPORT -DPIC
checking if g++ PIC flag -DDLL_EXPORT -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/x86_64-pc-cygwin/bin/ld.exe) supports shar                                                                                                                                                                                               ed libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether the compiler implements namespaces... yes
checking whether the compiler has stringstream... yes
We are able to link a c++ program that uses streams
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking osfcn.h usability... no
checking osfcn.h presence... no
checking for osfcn.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/stat.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking sys/conf.h usability... no
checking sys/conf.h presence... no
checking for sys/conf.h... no
 CYGWIN defined so make MSWwin version
checking for off_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 for uid_t in sys/types.h... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for getcwd... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for regcomp... yes
checking for select... yes
checking for socket... yes
checking for strcspn... yes
checking for strerror... yes
checking for strtod... yes
checking for strtol... yes
checking for uname... yes
checking for prototype for gettimeofday... found
checking for type of signal functions... posix
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating src/Makefile
config.status: WARNING:  'src/Makefile.in' seems to ignore the --datarootdir set                                                                                                                                                                                               ting
config.status: creating src/bin/Makefile
config.status: WARNING:  'src/bin/Makefile.in' seems to ignore the --datarootdir                                                                                                                                                                                                setting
config.status: creating src/bin/idemo/Makefile
config.status: WARNING:  'src/bin/idemo/Makefile.in' seems to ignore the --datar                                                                                                                                                                                               ootdir setting
config.status: creating src/bin/idraw/Makefile
config.status: WARNING:  'src/bin/idraw/Makefile.in' seems to ignore the --datar                                                                                                                                                                                               ootdir setting
config.status: creating src/bin/iclass/Makefile
config.status: WARNING:  'src/bin/iclass/Makefile.in' seems to ignore the --data                                                                                                                                                                                               rootdir setting
config.status: creating src/include/Makefile
config.status: WARNING:  'src/include/Makefile.in' seems to ignore the --dataroo                                                                                                                                                                                               tdir setting
config.status: creating src/lib/Makefile
config.status: WARNING:  'src/lib/Makefile.in' seems to ignore the --datarootdir                                                                                                                                                                                                setting
config.status: creating config.h
config.status: creating src/include/ivstream.h
config.status: src/include/ivstream.h is unchanged
config.status: executing libtool commands

CCo@CC ~/iv
$ make
Making all in src
make[1]: Entering directory '/home/CCo/iv/src'
Making all in lib
make[2]: Entering directory '/home/CCo/iv/src/lib'
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c Dispatch/d                                                                                                                                                                                               ispatcher.cpp  -DDLL_EXPORT -DPIC -o Dispatch/.libs/dispatcher.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c Dispatch/i                                                                                                                                                                                               ohandler.cpp  -DDLL_EXPORT -DPIC -o Dispatch/.libs/iohandler.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c IV-Win/bit                                                                                                                                                                                               map.cpp  -DDLL_EXPORT -DPIC -o IV-Win/.libs/bitmap.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c IV-Win/bru                                                                                                                                                                                               sh.cpp  -DDLL_EXPORT -DPIC -o IV-Win/.libs/brush.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c IV-Win/can                                                                                                                                                                                               vas.cpp  -DDLL_EXPORT -DPIC -o IV-Win/.libs/canvas.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c IV-Win/can                                                                                                                                                                                               vas16.cpp  -DDLL_EXPORT -DPIC -o IV-Win/.libs/canvas16.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c IV-Win/col                                                                                                                                                                                               or.cpp  -DDLL_EXPORT -DPIC -o IV-Win/.libs/color.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c IV-Win/cur                                                                                                                                                                                               sor.cpp  -DDLL_EXPORT -DPIC -o IV-Win/.libs/cursor.o
In file included from /usr/include/w32api/windows.h:72:0,
                 from ../include/IV-Win/MWlib.h:42,
                 from IV-Win/cursor.cpp:34:
IV-Win/cursor.cpp: In static member function 'static void ivCursor::init()':
IV-Win/cursor.cpp:90:29: error: cast from 'LPSTR {aka char*}' to 'int' loses pre                                                                                                                                                                                               cision [-fpermissive]
   arrow = new Cursor(cp2int IDC_ARROW);
                             ^
IV-Win/cursor.cpp:91:33: error: cast from 'LPSTR {aka char*}' to 'int' loses pre                                                                                                                                                                                               cision [-fpermissive]
  crosshairs = new Cursor(cp2int IDC_CROSS);
                                 ^
IV-Win/cursor.cpp:94:35: error: cast from 'LPSTR {aka char*}' to 'int' loses pre                                                                                                                                                                                               cision [-fpermissive]
     hourglass = new Cursor(cp2int IDC_WAIT);
                                   ^
IV-Win/cursor.cpp:95:35: error: cast from 'LPSTR {aka char*}' to 'int' loses pre                                                                                                                                                                                               cision [-fpermissive]
     upperleft = new Cursor(cp2int IDC_SIZENWSE);
                                   ^
IV-Win/cursor.cpp:96:36: error: cast from 'LPSTR {aka char*}' to 'int' loses pre                                                                                                                                                                                               cision [-fpermissive]
     upperright = new Cursor(cp2int IDC_SIZENESW);
                                    ^
IV-Win/cursor.cpp:97:32: error: cast from 'LPSTR {aka char*}' to 'int' loses pre                                                                                                                                                                                               cision [-fpermissive]
  lowerleft = new Cursor(cp2int IDC_SIZENESW);
                                ^
IV-Win/cursor.cpp:98:36: error: cast from 'LPSTR {aka char*}' to 'int' loses pre                                                                                                                                                                                               cision [-fpermissive]
     lowerright = new Cursor(cp2int IDC_SIZENWSE);
                                    ^
Makefile:482: recipe for target 'IV-Win/cursor.lo' failed
make[2]: *** [IV-Win/cursor.lo] Error 1
make[2]: Leaving directory '/home/CCo/iv/src/lib'
Making all in include
make[2]: Entering directory '/home/CCo/iv/src/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/CCo/iv/src/include'
Making all in bin
make[2]: Entering directory '/home/CCo/iv/src/bin'
Making all in idemo
make[3]: Entering directory '/home/CCo/iv/src/bin/idemo'
g++ -DHAVE_CONFIG_H -I. -I. -I../../include   -g -O2 -c -o main.o main.cpp
/bin/sh ../../../libtool --mode=link g++ -g -O2  -mwindows -e _mainCRTStartup -o                                                                                                                                                                                                idemo main.o ../../lib/libIVhines.la  -lgdi32 -lcomdlg32
libtool: link: cannot find the library `../../lib/libIVhines.la' or unhandled ar                                                                                                                                                                                               gument `../../lib/libIVhines.la'
Makefile:124: recipe for target 'idemo' failed
make[3]: *** [idemo] Error 1
make[3]: Leaving directory '/home/CCo/iv/src/bin/idemo'
make[2]: Leaving directory '/home/CCo/iv/src/bin'
make[1]: Leaving directory '/home/CCo/iv/src'
I had a look at this post (viewtopic.php?f=5&t=2937&p=11995&hilit= ... .lo#p11995), in which the poster seemed to experience the same problem. I tried following the solutions presented therein: I believe I used the latest repository code (iv-18; 2 Jan 2013) and tried the command export WANT_AUTOMAKE=1.11 to the terminal prior to rebuilding with a newly-re-extracted iv.

Thank you in advance.
Charles
hines
Site Admin
Posts: 1706
Joined: Wed May 18, 2005 3:32 pm

Re: Problem compiling InterViews on cygwin: recipe for curso

Post by hines »

Can you please try the following experiment. in iv/src/lib/IV-Win/cursor.cpp in the neighborhood of line 74 please change
#if defined(__SIZEOF_POINTER__) && __SIZEOF_POINTER__ > __SIZEOF_LONG__
to
#if 1 || (defined(__SIZEOF_POINTER__) && __SIZEOF_POINTER__ > __SIZEOF_LONG__)

Actually, it would be nice to know the values of __SIZEOF_POINTER__, __SIZEOF_LONG__, __SIZEOF_INT__, and __SIZEOF_LONG_LONG__
because it may make sense for me to add an arm of the #if such as
#elif __SIZEOF_POINTER__ == __SIZEOF_LONG__
#define cp2int (int)(unsigned long)

I see that on my mac air, the following program yields

Code: Select all

Michaels-MacBook-Air:tmp michaelhines$ cat sizeof.cpp
#include <stdio.h>

int main(int argc, char** argv) {
  printf("P=%d LL=%d L=%d I=%d\n", __SIZEOF_POINTER__, __SIZEOF_LONG_LONG__,
    __SIZEOF_LONG__, __SIZEOF_INT__);
  return 0;
}

Michaels-MacBook-Air:tmp michaelhines$ gcc sizeof.cpp
Michaels-MacBook-Air:tmp michaelhines$ ./a.out
P=8 LL=8 L=8 I=4
CCohen
Posts: 27
Joined: Thu Apr 26, 2012 8:41 am

Re: Problem compiling InterViews on cygwin: recipe for curso

Post by CCohen »

Replacing

Code: Select all

#if defined(__SIZEOF_POINTER__) && __SIZEOF_POINTER__ > __SIZEOF_LONG__
with

Code: Select all

#if 1 || (defined(__SIZEOF_POINTER__) && __SIZEOF_POINTER__ > __SIZEOF_LONG__)
in cursor.cpp (iv/src/lib/IV-Win) allowed cursor.lo to be made.

Running sizeof.cpp as instructed yielded the same values you had obtained:
P=8 LL=8 L=8 I=4.

Unfortunately a new problem arose at the make level. The problem seems to be the close function in file.o (src/lib/OS/.libs). Please see details below:

Code: Select all

$ make
Making all in src
make[1]: Entering directory '/home/CCo/iv/src'
Making all in lib
make[2]: Entering directory '/home/CCo/iv/src/lib'
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c Dispatch/d                                                                                                                                                                                               ispatcher.cpp  -DDLL_EXPORT -DPIC -o Dispatch/.libs/dispatcher.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c Dispatch/i                                                                                                                                                                                               ohandler.cpp  -DDLL_EXPORT -DPIC -o Dispatch/.libs/iohandler.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c IV-Win/bit                                                                                                                                                                                               map.cpp  -DDLL_EXPORT -DPIC -o IV-Win/.libs/bitmap.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c IV-Win/bru                                                                                                                                                                                               sh.cpp  -DDLL_EXPORT -DPIC -o IV-Win/.libs/brush.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c IV-Win/can                                                                                                                                                                                               vas.cpp  -DDLL_EXPORT -DPIC -o IV-Win/.libs/canvas.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c IV-Win/can                                                                                                                                                                                               vas16.cpp  -DDLL_EXPORT -DPIC -o IV-Win/.libs/canvas16.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c IV-Win/col                                                                                                                                                                                               or.cpp  -DDLL_EXPORT -DPIC -o IV-Win/.libs/color.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c IV-Win/cur                                                                                                                                                                                               sor.cpp  -DDLL_EXPORT -DPIC -o IV-Win/.libs/cursor.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c IV-Win/dis                                                                                                                                                                                               play.cpp  -DDLL_EXPORT -DPIC -o IV-Win/.libs/display.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c IV-Win/event.cpp  -DDLL_EXPORT -DPIC -o IV-Win/.libs/event.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c IV-Win/font.cpp  -DDLL_EXPORT -DPIC -o IV-Win/.libs/font.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c IV-Win/ivclean.cpp  -DDLL_EXPORT -DPIC -o IV-Win/.libs/ivclean.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c IV-Win/mprinter.cpp  -DDLL_EXPORT -DPIC -o IV-Win/.libs/mprinter.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c IV-Win/mwapp.cpp  -DDLL_EXPORT -DPIC -o IV-Win/.libs/mwapp.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c IV-Win/mwlib.cpp  -DDLL_EXPORT -DPIC -o IV-Win/.libs/mwlib.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c IV-Win/raster.cpp  -DDLL_EXPORT -DPIC -o IV-Win/.libs/raster.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c IV-Win/session.cpp  -DDLL_EXPORT -DPIC -o IV-Win/.libs/session.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c IV-Win/window.cpp  -DDLL_EXPORT -DPIC -o IV-Win/.libs/window.o
IV-Win/window.cpp: In member function 'void MWwindow::bind()':
IV-Win/window.cpp:279:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   (HMENU) params->id,   // control id
                   ^
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Dmotif_kit -Dsgi_motif_kit -c InterViews/dialogs.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/dialogs.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/action.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/action.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/adjust.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/adjust.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/aggr.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/aggr.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/align.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/align.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/alloctbl.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/alloctbl.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/arrcomp.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/arrcomp.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/background.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/background.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/bevel.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/bevel.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/border.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/border.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/box.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/box.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/browser.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/browser.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/button.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/button.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/character.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/character.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/compositor.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/compositor.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/comption.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/comption.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/debug.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/debug.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/deck.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/deck.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/fbrowser.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/fbrowser.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/fchooser.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/fchooser.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/field.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/field.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/geometry.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/geometry.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/glyph.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/glyph.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/group.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/group.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/handler.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/handler.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/hit.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/hit.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/image.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/image.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/input.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/input.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Dmotif_kit -Dsgi_motif_kit -c InterViews/kit.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/kit.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/label.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/label.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/layout.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/layout.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/lrmarker.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/lrmarker.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/menu.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/menu.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/mf_dialogs.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/mf_dialogs.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/mf_kit.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/mf_kit.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/mono_kit.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/mono_kit.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/monoglyph.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/monoglyph.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/observe.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/observe.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/ol_dialogs.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/ol_dialogs.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/page.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/page.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/patch.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/patch.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/place.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/place.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/polyglyph.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/polyglyph.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/printer.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/printer.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/psfont.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/psfont.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/regexp.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/regexp.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/resource.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/resource.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/rule.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/rule.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/scrbox.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/scrbox.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/shadow.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/shadow.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/simpcomp.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/simpcomp.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/slider.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/slider.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/smf_kit.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/smf_kit.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/stencil.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/stencil.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/stepper.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/stepper.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/style.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/style.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/superpose.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/superpose.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/target.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/target.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/telltale.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/telltale.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/texcomp.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/texcomp.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/iv3text.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/iv3text.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/iv3textbuffer.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/iv3textbuffer.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/tformsetter.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/tformsetter.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/tile.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/tile.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/transformer.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/transformer.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/winbmp.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/winbmp.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/xymarker.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/xymarker.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/ol_kit.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/ol_kit.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c InterViews/tiff.cpp  -DDLL_EXPORT -DPIC -o InterViews/.libs/tiff.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c OS/directory.cpp  -DDLL_EXPORT -DPIC -o OS/.libs/directory.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c OS/file.cpp  -DDLL_EXPORT -DPIC -o OS/.libs/file.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c OS/host.cpp  -DDLL_EXPORT -DPIC -o OS/.libs/host.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c OS/listimpl.cpp  -DDLL_EXPORT -DPIC -o OS/.libs/listimpl.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c OS/math.cpp  -DDLL_EXPORT -DPIC -o OS/.libs/math.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c OS/memory.cpp  -DDLL_EXPORT -DPIC -o OS/.libs/memory.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c OS/string.cpp  -DDLL_EXPORT -DPIC -o OS/.libs/string.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c OS/ustring.cpp  -DDLL_EXPORT -DPIC -o OS/.libs/ustring.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_aux.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_aux.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_ccittrle.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_ccittrle.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_close.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_close.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_cmprs.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_cmprs.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_compat.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_compat.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_dir.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_dir.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_dirinfo.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_dirinfo.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_dirread.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_dirread.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_dirwrite.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_dirwrite.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_dumpmode.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_dumpmode.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_error.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_error.o
gcc -DHAVE_CONFIG_H -I. -I. -I../include   -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF TIFF/mkg3states.c -o TIFF/mkg3states
TIFF/mkg3states > TIFF/g3states.h
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_fax3.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_fax3.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_fax4.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_fax4.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_flush.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_flush.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_getimage.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_getimage.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_jpeg.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_jpeg.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_lzw.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_lzw.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_machdep.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_machdep.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_next.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_next.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_open.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_open.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_packbits.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_packbits.o
TIFF/tif_packbits.c: In function 'PackBitsPreEncode':
TIFF/tif_packbits.c:75:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   tif->tif_data = (char *) TIFFScanlineSize(tif);
                   ^
TIFF/tif_packbits.c: In function 'PackBitsEncodeChunk':
TIFF/tif_packbits.c:93:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  int rowsize = (int) tif->tif_data;
                ^
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_print.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_print.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_read.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_read.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_strip.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_strip.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_swab.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_swab.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_thunder.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_thunder.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_tile.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_tile.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_version.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_version.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_warning.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_warning.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT -DHAVE_IEEEFP=1 -DUSE_VARARGS=0 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -I../include/TIFF -c TIFF/tif_write.c  -DDLL_EXPORT -DPIC -o TIFF/.libs/tif_write.o
/bin/sh ../../libtool --mode=link g++  -g -O2   -o libIVhines.la -rpath /home/CCo/iv/x86_64/lib -version-info 3:3:0  Dispatch/dispatcher.lo Dispatch/iohandler.lo IV-Win/bitmap.lo IV-Win/brush.lo IV-Win/canvas.lo IV-Win/canvas16.lo IV-Win/color.lo IV-Win/cursor.lo IV-Win/display.lo IV-Win/event.lo IV-Win/font.lo IV-Win/ivclean.lo IV-Win/mprinter.lo IV-Win/mwapp.lo IV-Win/mwlib.lo IV-Win/raster.lo IV-Win/session.lo IV-Win/window.lo InterViews/dialogs.lo InterViews/action.lo InterViews/adjust.lo InterViews/aggr.lo InterViews/align.lo InterViews/alloctbl.lo InterViews/arrcomp.lo InterViews/background.lo InterViews/bevel.lo InterViews/border.lo InterViews/box.lo InterViews/browser.lo InterViews/button.lo InterViews/character.lo InterViews/compositor.lo InterViews/comption.lo InterViews/debug.lo InterViews/deck.lo InterViews/fbrowser.lo InterViews/fchooser.lo InterViews/field.lo InterViews/geometry.lo InterViews/glyph.lo InterViews/group.lo InterViews/handler.lo InterViews/hit.lo InterViews/image.lo InterViews/input.lo InterViews/kit.lo InterViews/label.lo InterViews/layout.lo InterViews/lrmarker.lo InterViews/menu.lo InterViews/mf_dialogs.lo InterViews/mf_kit.lo InterViews/mono_kit.lo InterViews/monoglyph.lo InterViews/observe.lo InterViews/ol_dialogs.lo InterViews/page.lo InterViews/patch.lo InterViews/place.lo InterViews/polyglyph.lo InterViews/printer.lo InterViews/psfont.lo InterViews/regexp.lo InterViews/resource.lo InterViews/rule.lo InterViews/scrbox.lo InterViews/shadow.lo InterViews/simpcomp.lo InterViews/slider.lo InterViews/smf_kit.lo InterViews/stencil.lo InterViews/stepper.lo InterViews/style.lo InterViews/superpose.lo InterViews/target.lo InterViews/telltale.lo InterViews/texcomp.lo InterViews/iv3text.lo InterViews/iv3textbuffer.lo InterViews/tformsetter.lo InterViews/tile.lo InterViews/transformer.lo InterViews/winbmp.lo InterViews/xymarker.lo InterViews/ol_kit.lo InterViews/tiff.lo OS/directory.lo OS/file.lo OS/host.lo OS/listimpl.lo OS/math.lo OS/memory.lo OS/string.lo OS/ustring.lo TIFF/tif_aux.lo TIFF/tif_ccittrle.lo TIFF/tif_close.lo TIFF/tif_cmprs.lo TIFF/tif_compat.lo TIFF/tif_dir.lo TIFF/tif_dirinfo.lo TIFF/tif_dirread.lo TIFF/tif_dirwrite.lo TIFF/tif_dumpmode.lo TIFF/tif_error.lo TIFF/tif_fax3.lo TIFF/tif_fax4.lo TIFF/tif_flush.lo TIFF/tif_getimage.lo TIFF/tif_jpeg.lo TIFF/tif_lzw.lo TIFF/tif_machdep.lo TIFF/tif_next.lo TIFF/tif_open.lo TIFF/tif_packbits.lo TIFF/tif_print.lo TIFF/tif_read.lo TIFF/tif_strip.lo TIFF/tif_swab.lo TIFF/tif_thunder.lo TIFF/tif_tile.lo TIFF/tif_version.lo TIFF/tif_warning.lo TIFF/tif_write.lo   -lgdi32 -lcomdlg32
libtool: link: g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-cygwin/4.8.3/crtbeginS.o  Dispatch/.libs/dispatcher.o Dispatch/.libs/iohandler.o IV-Win/.libs/bitmap.o IV-Win/.libs/brush.o IV-Win/.libs/canvas.o IV-Win/.libs/canvas16.o IV-Win/.libs/color.o IV-Win/.libs/cursor.o IV-Win/.libs/display.o IV-Win/.libs/event.o IV-Win/.libs/font.o IV-Win/.libs/ivclean.o IV-Win/.libs/mprinter.o IV-Win/.libs/mwapp.o IV-Win/.libs/mwlib.o IV-Win/.libs/raster.o IV-Win/.libs/session.o IV-Win/.libs/window.o InterViews/.libs/dialogs.o InterViews/.libs/action.o InterViews/.libs/adjust.o InterViews/.libs/aggr.o InterViews/.libs/align.o InterViews/.libs/alloctbl.o InterViews/.libs/arrcomp.o InterViews/.libs/background.o InterViews/.libs/bevel.o InterViews/.libs/border.o InterViews/.libs/box.o InterViews/.libs/browser.o InterViews/.libs/button.o InterViews/.libs/character.o InterViews/.libs/compositor.o InterViews/.libs/comption.o InterViews/.libs/debug.o InterViews/.libs/deck.o InterViews/.libs/fbrowser.o InterViews/.libs/fchooser.o InterViews/.libs/field.o InterViews/.libs/geometry.o InterViews/.libs/glyph.o InterViews/.libs/group.o InterViews/.libs/handler.o InterViews/.libs/hit.o InterViews/.libs/image.o InterViews/.libs/input.o InterViews/.libs/kit.o InterViews/.libs/label.o InterViews/.libs/layout.o InterViews/.libs/lrmarker.o InterViews/.libs/menu.o InterViews/.libs/mf_dialogs.o InterViews/.libs/mf_kit.o InterViews/.libs/mono_kit.o InterViews/.libs/monoglyph.o InterViews/.libs/observe.o InterViews/.libs/ol_dialogs.o InterViews/.libs/page.o InterViews/.libs/patch.o InterViews/.libs/place.o InterViews/.libs/polyglyph.o InterViews/.libs/printer.o InterViews/.libs/psfont.o InterViews/.libs/regexp.o InterViews/.libs/resource.o InterViews/.libs/rule.o InterViews/.libs/scrbox.o InterViews/.libs/shadow.o InterViews/.libs/simpcomp.o InterViews/.libs/slider.o InterViews/.libs/smf_kit.o InterViews/.libs/stencil.o InterViews/.libs/stepper.o InterViews/.libs/style.o InterViews/.libs/superpose.o InterViews/.libs/target.o InterViews/.libs/telltale.o InterViews/.libs/texcomp.o InterViews/.libs/iv3text.o InterViews/.libs/iv3textbuffer.o InterViews/.libs/tformsetter.o InterViews/.libs/tile.o InterViews/.libs/transformer.o InterViews/.libs/winbmp.o InterViews/.libs/xymarker.o InterViews/.libs/ol_kit.o InterViews/.libs/tiff.o OS/.libs/directory.o OS/.libs/file.o OS/.libs/host.o OS/.libs/listimpl.o OS/.libs/math.o OS/.libs/memory.o OS/.libs/string.o OS/.libs/ustring.o TIFF/.libs/tif_aux.o TIFF/.libs/tif_ccittrle.o TIFF/.libs/tif_close.o TIFF/.libs/tif_cmprs.o TIFF/.libs/tif_compat.o TIFF/.libs/tif_dir.o TIFF/.libs/tif_dirinfo.o TIFF/.libs/tif_dirread.o TIFF/.libs/tif_dirwrite.o TIFF/.libs/tif_dumpmode.o TIFF/.libs/tif_error.o TIFF/.libs/tif_fax3.o TIFF/.libs/tif_fax4.o TIFF/.libs/tif_flush.o TIFF/.libs/tif_getimage.o TIFF/.libs/tif_jpeg.o TIFF/.libs/tif_lzw.o TIFF/.libs/tif_machdep.o TIFF/.libs/tif_next.o TIFF/.libs/tif_open.o TIFF/.libs/tif_packbits.o TIFF/.libs/tif_print.o TIFF/.libs/tif_read.o TIFF/.libs/tif_strip.o TIFF/.libs/tif_swab.o TIFF/.libs/tif_thunder.o TIFF/.libs/tif_tile.o TIFF/.libs/tif_version.o TIFF/.libs/tif_warning.o TIFF/.libs/tif_write.o   -lgdi32 -lcomdlg32 -L/usr/lib/gcc/x86_64-pc-cygwin/4.8.3 -L/usr/lib/gcc/x86_64-pc-cygwin/4.8.3/../../../../x86_64-pc-cygwin/lib/../lib -L/usr/lib/gcc/x86_64-pc-cygwin/4.8.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-cygwin/4.8.3/../../../../x86_64-pc-cygwin/lib -L/usr/lib/gcc/x86_64-pc-cygwin/4.8.3/../../.. -lstdc++ -lgcc_s -lgcc -lcygwin -ladvapi32 -lshell32 -luser32 -lkernel32 -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-cygwin/4.8.3/crtend.o  -O2   -o .libs/cygIVhines-3.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libIVhines.dll.a
OS/.libs/file.o: In function `close':
/home/CCo/iv/src/lib/OS/file.cpp:191: undefined reference to `_close'
/home/CCo/iv/src/lib/OS/file.cpp:191:(.text+0x77): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_close'
OS/.libs/file.o: In function `read':
/home/CCo/iv/src/lib/OS/file.cpp:300: undefined reference to `_read'
/home/CCo/iv/src/lib/OS/file.cpp:300:(.text+0x214): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_read'
collect2: error: ld returned 1 exit status
Makefile:473: recipe for target 'libIVhines.la' failed
make[2]: *** [libIVhines.la] Error 1
make[2]: Leaving directory '/home/CCo/iv/src/lib'
Making all in include
make[2]: Entering directory '/home/CCo/iv/src/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/CCo/iv/src/include'
Making all in bin
make[2]: Entering directory '/home/CCo/iv/src/bin'
Making all in idemo
make[3]: Entering directory '/home/CCo/iv/src/bin/idemo'
g++ -DHAVE_CONFIG_H -I. -I. -I../../include   -g -O2 -c -o main.o main.cpp
/bin/sh ../../../libtool --mode=link g++ -g -O2  -mwindows -e _mainCRTStartup -o idemo main.o ../../lib/libIVhines.la  -lgdi32 -lcomdlg32
libtool: link: cannot find the library `../../lib/libIVhines.la' or unhandled argument `../../lib/libIVhines.la'
Makefile:124: recipe for target 'idemo' failed
make[3]: *** [idemo] Error 1
make[3]: Leaving directory '/home/CCo/iv/src/bin/idemo'
make[2]: Leaving directory '/home/CCo/iv/src/bin'
make[1]: Leaving directory '/home/CCo/iv/src'
Thank you.

Best,
Charles
hines
Site Admin
Posts: 1706
Joined: Wed May 18, 2005 3:32 pm

Re: Problem compiling InterViews on cygwin: recipe for curso

Post by hines »

/home/CCo/iv/src/lib/OS/file.cpp:191: undefined reference to `_close'
It seems that, as time passes, special cygwin workarounds need to be removed as cygwin evolves closer to standard linux.
Right now that is just a guess since I'm temporarily out of commission with respect to my mswin virtual box guests.
When I'm back together again, I'll update to the latest cygwin and see if I can reproduce the problem.
CCohen
Posts: 27
Joined: Thu Apr 26, 2012 8:41 am

Re: Problem compiling InterViews on cygwin: recipe for curso

Post by CCohen »

Hello Dr. Hines,

I hope you do not mind my "manually" bumping this post.

Perhaps you may suggest me a specific cygwin subpackage I could downgrade to in the meantime, which would allow this problem to be solved?


Thanks!
Charles
hines
Site Admin
Posts: 1706
Joined: Wed May 18, 2005 3:32 pm

Re: Problem compiling InterViews on cygwin: recipe for curso

Post by hines »

I just upgraded cygwin on my mswin 7 x86_64 virtualbox guest and am not experienceing the compile time problems you mentioned.
I'm using
gcc -v
...
gcc version 4.8.1
Which gcc are you using?
hines
Site Admin
Posts: 1706
Joined: Wed May 18, 2005 3:32 pm

Re: Problem compiling InterViews on cygwin: recipe for curso

Post by hines »

Sorry. I need to try the update again. I was not getting the latest developer tools.
hines
Site Admin
Posts: 1706
Joined: Wed May 18, 2005 3:32 pm

Re: Problem compiling InterViews on cygwin: recipe for curso

Post by hines »

Please try the latest hg repository for InterViews.
http://www.neuron.yale.edu/hg/neuron/iv/
CCohen
Posts: 27
Joined: Thu Apr 26, 2012 8:41 am

Re: Problem compiling InterViews on cygwin: recipe for curso

Post by CCohen »

Dr. Hines,

I am using the latest repository codes for IV (07.10.2014) and nrn (nrn-7.3.rel-1173). Compilation of IV occurs without a hitch. Configuration of nrn works, but making it does not. I tried a few different nrn configurations and essentially one type of error arises at the make level: the apparent absence of nrniv10.ico from `../../src/mswin/nrniv10.ico` leading to the failure of the recipe for neuron.exe.

Thank you for your help.

Best,
Charles


I could only fit the following, salient portion of making nrn:

Code: Select all

libtool: link: ranlib .libs/libnrniv.a
libtool: link: ( cd ".libs" && rm -f "libnrniv.la" && ln -s "../libnrniv.la" "libnrniv.la" )
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/nrnoc -I../../src/oc -I../../src/parallel -I../../src/nrnjava -I../../src/nrncvode -I../../src/ivos -I../../src/sundials -I../../src/nrnpython -I../../src/mswin/windll -I../../src/sundials -I../../src/sundials/shared -I../../src/nrncvode -I../../src/sparse13 -I../../src/gnu -I. -I../../src/ivoc -I../../src/nrnoc -I../../src/oc -I../../src/oc -I/home/CCO/iv/include  -I../../src/parallel -I../../src/nrnmpi  -I. -DOOP=1 -DCABLE=1 -DUSECVODE=1 -DUSEMATRIX=1 -DUSEBBS=1   -g -O2 -MT nvkludge.o -MD -MP -MF .deps/nvkludge.Tpo -c -o nvkludge.o nvkludge.cpp
mv -f .deps/nvkludge.Tpo .deps/nvkludge.Po
if test "x86_64" = "x86_64" ; then \
x86_64-w64-mingw32-g++ -g -O2 -DCYGWIN -o mos2nrn.exe ../../src/mswin/extra/mos2nrn.cpp ;\
else \
i686-pc-mingw32-g++ -g -O2 -DCYGWIN -o mos2nrn.exe ../../src/mswin/extra/mos2nrn.cpp ;\
fi
echo "id ICON \"../../src/mswin/nrniv10.ico\"" > nrnicon.rc
windres nrnicon.rc -O coff -o nrnicon.res
windres: can't open icon file `../../src/mswin/nrniv10.ico': No such file or directory
Makefile:1069: recipe for target 'neuron.exe' failed
make[3]: *** [neuron.exe] Error 1
make[3]: Leaving directory '/home/CCO/nrn/src/nrniv'
Makefile:487: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/CCO/nrn/src'
Makefile:624: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/CCO/nrn'
Makefile:481: recipe for target 'all' failed
make: *** [all] Error 2
hines
Site Admin
Posts: 1706
Joined: Wed May 18, 2005 3:32 pm

Re: Problem compiling InterViews on cygwin: recipe for curso

Post by hines »

Did you get the sources from the hg repository or the tar.gz file? If the latter, I see that
http://www.neuron.yale.edu/hg/neuron/nr ... rniv10.ico
is missing from the tar.gz file and that explains the problem. Just copy from above and try again.
I wll make sure it is in the tar.gz file in the future.
CCohen
Posts: 27
Joined: Thu Apr 26, 2012 8:41 am

Re: Problem compiling InterViews on cygwin: recipe for curso

Post by CCohen »

I downloaded nrniv10.ico as instructed from the hg repository. I re-extracted the tar.gz and copied the file into ../src/mswin. A new related error arises, consisting of "icon file `../../src/mswin/nrniv10.ico' does not contain icon data." Please see the relevant terminal output below.

Thank you.
Charles

Code: Select all

if test "x86_64" = "x86_64" ; then \
x86_64-w64-mingw32-g++ -g -O2 -DCYGWIN -o mos2nrn.exe ../../src/mswin/extra/mos2nrn.cpp ;\
else \
i686-pc-mingw32-g++ -g -O2 -DCYGWIN -o mos2nrn.exe ../../src/mswin/extra/mos2nrn.cpp ;\
fi
echo "id ICON \"../../src/mswin/nrniv10.ico\"" > nrnicon.rc
windres nrnicon.rc -O coff -o nrnicon.res
windres: icon file `../../src/mswin/nrniv10.ico' does not contain icon data
Makefile:1069: recipe for target 'neuron.exe' failed
make[3]: *** [neuron.exe] Error 1
make[3]: Leaving directory '/home/CCo/nrn/src/nrniv'
Makefile:487: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/CCo/nrn/src'
Makefile:624: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/CCo/nrn'
Makefile:481: recipe for target 'all' failed
make: *** [all] Error 2
hines
Site Admin
Posts: 1706
Joined: Wed May 18, 2005 3:32 pm

Re: Problem compiling InterViews on cygwin: recipe for curso

Post by hines »

did you press the 'raw' button from the above link to download the binary file?
hines
Site Admin
Posts: 1706
Joined: Wed May 18, 2005 3:32 pm

Re: Problem compiling InterViews on cygwin: recipe for curso

Post by hines »

CCohen
Posts: 27
Joined: Thu Apr 26, 2012 8:41 am

Re: Problem compiling InterViews on cygwin: recipe for curso

Post by CCohen »

Dr. Hines,

Compilation is complete and NEURON is running. Thank you for your help.

Best regards,
Charles
Post Reply