Can't gmake libdrm-2.4.59 on OmniOS
On 1 February 2015 at 01:03, CodeSwim OS Development wrote: > I'm trying to build libdrm and have an issue when I gmake after > configuring. Steps to reproduce: > > # uname -a > SunOS omnios 5.11 omnios-10b9c79 i86pc i386 i86pc > Where can one get a copy of OmniOS ? Free of charge of course :-P But more seriously >From the massive log I can spot a few interesting things - _FILE_OFFSET_BITS redefinition. Autotools correctly detects and sets it set to 64 (as you've got a 32bit system/build), yet further down the gcc headers, it's already set to 32. This won't "break" the build but will likely cause problems at runtime. - A ton of -Wparentheses warnings. These should be safe - you might also want to silence them so that serious issues are clearer. - And last but not leask the missing _IOC symbol. Gentoo people have a patch on the topic [1] - might be nice to clean it up and upstream it. Cheers, Emil [1] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-libs/libdrm/files/libdrm-2.4.58-solaris.patch?view=markup -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ -- ___ Dri-devel mailing list Dri-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel
Can't gmake libdrm-2.4.59 on OmniOS
I'm trying to build libdrm and have an issue when I gmake after configuring. Steps to reproduce: # uname -a SunOS omnios 5.11 omnios-10b9c79 i86pc i386 i86pc # cd libdrm-2.4.59 # ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... build-aux/install-sh -c -d checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) 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 whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/ggrep checking for egrep... /usr/bin/ggrep -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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking build system type... i386-pc-solaris2.11 checking host system type... i386-pc-solaris2.11 checking how to print strings... print -r checking for a sed that does not truncate output... /usr/bin/gsed checking for fgrep... /usr/bin/ggrep -F checking for ld used by gcc... /bin/ld checking if the linker (/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p checking the name lister (/usr/bin/nm -p) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 786240 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i386-pc-solaris2.11 file names to i386-pc-solaris2.11 format... func_convert_file_noop checking how to convert i386-pc-solaris2.11 file names to toolchain format... func_convert_file_noop checking for /bin/ld option to reload object files... -r checking for objdump... no checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... print -r -- checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -p output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no 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... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... solaris2.11 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for PTHREADSTUBS... yes checking for clock_gettime... yes checking for open_memstream... no checking for supported warning flags... checking whether gcc supports -Wall... yes checking whether gcc supports -Wextra... yes checking whether gcc supports -Wsign-compare... yes checking whether gcc supports -Werror-implicit-function-declaration... yes checking whether gcc supports -Wpointer-arith... yes checking whether gcc supports -Wwrite-strings... yes checking whether gcc supports -Wstrict-prototypes... yes checking whether gcc supports -Wmissing-prototypes... yes checking whether