Hi everyone,<br>      For study reason I decide to compile the xorg myself in the distro of solaris, but I've got stuck<br>with compile drm from the git repos on freedesktop. <br>      Before asking in irc, I was told I should use gmake to do this, but still it doesn't seem clear <br>
enough for me to do anything ahead.<br>      Suggestions appreciated!<br><br>B.R.<br><br>Tac<br><br>ps. I was running into this when I type make install from the source:<br>Making install in libdrm<br>make: Fatal error in reader: Makefile, line 658: Unexpected end of line seen<br>
Current working directory /export/work/xorg/drm/libdrm<br>*** Error code 1<br>The following command caused the error:<br>failcom='exit 1'; \<br>for f in x $MAKEFLAGS; do \<br>  case $f in \<br>    *=* | --[!k]*);; \<br>
    *k*) failcom='fail=yes';; \<br>  esac; \<br>done; \<br>dot_seen=no; \<br>target=`echo install-recursive | sed s/-recursive//`; \<br>list='libdrm shared-core tests'; for subdir in $list; do \<br>  echo "Making $target in $subdir"; \<br>
  if test "$subdir" = "."; then \<br>    dot_seen=yes; \<br>    local_target="$target-am"; \<br>  else \<br>    local_target="$target"; \<br>  fi; \<br>  (cd $subdir && make  $local_target) \<br>
  || eval $failcom; \<br>done; \<br>if test "$dot_seen" = "no"; then \<br>  make  "$target-am" || exit 1; \<br>fi; test -z "$fail"<br>make: Fatal error: Command failed for target `install-recursive'<br>
<br><br>the configure result is:<br><br># ./autogen.sh --prefix=/usr/xorg<br>autoreconf: Entering directory `.'<br>autoreconf: <a href="http://configure.ac">configure.ac</a>: not using Gettext<br>autoreconf: running: aclocal <br>
/usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD<br>/usr/share/aclocal/libmikmod.m4:11:   run info '(automake)Extending aclocal'<br>/usr/share/aclocal/libmikmod.m4:11:   or see <a href="http://sources.redhat.com/automake/automake.html#Extending-aclocal">http://sources.redhat.com/automake/automake.html#Extending-aclocal</a><br>
autoreconf: <a href="http://configure.ac">configure.ac</a>: tracing<br>autoreconf: running: libtoolize --copy<br>/usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD<br>/usr/share/aclocal/libmikmod.m4:11:   run info '(automake)Extending aclocal'<br>
/usr/share/aclocal/libmikmod.m4:11:   or see <a href="http://sources.redhat.com/automake/automake.html#Extending-aclocal">http://sources.redhat.com/automake/automake.html#Extending-aclocal</a><br>autoreconf: running: /usr/bin/autoconf<br>
autoreconf: running: /usr/bin/autoheader<br>autoreconf: running: automake --add-missing --copy --no-force<br><a href="http://configure.ac:24">configure.ac:24</a>: installing `./missing'<br><a href="http://configure.ac:24">configure.ac:24</a>: installing `./install-sh'<br>
libdrm/Makefile.am: installing `./depcomp'<br>autoreconf: Leaving directory `.'<br>checking for a BSD-compatible install... /usr/bin/ginstall -c<br>checking whether build environment is sane... yes<br>checking for a thread-safe mkdir -p... ./install-sh -c -d<br>
checking for gawk... gawk<br>checking whether make sets $(MAKE)... yes<br>checking build system type... i386-pc-solaris2.11<br>checking host system type... i386-pc-solaris2.11<br>checking for style of include used by make... GNU<br>
checking for gcc... gcc<br>checking for C compiler default output file name... a.out<br>checking whether the C compiler works... yes<br>checking whether we are cross compiling... no<br>checking for suffix of executables... <br>
checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether gcc accepts -g... yes<br>checking for gcc option to accept ISO C89... none needed<br>checking dependency style of gcc... gcc3<br>
checking for a sed that does not truncate output... /usr/bin/gsed<br>checking for grep that handles long lines and -e... /usr/bin/ggrep<br>checking for egrep... /usr/bin/ggrep -E<br>checking for ld used by gcc... /usr/ccs/bin/ld<br>
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no<br>checking for /usr/ccs/bin/ld option to reload object files... -r<br>checking for BSD-compatible nm... /usr/bin/nm -p<br>checking whether ln -s works... yes<br>checking how to recognise dependent libraries... pass_all<br>
checking how to run the C preprocessor... gcc -E<br>checking for ANSI C header files... yes<br>checking for sys/types.h... yes<br>checking for sys/stat.h... yes<br>checking for stdlib.h... yes<br>checking for string.h... yes<br>
checking for memory.h... yes<br>checking for strings.h... yes<br>checking for inttypes.h... yes<br>checking for stdint.h... yes<br>checking for unistd.h... yes<br>checking dlfcn.h usability... yes<br>checking dlfcn.h presence... yes<br>
checking for dlfcn.h... yes<br>checking for g++... g++<br>checking whether we are using the GNU C++ compiler... yes<br>checking whether g++ accepts -g... yes<br>checking dependency style of g++... gcc3<br>checking how to run the C++ preprocessor... g++ -E<br>
checking for g77... g77<br>checking whether we are using the GNU Fortran 77 compiler... yes<br>checking whether g77 accepts -g... yes<br>checking the maximum length of command line arguments... 262144<br>checking command to parse /usr/bin/nm -p output from gcc object... ok<br>
checking for objdir... .libs<br>checking for ar... ar<br>checking for ranlib... ranlib<br>checking for strip... strip<br>checking if gcc supports -fno-rtti -fno-exceptions... no<br>checking for gcc option to produce PIC... -fPIC<br>
checking if gcc PIC flag -fPIC works... yes<br>checking if gcc static flag -static works... no<br>checking if gcc supports -c -o file.o... yes<br>checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes<br>
checking whether -lc should be explicitly linked in... yes<br>checking dynamic linker characteristics... solaris2.11 ld.so<br>checking how to hardcode library paths into programs... immediate<br>checking whether stripping libraries is possible... no<br>
checking if libtool supports shared libraries... yes<br>checking whether to build shared libraries... yes<br>checking whether to build static libraries... no<br>configure: creating libtool<br>appending configuration tag "CXX" to libtool<br>
checking for ld used by g++... /usr/ccs/bin/ld<br>checking if the linker (/usr/ccs/bin/ld) is GNU ld... no<br>checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes<br>checking for g++ option to produce PIC... -fPIC<br>
checking if g++ PIC flag -fPIC works... yes<br>checking if g++ static flag -static works... no<br>checking if g++ supports -c -o file.o... yes<br>checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes<br>
checking dynamic linker characteristics... solaris2.11 ld.so<br>checking how to hardcode library paths into programs... immediate<br>appending configuration tag "F77" to libtool<br>checking if libtool supports shared libraries... yes<br>
checking whether to build shared libraries... yes<br>checking whether to build static libraries... no<br>checking for g77 option to produce PIC... -fPIC<br>checking if g77 PIC flag -fPIC works... yes<br>checking if g77 static flag -static works... no<br>
checking if g77 supports -c -o file.o... yes<br>checking whether the g77 linker (/usr/ccs/bin/ld) supports shared libraries... yes<br>checking dynamic linker characteristics... solaris2.11 ld.so<br>checking how to hardcode library paths into programs... immediate<br>
checking for gcc... (cached) gcc<br>checking whether we are using the GNU C compiler... (cached) yes<br>checking whether gcc accepts -g... (cached) yes<br>checking for gcc option to accept ISO C89... (cached) none needed<br>
checking dependency style of gcc... (cached) gcc3<br>checking for ANSI C header files... (cached) yes<br>checking for special C compiler options needed for large files... no<br>checking for _FILE_OFFSET_BITS value needed for large files... 64<br>
checking for pkg-config... /usr/bin/pkg-config<br>checking pkg-config is at least version 0.9.0... yes<br>checking for PTHREADSTUBS... yes<br>checking for clock_gettime... yes<br>checking for supported warning flags... <br>
checking whether gcc supports -Wall... yes<br>checking whether gcc supports -Wextra... yes<br>checking whether gcc supports -Wsign-compare... yes<br>checking whether gcc supports -Werror-implicit-function-declaration... yes<br>
checking whether gcc supports -Wpointer-arith... yes<br>checking whether gcc supports -Wwrite-strings... yes<br>checking whether gcc supports -Wstrict-prototypes... yes<br>checking whether gcc supports -Wmissing-prototypes... yes<br>
checking whether gcc supports -Wmissing-declarations... yes<br>checking whether gcc supports -Wnested-externs... yes<br>checking whether gcc supports -Wpacked... yes<br>checking whether gcc supports -Wswitch-enum... yes<br>
checking whether gcc supports -Wmissing-format-attribute... yes<br>checking whether gcc supports -Wstrict-aliasing=2... yes<br>checking whether gcc supports -Winit-self... yes<br>checking whether gcc supports -Wunsafe-loop-optimizations... no<br>
checking whether gcc supports -Wdeclaration-after-statement... yes<br>checking whether gcc supports -Wold-style-definition... yes<br>checking whether gcc supports -Wno-missing-field-initializers... no<br>checking whether gcc supports -Wno-unused-parameter... yes<br>
checking whether gcc supports -Wno-attributes... no<br>checking whether gcc supports -Wno-long-long... yes<br>checking whether gcc supports -Winline... yes<br>checking which warning flags were supported...  -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-long-long -Winline<br>
checking for CAIRO... yes<br>configure: creating ./config.status<br>config.status: creating Makefile<br>config.status: creating libdrm/Makefile<br>config.status: creating libdrm/intel/Makefile<br>config.status: creating libdrm/nouveau/Makefile<br>
config.status: creating libdrm/nouveau/libdrm_nouveau.pc<br>config.status: creating shared-core/Makefile<br>config.status: creating tests/Makefile<br>config.status: creating tests/modeprint/Makefile<br>config.status: creating tests/modetest/Makefile<br>
config.status: creating libdrm.pc<br>config.status: creating libdrm/config.h<br>config.status: executing depfiles commands<br><br><br><br>