Another compile problem (X11R7.1): "error: 'TS_Raw' undeclared"

Harmuth, Florian fhar at msc-ge.com
Wed Jan 10 04:45:45 PST 2007


Hello all,
after building the xserver successfully (with: --disable-dmx --disable-xprint --disable-dri), i run now into another problem. 

autoreconf2.50: running: aclocal -I /opt/timesys/toolchains/i686-linux/share/aclocal -I /tmp/modular/share/aclocal 
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
autoreconf2.50: configure.ac: tracing
autoreconf2.50: running: libtoolize --copy
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
libtoolize: `ltmain.sh' exists: use `--force' to overwrite
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
autoreconf2.50: running: /usr/bin/autoconf
autoreconf2.50: running: /usr/bin/autoheader
autoreconf2.50: running: automake --add-missing --copy --no-force
autoreconf2.50: Leaving directory `.'
xf86Calcomp.c:47:1: warning: "NEED_XF86_TYPES" redefined
In file included from ../config.h:4,
                 from xf86Calcomp.c:37:
/usr/include/xorg/xorg-server.h:75:1: warning: this is the location of the previous definition
xf86Calcomp.c: In function 'CalcompPreInit':
xf86Calcomp.c:682: error: 'TS_Raw' undeclared (first use in this function)
xf86Calcomp.c:682: error: (Each undeclared identifier is reported only once
xf86Calcomp.c:682: error: for each function it appears in.)
xf86Calcomp.c:684: error: 'TS_Scaled' undeclared (first use in this function)
make[2]: *** [xf86Calcomp.lo] Fehler 1
make[1]: *** [all-recursive] Fehler 1
make: *** [all] Fehler 2
root at fhar-desktop:~/tmp/X11R7.1_new# 


After the interrupted build process i tried the next one in the list without success.

root at fhar-desktop:~/tmp/X11R7.1_new# cd driver/xf86-input-citron/
root at fhar-desktop:~/tmp/X11R7.1_new/driver/xf86-input-citron# ./autogen.sh --prefix=/tmp/modular
autoreconf2.50: Entering directory `.'
autoreconf2.50: configure.ac: not using Gettext
autoreconf2.50: running: aclocal -I /opt/timesys/toolchains/i686-linux/share/aclocal 
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
autoreconf2.50: configure.ac: tracing
autoreconf2.50: running: libtoolize --copy
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
libtoolize: `ltmain.sh' exists: use `--force' to overwrite
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
autoreconf2.50: running: /usr/bin/autoconf
autoreconf2.50: running: /usr/bin/autoheader
autoreconf2.50: running: automake --add-missing --copy --no-force
autoreconf2.50: 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... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /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 recognise 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 f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
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 static flag  works... yes
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 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... no
checking dynamic linker characteristics... GNU/Linux 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++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
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 XINPUT is defined... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... yes
checking for ANSI C header files... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: executing depfiles commands
root at fhar-desktop:~/tmp/X11R7.1_new/driver/xf86-input-citron# make
make  all-recursive
make[1]: Betrete Verzeichnis '/root/tmp/X11R7.1_new/driver/xf86-input-citron'
Making all in src
make[2]: Betrete Verzeichnis '/root/tmp/X11R7.1_new/driver/xf86-input-citron/src'
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/tmp/modular/include -I/usr/include/xorg    -I../src -MT citron.lo -MD -MP -MF ".deps/citron.Tpo" -c -o citron.lo citron.c; \
        then mv -f ".deps/citron.Tpo" ".deps/citron.Plo"; else rm -f ".deps/citron.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/tmp/modular/include -I/usr/include/xorg -I../src -MT citron.lo -MD -MP -MF .deps/citron.Tpo -c citron.c  -fPIC -DPIC -o .libs/citron.o
citron.c:155:1: warning: "NEED_XF86_TYPES" redefined
In file included from ../config.h:4,
                 from citron.c:131:
/usr/include/xorg/xorg-server.h:75:1: warning: this is the location of the previous definition
citron.c: In function 'CitronPreInit':
citron.c:1072: error: 'TS_Raw' undeclared (first use in this function)
citron.c:1072: error: (Each undeclared identifier is reported only once
citron.c:1072: error: for each function it appears in.)
citron.c:1074: error: 'TS_Scaled' undeclared (first use in this function)
citron.c: In function 'ReadInput':
citron.c:1471: error: 'TS_Scaled' undeclared (first use in this function)
citron.c: In function 'ControlProc':
citron.c:2023: error: 'xDeviceTSCalibrationCtl' undeclared (first use in this function)
citron.c:2023: error: 'c' undeclared (first use in this function)
citron.c:2023: error: expected expression before ')' token
citron.c: In function 'SwitchMode':
citron.c:2055: error: 'TS_Raw' undeclared (first use in this function)
citron.c:2055: error: 'TS_Scaled' undeclared (first use in this function)
citron.c:2061: error: 'SendCoreEvents' undeclared (first use in this function)
citron.c:2061: error: 'DontSendCoreEvents' undeclared (first use in this function)
citron.c: In function 'ConvertProc':
citron.c:2114: error: 'TS_Raw' undeclared (first use in this function)
make[2]: *** [citron.lo] Fehler 1
make[2]: Verlasse Verzeichnis '/root/tmp/X11R7.1_new/driver/xf86-input-citron/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/root/tmp/X11R7.1_new/driver/xf86-input-citron'
make: *** [all] Fehler 2
root at fhar-desktop:~/tmp/X11R7.1_new/driver/xf86-input-citron# 

Any suggestions?


Regards,
Florian Harmuth

PS: sry for the german things like "Verlasse Verzeichnis..."...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20070110/4effe78d/attachment.html>


More information about the xorg mailing list