Hi, I'm trying to build Argyll 1.3.2 on OpenBSD 4.8/i386, and it fails to build, I attached the build log. While I'm aware OpenBSD certainly isn't on the important to support operating systems list for Argyll, I hope you could indulge me a bit. So, I'd appreciate any assistance you could give me in building Argyll on OpenBSD. If there is any other information you need, please ask, and I'll see what I can do. Small note: No, I'm not trying to build a graphics workstation on OpenBSD. I have a small netbook on OpenBSD and it's screen is very blueish, so I'd love to be able to load a vcgt :) Regards, Pascal de Bruijn
$ echo $PWD /home/pmjdebruijn/Argyll/Argyll_V1.3.2 $ make jam -q -fJambase -j 3 Argyll Jamrules has been read Using built in TIFF library sed seems to be available ...patience... ...found 1145 target(s)... ...updating 400 target(s)... GenFileNND1 tiff/libtiff/tif_config.h File_ tiff/tiffvers.h File_ tiff/tiffio.h Chmod1 tiff/tiffvers.h Chmod1 tiff/tiffio.h File_ tiff/tiff.h GenFileNND1 libusb1/DTP94.inf Chmod1 tiff/tiff.h File_ libusb1/libusb/libusb-1.0A.def File_ libusb1/libusb.h Chmod1 libusb1/libusb/libusb-1.0A.def Chmod1 libusb1/libusb.h CreateCatFile_ libusb1/config.h Cc_ numlib/numsup.o CatToFile_ libusb1/config.h CatToFile_ libusb1/config.h CatToFile_ libusb1/config.h CatToFile_ libusb1/config.h CatToFile_ libusb1/config.h CatToFile_ libusb1/config.h CatToFile_ libusb1/config.h CatToFile_ libusb1/config.h CatToFile_ libusb1/config.h CatToFile_ libusb1/config.h CatToFile_ libusb1/config.h CatToFile_ libusb1/config.h CatToFile_ libusb1/config.h CatToFile_ libusb1/config.h CatToFile_ libusb1/config.h CatToFile_ libusb1/config.h CatToFile_ libusb1/config.h CatToFile_ libusb1/config.h Cc_ libusb1/libusb/core.o Cc_ libusb1/libusb/descriptor.o Cc_ libusb1/libusb/io.o Cc_ libusb1/libusb/sync.o Cc_ libusb1/libusb/os/linux_usbfs.o checking build system type... Cc_ numlib/dnsq.o i386-unknown-openbsd4.8 checking host system type... i386-unknown-openbsd4.8 checking target system type... i386-unknown-openbsd4.8 checking for a BSD-compatible install... libusb1/libusb/os/linux_usbfs.c: In function 'op_kernel_driver_active': libusb1/libusb/os/linux_usbfs.c:1255: error: 'ENODATA' undeclared (first use in this function) libusb1/libusb/os/linux_usbfs.c:1255: error: (Each undeclared identifier is reported only once libusb1/libusb/os/linux_usbfs.c:1255: error: for each function it appears in.) libusb1/libusb/os/linux_usbfs.c: In function 'op_detach_kernel_driver': libusb1/libusb/os/linux_usbfs.c:1281: error: 'ENODATA' undeclared (first use in this function) libusb1/libusb/os/linux_usbfs.c: In function 'op_attach_kernel_driver': libusb1/libusb/os/linux_usbfs.c:1309: error: 'ENODATA' undeclared (first use in this function) libusb1/libusb/os/linux_usbfs.c: In function 'handle_bulk_completion': libusb1/libusb/os/linux_usbfs.c:1870: error: 'EREMOTEIO' undeclared (first use in this function) libusb1/libusb/os/linux_usbfs.c:1889: error: 'ETIME' undeclared (first use in this function) libusb1/libusb/os/linux_usbfs.c:1890: error: 'EPROTO' undeclared (first use in this function) libusb1/libusb/os/linux_usbfs.c: In function 'handle_iso_completion': libusb1/libusb/os/linux_usbfs.c:2005: error: 'ETIME' undeclared (first use in this function) libusb1/libusb/os/linux_usbfs.c:2006: error: 'EPROTO' undeclared (first use in this function) libusb1/libusb/os/linux_usbfs.c: In function 'handle_control_completion': libusb1/libusb/os/linux_usbfs.c:2061: error: 'ETIME' undeclared (first use in this function) libusb1/libusb/os/linux_usbfs.c:2062: error: 'EPROTO' undeclared (first use in this function) cc -c -o libusb1/libusb/os/linux_usbfs.o -DUNIX -D_THREAD_SAFE -pipe -g -DARGYLLCMS -D_GNU_SOURCE -Ilibusb1/libusb/os -Ilibusb1/libusb -Ilibusb1 -Ilibusb1/libusb/os libusb1/libusb/os/linux_usbfs.c ...failed Cc_ libusb1/libusb/os/linux_usbfs.o ... ...skipped <libusb1!libusb>libusb-1.0A.a for lack of <libusb1!libusb>libusb-1.0A.a(linux_usbfs.o)... ...skipped <libusb1>libusb-1.0A.a for lack of <libusb1!libusb>libusb-1.0A.a... /usr/bin/install -c checking whether build environment is sane... yes Archive numlib/libnum.a checking for a thread-safe mkdir -p... ar: 'numlib/powell.o': No such file ar: 'numlib/dhsx.o': No such file ar: 'numlib/ludecomp.o': No such file ar: 'numlib/svd.o': No such file ar: 'numlib/zbrent.o': No such file ar: 'numlib/rand.o': No such file ar: 'numlib/sobol.o': No such file ar: 'numlib/aatree.o': No such file config/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether build environment is sane... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking how to run the C preprocessor... gcc -std=gnu99 -E 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 how to print strings... print -r checking for ld used by gcc -std=gnu99... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether gcc -std=gnu99 and cc understand -c and -o together... yes checking for ld used by gcc -std=gnu99... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for C compiler warning flags... -Wall -W checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... 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... 196608 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$ checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok 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 -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes checking if gcc -std=gnu99 static flag -static works... yes checking if gcc -std=gnu99 supports -c -o file.o... yes checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes checking whether the gcc -std=gnu99 linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... openbsd4.8 ld.so 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... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -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/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... openbsd4.8 ld.so checking how to hardcode library paths into programs... immediate checking for main in -lc... yes checking for sin in -lm... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking io.h usability... no checking io.h presence... no checking for io.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking search.h usability... yes checking search.h presence... yes checking for search.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 for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for off_t... yes checking for size_t... yes checking size of int... 4 checking size of long... 4 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 int8... no checking for int16... no checking for int32... no checking size of signed long... 4 checking size of unsigned long... 4 checking size of signed long long... 8 checking size of unsigned long long... 8 checking for signed 64-bit type... signed long long checking for unsigned 64-bit type... unsigned long long checking for floor... yes checking for isascii... yes checking for memmove... yes checking for memset... yes checking for mmap... yes checking for pow... yes checking for setmode... yes checking for sqrt... yes checking for strchr... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for getopt... yes checking for strcasecmp... yes checking for strtoul... yes checking for lfind... yes checking native cpu bit order... lsb2msb checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking whether -R must be followed by a space... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc -std=gnu99 checking whether we are using the Microsoft C compiler... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking for OpenGL library... -lGL checking for OpenGL Utility library... -lGLU checking for GLUT library... no configure: creating ./config.status config.status: creating Makefile config.status: creating build/Makefile config.status: creating contrib/Makefile config.status: creating contrib/acorn/Makefile config.status: creating contrib/addtiffo/Makefile config.status: creating contrib/dbs/Makefile config.status: creating contrib/dbs/xtiff/Makefile config.status: creating contrib/iptcutil/Makefile config.status: creating contrib/mac-cw/Makefile config.status: creating contrib/mac-mpw/Makefile config.status: creating contrib/mfs/Makefile config.status: creating contrib/pds/Makefile config.status: creating contrib/ras/Makefile config.status: creating contrib/stream/Makefile config.status: creating contrib/tags/Makefile config.status: creating contrib/win_dib/Makefile config.status: creating html/Makefile config.status: creating html/images/Makefile config.status: creating html/man/Makefile config.status: creating libtiff/Makefile config.status: creating man/Makefile config.status: creating port/Makefile config.status: creating test/Makefile config.status: creating tools/Makefile config.status: creating libtiff/tif_config.h config.status: creating libtiff/tiffconf.h config.status: executing depfiles commands config.status: executing libtool commands Libtiff is now configured for i386-unknown-openbsd4.8 Installation directory: /usr/local Documentation directory: ${prefix}/share/doc/tiff-3.9.4 C compiler: gcc -std=gnu99 -g -O2 -Wall -W C++ compiler: g++ -g -O2 Enable runtime linker paths: no Support Microsoft Document Imaging: yes Support for internal codecs: CCITT Group 3 & 4 algorithms: yes Macintosh PackBits algorithm: yes LZW algorithm: yes ThunderScan 4-bit RLE algorithm: yes NeXT 2-bit RLE algorithm: yes LogLuv high dynamic range encoding: yes Support for external codecs: ZLIB support: no Pixar log-format algorithm: no JPEG support: no Old JPEG support: no ISO JBIG support: no C++ support: yes OpenGL support: no File_ tiff/tiffconf.h Chmod1 tiff/tiffconf.h ...failed updating 1 target(s)... ...skipped 2 target(s)... ...updated 16 target(s)... *** Error code 1 Stop in /home/pmjdebruijn/Argyll/Argyll_V1.3.2 (line 4 of Makefile). $