mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] xorg-driver-input-tslib compile error
@ 2011-11-13  3:12 Francesco Brasini
  2011-11-13  9:26 ` Michael Olbrich
  0 siblings, 1 reply; 3+ messages in thread
From: Francesco Brasini @ 2011-11-13  3:12 UTC (permalink / raw)
  To: ptxdist

Hi all,

  I'm using ptxdist-2011.10.1 and OSELAS.BSP-Pengutronix-Mini2440-2011.10.0
on a debian squeeze host machine (with OSELAS.Toolchain-2011.03.1). 

I was successful in compiling a number of packages and in generating images 
for the kernel and barebox (and boot without problems a mini2440 board with 
1G of flash), largely thanks to the excellent documentation that you have made ​​
available. 

So far I experienced a single failure, trying to compile xorg-driver-input-
tslib.

The relevant log messages follows:

---------------------------------------
target: xorg-driver-input-tslib.compile
---------------------------------------

make[1]: Entering directory `/home/franz/mini2440/pengutronix/OSELAS.BSP-
Pengutronix-Mini2440-2011.10.0/platform-mini2440/build-target/xf86-input-tslib-
0.0.6'
make  all-recursive
make[2]: Entering directory `/home/franz/mini2440/pengutronix/OSELAS.BSP-
Pengutronix-Mini2440-2011.10.0/platform-mini2440/build-target/xf86-input-tslib-
0.0.6'
Making all in src
make[3]: Entering directory `/home/franz/mini2440/pengutronix/OSELAS.BSP-
Pengutronix-Mini2440-2011.10.0/platform-mini2440/build-target/xf86-input-tslib-
0.0.6/src'
/bin/sh ../libtool --tag=CC   --mode=compile arm-v4t-linux-gnueabi-gcc -
DHAVE_CONFIG_H -I. -I..   -isystem /home/franz/mini2440/pengutronix/OSELAS.BSP-
Pengutronix-Mini2440-2011.10.0/platform-mini2440/sysroot-target/include -isystem 
/home/franz/mini2440/pengutronix/OSELAS.BSP-Pengutronix-Mini2440-
2011.10.0/platform-mini2440/sysroot-target/usr/include  -g -O2 -
fvisibility=hidden -I/home/franz/mini2440/pengutronix/OSELAS.BSP-Pengutronix-
Mini2440-2011.10.0/platform-mini2440/sysroot-target/usr/include/xorg -
I/home/franz/mini2440/pengutronix/OSELAS.BSP-Pengutronix-Mini2440-
2011.10.0/platform-mini2440/sysroot-target/usr/include -
I/home/franz/mini2440/pengutronix/OSELAS.BSP-Pengutronix-Mini2440-
2011.10.0/platform-mini2440/sysroot-target/usr/include/pixman-1    -I../src -MT 
tslib.lo -MD -MP -MF .deps/tslib.Tpo -c -o tslib.lo tslib.c
 arm-v4t-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -isystem 
/home/franz/mini2440/pengutronix/OSELAS.BSP-Pengutronix-Mini2440-
2011.10.0/platform-mini2440/sysroot-target/include -isystem 
/home/franz/mini2440/pengutronix/OSELAS.BSP-Pengutronix-Mini2440-
2011.10.0/platform-mini2440/sysroot-target/usr/include -g -O2 -
fvisibility=hidden -I/home/franz/mini2440/pengutronix/OSELAS.BSP-Pengutronix-
Mini2440-2011.10.0/platform-mini2440/sysroot-target/usr/include/xorg -
I/home/franz/mini2440/pengutronix/OSELAS.BSP-Pengutronix-Mini2440-
2011.10.0/platform-mini2440/sysroot-target/usr/include -
I/home/franz/mini2440/pengutronix/OSELAS.BSP-Pengutronix-Mini2440-
2011.10.0/platform-mini2440/sysroot-target/usr/include/pixman-1 -I../src -MT 
tslib.lo -MD -MP -MF .deps/tslib.Tpo -c tslib.c  -fPIC -DPIC -o .libs/tslib.o
tslib.c: In function 'xf86TslibUninit':
tslib.c:437:2: warning: 'Xfree' is deprecated (declared at 
/home/franz/mini2440/pengutronix/OSELAS.BSP-Pengutronix-Mini2440-
2011.10.0/platform-mini2440/sysroot-target/usr/include/xorg/os.h:234)
tslib.c: In function 'xf86TslibInit':
tslib.c:453:2: warning: 'Xcalloc' is deprecated (declared at 
/home/franz/mini2440/pengutronix/OSELAS.BSP-Pengutronix-Mini2440-
2011.10.0/platform-mini2440/sysroot-target/usr/include/xorg/os.h:225)
tslib.c:458:3: warning: 'Xfree' is deprecated (declared at 
/home/franz/mini2440/pengutronix/OSELAS.BSP-Pengutronix-Mini2440-
2011.10.0/platform-mini2440/sysroot-target/usr/include/xorg/os.h:234)
tslib.c:517:2: warning: 'Xfree' is deprecated (declared at 
/home/franz/mini2440/pengutronix/OSELAS.BSP-Pengutronix-Mini2440-
2011.10.0/platform-mini2440/sysroot-target/usr/include/xorg/os.h:234)
tslib.c: At top level:
tslib.c:545:26: error: expected identifier or '(' before numeric constant
tslib.c: In function 'xf86TslibPlug':
tslib.c:582:2: error: lvalue required as unary '&' operand
make[3]: *** [tslib.lo] Error 1
make[3]: Leaving directory `/home/franz/mini2440/pengutronix/OSELAS.BSP-
Pengutronix-Mini2440-2011.10.0/platform-mini2440/build-target/xf86-input-tslib-
0.0.6/src'
make[2]: Leaving directory `/home/franz/mini2440/pengutronix/OSELAS.BSP-
Pengutronix-Mini2440-2011.10.0/platform-mini2440/build-target/xf86-input-tslib-
0.0.6'
make[2]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/franz/mini2440/pengutronix/OSELAS.BSP-
Pengutronix-Mini2440-2011.10.0/platform-mini2440/build-target/xf86-input-tslib-
0.0.6'
make[1]: *** [all] Error 2
make: *** [/home/franz/mini2440/pengutronix/OSELAS.BSP-Pengutronix-Mini2440-
2011.10.0/platform-mini2440/state/xorg-driver-input-tslib.compile] Error 2
---------------------------------------------------------------------------

best regards,
Francesco Brasini



-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] xorg-driver-input-tslib compile error
  2011-11-13  3:12 [ptxdist] xorg-driver-input-tslib compile error Francesco Brasini
@ 2011-11-13  9:26 ` Michael Olbrich
       [not found]   ` <4ECCEFA7.7090700@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Olbrich @ 2011-11-13  9:26 UTC (permalink / raw)
  To: ptxdist

Hi,

On Sun, Nov 13, 2011 at 03:12:15AM +0000, Francesco Brasini wrote:
>   I'm using ptxdist-2011.10.1 and OSELAS.BSP-Pengutronix-Mini2440-2011.10.0
> on a debian squeeze host machine (with OSELAS.Toolchain-2011.03.1). 
> 
> I was successful in compiling a number of packages and in generating images 
> for the kernel and barebox (and boot without problems a mini2440 board with 
> 1G of flash), largely thanks to the excellent documentation that you have made ​​
> available. 
> 
> So far I experienced a single failure, trying to compile xorg-driver-input-
> tslib.
> 
> The relevant log messages follows:
[...]

Disable XORG_SERVER_TSLIB (Build kdrive tslib touchscreen support), or
better don't build kdrive at all. You don't need Xorg and a kdrive based
server.
The problem ist that using "kdrive tslib support" will add some
"#define TSLIB 1" or something like that to a global Xorg header. This
breaks "_X_EXPORT InputDriverRec TSLIB = {".

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] xorg-driver-input-tslib compile error
       [not found]   ` <4ECCEFA7.7090700@gmail.com>
@ 2011-11-23 15:23     ` Michael Olbrich
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Olbrich @ 2011-11-23 15:23 UTC (permalink / raw)
  To: ptxdist

Hi,

please reply to the mailing list.

On Wed, Nov 23, 2011 at 06:35:43PM +0530, Wingston wrote:
> But i need the xorg-server-tslib to run xinit.
> how do i fix the above error, i mean where is the problem? i went to
> the build-root folder and looked t the source but i dont see whats
> wrong.

There are two cinflicting tslib driver for Xorg:

The real Xorg driver (PTXCONF_XORG_DRIVER_INPUT_TSLIB int ptxconfig)
The builtin tslib support for kdrive (PTXCONF_XORG_SERVER_TSLIB in ptxconfig)

You only need one. If you're using the real X server then just disable
PTXCONF_XORG_SERVER_TSLIB

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-23 15:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-13  3:12 [ptxdist] xorg-driver-input-tslib compile error Francesco Brasini
2011-11-13  9:26 ` Michael Olbrich
     [not found]   ` <4ECCEFA7.7090700@gmail.com>
2011-11-23 15:23     ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox