Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236853 - x11-drivers/synaptics fails to build against xorg-server-1.5.0
Summary: x11-drivers/synaptics fails to build against xorg-server-1.5.0
Status: RESOLVED DUPLICATE of bug 229919
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-06 11:02 UTC by Davide Pesavento
Modified: 2008-09-06 11:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Pesavento (RETIRED) gentoo-dev 2008-09-06 11:02:24 UTC
x86_64-pc-linux-gnu-gcc -O2 -march=nocona -pipe -Wl,-O1 -c -pedantic -Wall -Wpointer-arith -fno-merge-constants -fPIC -I. -I/usr/include/X11 -I/usr/include/X11/extensions `pkg-config xorg-server --cflags` -Dlinux -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP   -DDPMSExtension  -DPIXPRIV -DPANORAMIX  -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE  -DSMART_SCHEDULE -DBUILDDEBUG -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -D__x86_64__ -D_XSERVER64 -DFUNCPROTO=15 -DNARROWPROTO -DIN_MODULE -DXFree86Module -DVERSION="\"0.14.6\"" -DVERSION_ID="(0*10000+14*100+6)"  synaptics.c
In file included from /usr/include/xorg/misc.h:108,
                 from synaptics.c:70:
/usr/include/xorg/os.h:519:16: warning: anonymous variadic macros were introduced in C99
rm -f ps2comm.o
synaptics.c:73:24: error: xf86_ansic.h: No such file or directory
synaptics.c: In function ‘SetDeviceAndProtocol’:
synaptics.c:195: warning: implicit declaration of function ‘strcmp’
synaptics.c: In function ‘alloc_param_data’:
synaptics.c:239: warning: implicit declaration of function ‘xf86shmget’
synaptics.c:240: warning: implicit declaration of function ‘xf86shmctl’
synaptics.c:240: error: ‘XF86IPC_RMID’ undeclared (first use in this function)
synaptics.c:240: error: (Each undeclared identifier is reported only once
synaptics.c:240: error: for each function it appears in.)
synaptics.c:242: error: ‘XF86IPC_CREAT’ undeclared (first use in this function)
synaptics.c:246: warning: implicit declaration of function ‘xf86shmat’
synaptics.c:246: warning: cast to pointer from integer of different size
synaptics.c: In function ‘free_param_data’:
synaptics.c:273: error: ‘XF86IPC_RMID’ undeclared (first use in this function)
synaptics.c: In function ‘synSetFloatOption’:
synaptics.c:287: warning: implicit declaration of function ‘xf86sscanf’
synaptics.c: In function ‘SynapticsPreInit’:
synaptics.c:494: warning: implicit declaration of function ‘xf86mknod’
synaptics.c:494: error: ‘XF86_S_IFIFO’ undeclared (first use in this function)
synaptics.c:495: error: ‘xf86errno’ undeclared (first use in this function)
x86_64-pc-linux-gnu-gcc -O2 -march=nocona -pipe -Wl,-O1 -c -pedantic -Wall -Wpointer-arith -fno-merge-constants -fPIC -I. -I/usr/include/X11 -I/usr/include/X11/extensions `pkg-config xorg-server --cflags` -Dlinux -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP   -DDPMSExtension  -DPIXPRIV -DPANORAMIX  -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE  -DSMART_SCHEDULE -DBUILDDEBUG -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -D__x86_64__ -D_XSERVER64 -DFUNCPROTO=15 -DNARROWPROTO -DIN_MODULE -DXFree86Module -DVERSION="\"0.14.6\"" -DVERSION_ID="(0*10000+14*100+6)"  ps2comm.c
synaptics.c:495: error: ‘xf86_EEXIST’ undeclared (first use in this function)
synaptics.c:504: warning: implicit declaration of function ‘xf86free’
synaptics.c: In function ‘move_distance’:
synaptics.c:698: warning: implicit declaration of function ‘xf86sqrt’
synaptics.c: In function ‘angle’:
synaptics.c:733: warning: implicit declaration of function ‘xf86atan2’
synaptics.c: In function ‘diffa’:
synaptics.c:740: warning: implicit declaration of function ‘xf86fmod’
synaptics.c: In function ‘SynapticsGetHwState’:
synaptics.c:848: warning: implicit declaration of function ‘xf86write’
synaptics.c: In function ‘ComputeDeltas’:
synaptics.c:1406: warning: implicit declaration of function ‘xf86modf’
make: *** [synaptics.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from /usr/include/xorg/misc.h:108,
                 from /usr/include/xorg/window.h:51,
                 from /usr/include/xorg/globals.h:5,
                 from /usr/include/xorg/opaque.h:34,
                 from /usr/include/xorg/xf86_OSproc.h:136,
                 from ps2comm.h:6,
                 from ps2comm.c:28:
/usr/include/xorg/os.h:519:16: warning: anonymous variadic macros were introduced in C99
ps2comm.c:746: warning: initialization from incompatible pointer type
x86_64-pc-linux-gnu-gcc: -O1: linker input file unused because linking not done
make: *** wait: No child processes.  Stop.

I guess that the newer x11-drivers/xf86-input-synaptics should be emerged instead... In xorg-server-1.5.0.ebuild the dependency should be changed from

input_devices_synaptics? ( ||
        ( x11-drivers/xf86-input-synaptics x11-drivers/synaptics )
                         )

to

input_devices_synaptics? ( x11-drivers/xf86-input-synaptics )

and/or appropriate blockers should be added.
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-09-06 11:12:11 UTC

*** This bug has been marked as a duplicate of bug 229919 ***