compilation failure
Beso
givemesugarr at gmail.com
Thu Oct 23 13:14:46 PDT 2008
it's been about 10 days that i have the following compilation error in
xorg-server git version:
Making all in cw
libtool: link: x86_64-pc-linux-gnu-ar cru .libs/libcw.a .libs/cw.o
.libs/cw_ops.o .libs/cw_render.o
libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libcw.a
libtool: link: ( cd ".libs" && rm -f "libcw.la" && ln -s "../libcw.la"
"libcw.la" )
Making all in os
backtrace.c: In function 'xorg_backtrace':
backtrace.c:42: warning: format '%d' expects type 'int', but argument
2 has type 'size_t'
io.c: In function 'YieldControlNoInput':
io.c:185: error: 'fd' undeclared (first use in this function)
io.c:185: error: (Each undeclared identifier is reported only once
io.c:185: error: for each function it appears in.)
make[1]: *** [io.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
/usr/include/X11/Xtrans/Xtransint.h:349: warning: 'is_numeric'
declared 'static' but never defined
/usr/include/X11/Xtrans/Xtransint.h:354: warning: 'trans_mkdir'
declared 'static' but never defined
make: *** [all-recursive] Error 1
/usr/libexec/paludis/utils/emake: emake returned error 2
i'm on gentoo x86_64 unstable branch with the live ebuilds from x11
overlay. the kernel is 2.6.26 with gentoo patches and drm working
well.
i've upgraded the protos, libs and now i'm trying to upgrade
xorg-server, but still getting this failure on xorg-server. is there
someone who experiences the same issue or it's more like a gentoo
problem?
i also have the following error on libxcb:
make -j8 -s
Making all in src
xcb_x_print_printer_t: warning: variable field name followed by fixed
field descLen
xcb_x_print_print_input_selected_reply_t: warning: variable field
event_list followed by fixed field all_events_mask
xcb_x_print_printer_t: warning: variable field name followed by fixed
field descLen
xcb_x_print_print_input_selected_reply_t: warning: variable field
event_list followed by fixed field all_events_mask
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall
-pedantic -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
-Wnested-externs -Os -march=k8 -mno-tls-direct-seg-refs -mmmx -msse3
-pipe -fomit-frame-pointer -MT xcb_conn.lo -MD -MP -MF
.deps/xcb_conn.Tpo -c xcb_conn.c -fPIC -DPIC -o .libs/xcb_conn.o
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall
-pedantic -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
-Wnested-externs -Os -march=k8 -mno-tls-direct-seg-refs -mmmx -msse3
-pipe -fomit-frame-pointer -MT xcb_out.lo -MD -MP -MF
.deps/xcb_out.Tpo -c xcb_out.c -fPIC -DPIC -o .libs/xcb_out.o
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall
-pedantic -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
-Wnested-externs -Os -march=k8 -mno-tls-direct-seg-refs -mmmx -msse3
-pipe -fomit-frame-pointer -MT xcb_in.lo -MD -MP -MF .deps/xcb_in.Tpo
-c xcb_in.c -fPIC -DPIC -o .libs/xcb_in.o
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall
-pedantic -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
-Wnested-externs -Os -march=k8 -mno-tls-direct-seg-refs -mmmx -msse3
-pipe -fomit-frame-pointer -MT xcb_ext.lo -MD -MP -MF
.deps/xcb_ext.Tpo -c xcb_ext.c -fPIC -DPIC -o .libs/xcb_ext.o
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall
-pedantic -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
-Wnested-externs -Os -march=k8 -mno-tls-direct-seg-refs -mmmx -msse3
-pipe -fomit-frame-pointer -MT xcb_xid.lo -MD -MP -MF
.deps/xcb_xid.Tpo -c xcb_xid.c -fPIC -DPIC -o .libs/xcb_xid.o
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall
-pedantic -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
-Wnested-externs -Os -march=k8 -mno-tls-direct-seg-refs -mmmx -msse3
-pipe -fomit-frame-pointer -MT xcb_list.lo -MD -MP -MF
.deps/xcb_list.Tpo -c xcb_list.c -fPIC -DPIC -o .libs/xcb_list.o
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall
-pedantic -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
-Wnested-externs -Os -march=k8 -mno-tls-direct-seg-refs -mmmx -msse3
-pipe -fomit-frame-pointer -MT xcb_auth.lo -MD -MP -MF
.deps/xcb_auth.Tpo -c xcb_auth.c -fPIC -DPIC -o .libs/xcb_auth.o
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall
-pedantic -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
-Wnested-externs -Os -march=k8 -mno-tls-direct-seg-refs -mmmx -msse3
-pipe -fomit-frame-pointer -MT xcb_util.lo -MD -MP -MF
.deps/xcb_util.Tpo -c xcb_util.c -fPIC -DPIC -o .libs/xcb_util.o
xcb_in.c: In function 'xcb_wait_for_reply':
xcb_in.c:352: error: '_xcb_out' has no member named 'return_socket'
make[2]: *** [xcb_in.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
xcb_out.c: In function 'get_socket_back':
xcb_out.c:61: error: '_xcb_out' has no member named 'return_socket'
xcb_out.c:61: error: '_xcb_out' has no member named 'socket_moving'
xcb_out.c:62: error: '_xcb_out' has no member named 'socket_cond'
xcb_out.c:63: error: '_xcb_out' has no member named 'return_socket'
xcb_out.c:66: error: '_xcb_out' has no member named 'socket_moving'
xcb_out.c:68: error: '_xcb_out' has no member named 'return_socket'
xcb_out.c:68: error: '_xcb_out' has no member named 'socket_closure'
xcb_out.c:70: error: '_xcb_out' has no member named 'socket_moving'
xcb_out.c:72: error: '_xcb_out' has no member named 'socket_cond'
xcb_out.c:73: error: '_xcb_out' has no member named 'return_socket'
xcb_out.c:74: error: '_xcb_out' has no member named 'socket_closure'
xcb_out.c: In function 'xcb_take_socket':
xcb_out.c:270: error: '_xcb_out' has no member named 'return_socket'
xcb_out.c:271: error: '_xcb_out' has no member named 'socket_closure'
xcb_out.c: In function '_xcb_out_init':
xcb_out.c:308: error: '_xcb_out' has no member named 'socket_cond'
xcb_out.c:310: error: '_xcb_out' has no member named 'return_socket'
xcb_out.c:311: error: '_xcb_out' has no member named 'socket_closure'
xcb_out.c:312: error: '_xcb_out' has no member named 'socket_moving'
make[2]: *** [xcb_out.lo] Error 1
In file included from xcb_util.c:47:
xcbint.h:58:1: warning: "offsetof" redefined
In file included from /usr/include/time.h:39,
from /usr/include/pthread.h:26,
from xcb.h:39,
from xcb_util.c:45:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include/stddef.h:414:1:
warning: this is the location of the previous definition
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall
-pedantic -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
-Wnested-externs -Os -march=k8 -mno-tls-direct-seg-refs -mmmx -msse3
-pipe -fomit-frame-pointer -MT xcb_ext.lo -MD -MP -MF
.deps/xcb_ext.Tpo -c xcb_ext.c -o xcb_ext.o >/dev/null 2>&1
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall
-pedantic -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
-Wnested-externs -Os -march=k8 -mno-tls-direct-seg-refs -mmmx -msse3
-pipe -fomit-frame-pointer -MT xcb_xid.lo -MD -MP -MF
.deps/xcb_xid.Tpo -c xcb_xid.c -o xcb_xid.o >/dev/null 2>&1
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall
-pedantic -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
-Wnested-externs -Os -march=k8 -mno-tls-direct-seg-refs -mmmx -msse3
-pipe -fomit-frame-pointer -MT xcb_list.lo -MD -MP -MF
.deps/xcb_list.Tpo -c xcb_list.c -o xcb_list.o >/dev/null 2>&1
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall
-pedantic -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
-Wnested-externs -Os -march=k8 -mno-tls-direct-seg-refs -mmmx -msse3
-pipe -fomit-frame-pointer -MT xcb_conn.lo -MD -MP -MF
.deps/xcb_conn.Tpo -c xcb_conn.c -o xcb_conn.o >/dev/null 2>&1
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall
-pedantic -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
-Wnested-externs -Os -march=k8 -mno-tls-direct-seg-refs -mmmx -msse3
-pipe -fomit-frame-pointer -MT xcb_util.lo -MD -MP -MF
.deps/xcb_util.Tpo -c xcb_util.c -o xcb_util.o >/dev/null 2>&1
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall
-pedantic -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
-Wnested-externs -Os -march=k8 -mno-tls-direct-seg-refs -mmmx -msse3
-pipe -fomit-frame-pointer -MT xcb_auth.lo -MD -MP -MF
.deps/xcb_auth.Tpo -c xcb_auth.c -o xcb_auth.o >/dev/null 2>&1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
/usr/libexec/paludis/utils/emake: emake returned error 2
--
dott. ing. beso
More information about the xorg
mailing list