1 |
Hello, |
2 |
|
3 |
I'm trying to compile xorg 7.0 on my 2006.0 installed on a intel |
4 |
macmini. I had success compiling 6.8.2, but I really need the latest X |
5 |
server and latest i810 driver to get it to work properly. So I tried |
6 |
emerging modular x, but the process gets stuck on the last package |
7 |
before xorg-x11 itself: the mouse driver (xf86-input-mouse-1.0.4). |
8 |
|
9 |
Can anybody help me with this issue? I really need to get it working... |
10 |
Any hint on where to look in the sources/ebuild? |
11 |
|
12 |
make.conf: |
13 |
|
14 |
CFLAGS="-O2 -march=pentium-m -msse3 -fomit-frame-pointer -pipe" |
15 |
CHOST="i686-pc-linux-gnu" |
16 |
CXXFLAGS="${CFLAGS}" |
17 |
MAKEOPTS="-j2" |
18 |
USE="-cups -gtk -gnome -qt -kde -alsa unicode cjk sqlite" |
19 |
VIDEO_CARDS="i810" |
20 |
INPUT_DEVICES="mouse keyboard" |
21 |
|
22 |
emerge output: |
23 |
|
24 |
>>> Compiling source in |
25 |
/var/tmp/portage/xf86-input-mouse-1.0.4/work/xf86-input-mouse-1.0.4 ... |
26 |
* econf: updating xf86-input-mouse-1.0.4/config.sub with |
27 |
/usr/share/gnuconfig/config.sub |
28 |
* econf: updating xf86-input-mouse-1.0.4/config.guess with |
29 |
/usr/share/gnuconfig/config.guess |
30 |
./configure --prefix=/usr --host=i686-pc-linux-gnu |
31 |
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share |
32 |
--sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr |
33 |
--datadir=/usr/share --build=i686-pc-linux-gnu |
34 |
checking for a BSD-compatible install... /bin/install -c |
35 |
checking whether build environment is sane... yes |
36 |
checking for gawk... gawk |
37 |
checking whether make sets $(MAKE)... yes |
38 |
checking whether to enable maintainer-specific portions of Makefiles... no |
39 |
checking build system type... i686-pc-linux-gnu |
40 |
checking host system type... i686-pc-linux-gnu |
41 |
checking for style of include used by make... GNU |
42 |
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc |
43 |
checking for C compiler default output file name... a.out |
44 |
checking whether the C compiler works... yes |
45 |
checking whether we are cross compiling... no |
46 |
checking for suffix of executables... |
47 |
checking for suffix of object files... o |
48 |
checking whether we are using the GNU C compiler... yes |
49 |
checking whether i686-pc-linux-gnu-gcc accepts -g... yes |
50 |
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed |
51 |
checking dependency style of i686-pc-linux-gnu-gcc... gcc3 |
52 |
checking for a sed that does not truncate output... /bin/sed |
53 |
checking for egrep... grep -E |
54 |
checking for ld used by i686-pc-linux-gnu-gcc... |
55 |
/usr/i686-pc-linux-gnu/bin/ld |
56 |
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes |
57 |
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object |
58 |
files... -r |
59 |
checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B |
60 |
checking whether ln -s works... yes |
61 |
checking how to recognise dependent libraries... pass_all |
62 |
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E |
63 |
checking for ANSI C header files... yes |
64 |
checking for sys/types.h... yes |
65 |
checking for sys/stat.h... yes |
66 |
checking for stdlib.h... yes |
67 |
checking for string.h... yes |
68 |
checking for memory.h... yes |
69 |
checking for strings.h... yes |
70 |
checking for inttypes.h... yes |
71 |
checking for stdint.h... yes |
72 |
checking for unistd.h... yes |
73 |
checking dlfcn.h usability... yes |
74 |
checking dlfcn.h presence... yes |
75 |
checking for dlfcn.h... yes |
76 |
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ |
77 |
checking whether we are using the GNU C++ compiler... yes |
78 |
checking whether i686-pc-linux-gnu-g++ accepts -g... yes |
79 |
checking dependency style of i686-pc-linux-gnu-g++... gcc3 |
80 |
checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E |
81 |
checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77 |
82 |
checking whether we are using the GNU Fortran 77 compiler... yes |
83 |
checking whether i686-pc-linux-gnu-g77 accepts -g... yes |
84 |
checking the maximum length of command line arguments... 32768 |
85 |
checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from |
86 |
i686-pc-linux-gnu-gcc object... ok |
87 |
checking for objdir... .libs |
88 |
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar |
89 |
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib |
90 |
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip |
91 |
checking if i686-pc-linux-gnu-gcc static flag works... yes |
92 |
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no |
93 |
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC |
94 |
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes |
95 |
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes |
96 |
checking whether the i686-pc-linux-gnu-gcc linker |
97 |
(/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes |
98 |
checking whether -lc should be explicitly linked in... no |
99 |
checking dynamic linker characteristics... GNU/Linux ld.so |
100 |
checking how to hardcode library paths into programs... immediate |
101 |
checking whether stripping libraries is possible... yes |
102 |
checking if libtool supports shared libraries... yes |
103 |
checking whether to build shared libraries... yes |
104 |
checking whether to build static libraries... no |
105 |
configure: creating libtool |
106 |
appending configuration tag "CXX" to libtool |
107 |
checking for ld used by i686-pc-linux-gnu-g++... |
108 |
/usr/i686-pc-linux-gnu/bin/ld |
109 |
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes |
110 |
checking whether the i686-pc-linux-gnu-g++ linker |
111 |
(/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes |
112 |
checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC |
113 |
checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes |
114 |
checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes |
115 |
checking whether the i686-pc-linux-gnu-g++ linker |
116 |
(/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes |
117 |
checking dynamic linker characteristics... GNU/Linux ld.so |
118 |
checking how to hardcode library paths into programs... immediate |
119 |
checking whether stripping libraries is possible... yes |
120 |
appending configuration tag "F77" to libtool |
121 |
checking if libtool supports shared libraries... yes |
122 |
checking whether to build shared libraries... yes |
123 |
checking whether to build static libraries... no |
124 |
checking for i686-pc-linux-gnu-g77 option to produce PIC... -fPIC |
125 |
checking if i686-pc-linux-gnu-g77 PIC flag -fPIC works... yes |
126 |
checking if i686-pc-linux-gnu-g77 supports -c -o file.o... yes |
127 |
checking whether the i686-pc-linux-gnu-g77 linker |
128 |
(/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes |
129 |
checking dynamic linker characteristics... GNU/Linux ld.so |
130 |
checking how to hardcode library paths into programs... immediate |
131 |
checking whether stripping libraries is possible... yes |
132 |
./configure: line 19272: test: too many arguments |
133 |
checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc |
134 |
checking whether we are using the GNU C compiler... (cached) yes |
135 |
checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes |
136 |
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... (cached) |
137 |
none needed |
138 |
checking dependency style of i686-pc-linux-gnu-gcc... (cached) gcc3 |
139 |
checking if RANDR is defined... yes |
140 |
checking if XINPUT is defined... yes |
141 |
checking for i686-pc-linux-gnu-pkg-config... no |
142 |
checking for pkg-config... /usr/bin/pkg-config |
143 |
checking pkg-config is at least version 0.9.0... yes |
144 |
checking for XORG... yes |
145 |
checking for ANSI C header files... (cached) yes |
146 |
checking for /usr/share/X11/sgml/defs.ent... no |
147 |
checking for linuxdoc... no |
148 |
checking for ps2pdf... no |
149 |
checking Whether to build documentation... no |
150 |
checking Whether to build pdf documentation... no |
151 |
configure: creating ./config.status |
152 |
config.status: creating Makefile |
153 |
config.status: creating src/Makefile |
154 |
config.status: creating man/Makefile |
155 |
config.status: creating config.h |
156 |
config.status: executing depfiles commands |
157 |
make all-recursive |
158 |
make[1]: Entering directory |
159 |
`/var/tmp/portage/xf86-input-mouse-1.0.4/work/xf86-input-mouse-1.0.4' |
160 |
Making all in src |
161 |
make[2]: Entering directory |
162 |
`/var/tmp/portage/xf86-input-mouse-1.0.4/work/xf86-input-mouse-1.0.4/src' |
163 |
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc |
164 |
-DHAVE_CONFIG_H -I. -I. -I.. -O2 -march=pentium-m -msse3 |
165 |
-fomit-frame-pointer -pipe -DXFree86Server -DIN_MODULE -DXFree86Module |
166 |
-DXFree86LOADER -I/usr/include/xorg -I../src -MT mouse.lo -MD -MP -MF |
167 |
".deps/mouse.Tpo" \ |
168 |
-c -o mouse.lo `test -f 'mouse.c' || echo './'`mouse.c; \ |
169 |
then mv -f ".deps/mouse.Tpo" ".deps/mouse.Plo"; \ |
170 |
else rm -f ".deps/mouse.Tpo"; exit 1; \ |
171 |
fi |
172 |
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc |
173 |
-DHAVE_CONFIG_H -I. -I. -I.. -O2 -march=pentium-m -msse3 |
174 |
-fomit-frame-pointer -pipe -DXFree86Server -DIN_MODULE -DXFree86Module |
175 |
-DXFree86LOADER -I/usr/include/xorg -I../src -MT pnp.lo -MD -MP -MF |
176 |
".deps/pnp.Tpo" \ |
177 |
-c -o pnp.lo `test -f 'pnp.c' || echo './'`pnp.c; \ |
178 |
then mv -f ".deps/pnp.Tpo" ".deps/pnp.Plo"; \ |
179 |
else rm -f ".deps/pnp.Tpo"; exit 1; \ |
180 |
fi |
181 |
mkdir .libs |
182 |
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -march=pentium-m |
183 |
-msse3 -fomit-frame-pointer -pipe -DXFree86Server -DIN_MODULE |
184 |
-DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I../src -MT |
185 |
mouse.lo -MD -MP -MF .deps/mouse.Tpo -c mouse.c -fPIC -DPIC -o |
186 |
.libs/mouse.o |
187 |
mouse.c:70:1: warning: "NEED_XF86_TYPES" redefined |
188 |
In file included from ../config.h:4, |
189 |
from mouse.c:49: |
190 |
/usr/include/xorg/xorg-server.h:75:1: warning: this is the location of |
191 |
the previous definition |
192 |
In file included from /usr/include/xorg/xisb.h:32, |
193 |
from mouse.c:74: |
194 |
/usr/include/unistd.h:189: error: conflicting types for 'xf86ssize_t' |
195 |
/usr/include/xorg/xf86_libc.h:86: error: previous declaration of |
196 |
'xf86ssize_t' was here |
197 |
In file included from /usr/include/xorg/xisb.h:32, |
198 |
from mouse.c:74: |
199 |
/usr/include/unistd.h:312: error: conflicting types for 'xf86read' |
200 |
/usr/include/xorg/xf86_ansic.h:273: error: previous declaration of |
201 |
'xf86read' was here |
202 |
/usr/include/unistd.h:312: error: conflicting types for 'xf86read' |
203 |
/usr/include/xorg/xf86_ansic.h:273: error: previous declaration of |
204 |
'xf86read' was here |
205 |
/usr/include/unistd.h:318: error: conflicting types for 'xf86write' |
206 |
/usr/include/xorg/xf86_ansic.h:274: error: previous declaration of |
207 |
'xf86write' was here |
208 |
/usr/include/unistd.h:318: error: conflicting types for 'xf86write' |
209 |
/usr/include/xorg/xf86_ansic.h:274: error: previous declaration of |
210 |
'xf86write' was here |
211 |
/usr/include/unistd.h:405: error: conflicting types for 'xf86usleep' |
212 |
/usr/include/xorg/xf86_ansic.h:345: error: previous declaration of |
213 |
'xf86usleep' was here |
214 |
/usr/include/unistd.h:405: error: conflicting types for 'xf86usleep' |
215 |
/usr/include/xorg/xf86_ansic.h:345: error: previous declaration of |
216 |
'xf86usleep' was here |
217 |
In file included from /usr/include/xorg/xisb.h:32, |
218 |
from mouse.c:74: |
219 |
/usr/include/unistd.h:884:29: macro "getpagesize" passed 1 arguments, |
220 |
but takes just 0 |
221 |
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -march=pentium-m |
222 |
-msse3 -fomit-frame-pointer -pipe -DXFree86Server -DIN_MODULE |
223 |
-DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I../src -MT pnp.lo |
224 |
-MD -MP -MF .deps/pnp.Tpo -c pnp.c -fPIC -DPIC -o .libs/pnp.o |
225 |
make[2]: *** [mouse.lo] Error 1 |
226 |
make[2]: *** Waiting for unfinished jobs.... |
227 |
make[2]: Leaving directory |
228 |
`/var/tmp/portage/xf86-input-mouse-1.0.4/work/xf86-input-mouse-1.0.4/src' |
229 |
make[1]: *** [all-recursive] Error 1 |
230 |
make[1]: Leaving directory |
231 |
`/var/tmp/portage/xf86-input-mouse-1.0.4/work/xf86-input-mouse-1.0.4' |
232 |
make: *** [all] Error 2 |
233 |
|
234 |
!!! ERROR: x11-drivers/xf86-input-mouse-1.0.4 failed. |
235 |
Call stack: |
236 |
ebuild.sh, line 1525: Called dyn_compile |
237 |
ebuild.sh, line 928: Called src_compile |
238 |
ebuild.sh, line 1237: Called x-modular_src_compile |
239 |
x-modular.eclass, line 320: Called x-modular_src_make |
240 |
x-modular.eclass, line 315: Called die |
241 |
|
242 |
!!! emake failed |
243 |
!!! If you need support, post the topmost build error, and the call |
244 |
stack if relevant. |
245 |
|
246 |
Thank you |
247 |
Stephen Cantini |
248 |
|
249 |
-- |
250 |
gentoo-user@g.o mailing list |