[Xorg-driver-geode] Latest git snapshot doesn't compile under FreeBSD
Arrigo Marchiori
ardovm at yahoo.it
Thu May 8 08:01:00 PDT 2008
Dear list,
first of all, I apologize to Jordan not for having tested his patch
soon, as he asked. I had other things to cope with, so I could test
the driver only now.
I'm reporting my unsuccesful attempt of compiling the latest version
of the driver, hoping that it can be useful for the development.
The patched version didn't compile for me. I tried downloading the
latest snapshot from the git repository and I found the very same
errors. They are:
1- I ran autogen.sh. It launched the configure script, that gave the
following error messages:
> ./configure: line 21319: XORG_MANPAGE_SECTIONS: command not found
> ./configure: line 21320: XORG_RELEASE_VERSION: command not found
2- The makefile, however, was built. So I ran make, that stopped on file
geode_driver.c because of two undefined symbols:
PACKAGE_VERSION_MAJOR, PACKAGE_VERSION_MINOR and
PACKAGE_VERSION_PATCHLEVEL.
I don't know if these errors are due to my operating system (FreeBSD)
or to some mistake I did. I never worked with git, neither with
autogen & co...
I'm attaching to this mail the outputs of the commands "autogen.sh"
and "make", hoping that they can be useful.
By the way, I confirm that version 2.8.0, with the minimal patching I
described in a previous e-mail, is working fine.
--
rigo
http://rigo.altervista.org
-------------- next part --------------
autoreconf-2.61: Entering directory `.'
autoreconf-2.61: configure.ac: not using Gettext
autoreconf-2.61: running: aclocal
/usr/local/share/aclocal/linc.m4:1: warning: underquoted definition of AM_PATH_LINC
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/local/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/local/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/local/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
/usr/local/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB
autoreconf-2.61: configure.ac: tracing
autoreconf-2.61: running: libtoolize --copy
/usr/local/share/aclocal/linc.m4:1: warning: underquoted definition of AM_PATH_LINC
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/local/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/local/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/local/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
/usr/local/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB
autoreconf-2.61: running: /usr/local/bin/autoconf-2.61
autoreconf-2.61: running: /usr/local/bin/autoheader-2.61
autoreconf-2.61: running: automake --add-missing --copy --no-force
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
src/Makefile.am: installing `./depcomp'
autoreconf-2.61: Leaving directory `.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... i386-unknown-freebsd6.3
checking host system type... i386-unknown-freebsd6.3
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 dependency style of gcc... gcc3
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 ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... 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 g77... no
checking for xlf... no
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... freebsd6.3 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... no
configure: creating libtool
appending configuration tag "CXX" to libtool
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
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd6.3 ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... yes
checking if f77 static flag -static works... yes
checking if f77 supports -c -o file.o... yes
checking whether the f77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd6.3 ld.so
checking how to hardcode library paths into programs... immediate
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking if RANDR is defined... yes
checking if RENDER is defined... yes
checking if XV is defined... yes
checking if DPMSExtension is defined... yes
checking if XFreeXDGA is defined... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... yes
checking whether XSERVER_LIBPCIACCESS is declared... no
checking for ANSI C header files... (cached) yes
checking whether _LP64 is declared... no
checking whether __amd64__ is declared... no
checking whether amd64 is declared... no
./configure: line 21319: XORG_MANPAGE_SECTIONS: command not found
./configure: line 21320: XORG_RELEASE_VERSION: command not found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
-------------- next part --------------
make all-recursive
Making all in src
if /usr/local/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/cim -I../src/gfx -I../src/panel -I../linux_v26 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DHAVE_GX -DHAVE_LX -DAMD_V4L2_VIDEO -DOPT_ACCEL -DLINUX_2_6 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -DPNL_SUP -g -O2 -MT geode_driver.lo -MD -MP -MF ".deps/geode_driver.Tpo" -c -o geode_driver.lo geode_driver.c; then mv -f ".deps/geode_driver.Tpo" ".deps/geode_driver.Plo"; else rm -f ".deps/geode_driver.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src/cim -I../src/gfx -I../src/panel -I../linux_v26 -I/usr/local/include/xorg -I/usr/local/include/pixman-1 -I/usr/local/include -DHAVE_GX -DHAVE_LX -DAMD_V4L2_VIDEO -DOPT_ACCEL -DLINUX_2_6 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -DPNL_SUP -g -O2 -MT geode_driver.lo -MD -MP -MF .deps/geode_driver.Tpo -c geode_driver.c -fPIC -DPIC -o .libs/geode_driver.o
geode_driver.c:310: error: `PACKAGE_VERSION_MAJOR' undeclared here (not in a function)
geode_driver.c:310: error: initializer element is not constant
geode_driver.c:310: error: (near initialization for `AmdVersionRec.majorversion')
geode_driver.c:310: error: `PACKAGE_VERSION_MINOR' undeclared here (not in a function)
geode_driver.c:310: error: initializer element is not constant
geode_driver.c:310: error: (near initialization for `AmdVersionRec.minorversion')
geode_driver.c:310: error: `PACKAGE_VERSION_PATCHLEVEL' undeclared here (not in a function)
geode_driver.c:310: error: initializer element is not constant
geode_driver.c:310: error: (near initialization for `AmdVersionRec.patchlevel')
geode_driver.c:314: error: initializer element is not constant
geode_driver.c:314: error: (near initialization for `AmdVersionRec.checksum')
geode_driver.c:323: error: initializer element is not constant
geode_driver.c:323: error: (near initialization for `GeodeVersionRec.majorversion')
geode_driver.c:323: error: initializer element is not constant
geode_driver.c:323: error: (near initialization for `GeodeVersionRec.minorversion')
geode_driver.c:323: error: initializer element is not constant
geode_driver.c:323: error: (near initialization for `GeodeVersionRec.patchlevel')
geode_driver.c:327: error: initializer element is not constant
geode_driver.c:327: error: (near initialization for `GeodeVersionRec.checksum')
*** Error code 1
Stop in /usr/home/arrigo/temp/xf86-video-geode/src.
*** Error code 1
Stop in /usr/home/arrigo/temp/xf86-video-geode.
*** Error code 1
Stop in /usr/home/arrigo/temp/xf86-video-geode.
More information about the Xorg-driver-geode
mailing list