Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to compile xorg 1.2.0
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Hell-Razor
Guru
Guru


Joined: 10 Jun 2004
Posts: 458

PostPosted: Sat Jan 27, 2007 12:28 am    Post subject: Failed to compile xorg 1.2.0 Reply with quote

Ok I recently tried to update my xorg server to 1.2.0 with a pretty big error. I masked this version and tried 1.1.0, same error. So I decided to keep with the ~amd64 one and well heres the output:

[Edit] Just fixed it to look better [/Edit]

Code:

 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../hw/xfree86 -I../../../hw/xfree86/include -I../../../hw/xfree86/common -I../../../hw/xfree86/os-support -I../../../hw/xfree86/os-support/bus -I../../../os -I./../ddc -I./../i2c -I./../loader -I./../rac -I./../parser -I./../scanpci -I./../vbe -I./../int10 -I./../vgahw -I./../dixmods/extmod -DHAVE_XORG_CONFIG_H -DXF86PM -DHAVE_ACPI -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I../../../include -I../../../include -I../../../Xext -I../../../composite -I../../../damageext -I../../../xfixes -I../../../Xi -I../../../mi -I../../../miext/shadow -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb -march=k8 -O2 -pipe -MT xf86Io.lo -MD -MP -MF .deps/xf86Io.Tpo -c xf86Io.c  -fPIC -DPIC -o .libs/xf86Io.o
In file included from atKeynames.h:58,
                 from xf86Events.c:71:
/usr/include/X11/XF86keysym.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'XF86XK_Standby'
In file included from xf86Events.c:75:
./../dixmods/extmod/dgaproc.h:53: warning: data definition has no type or storage class

./../dixmods/extmod/dgaproc.h:53: warning: type defaults to 'int' in declaration of 'XDGAModeRec'
./../dixmods/extmod/dgaproc.h:53: warning: type defaults to 'int' in declaration of 'XDGAModePtr'
./../dixmods/extmod/dgaproc.h:61: error: expected declaration specifiers or '...' before 'XDGAModePtr'
./../dixmods/extmod/dgaproc.h:120: error: expected declaration specifiers or '...' before 'XDGAModePtr'
xf86Events.c: In function 'xorg_backtrace':
xf86Events.c:1270: warning: format '%d' expects type 'int', but argument 2 has type 'size_t'
make[5]: *** [xf86Events.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from atKeynames.h:58,
                 from xf86Io.c:86:
/usr/include/X11/XF86keysym.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'XF86XK_Standby'
xf86Io.c:100: error: expected identifier or '(' before '{' token
make[5]: *** [xf86Io.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/xorg-server-1.2.0/work/xorg-server-1.2.0/hw/xfree86/common'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/xorg-server-1.2.0/work/xorg-server-1.2.0/hw/xfree86/common'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/xorg-server-1.2.0/work/xorg-server-1.2.0/hw/xfree86'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-server-1.2.0/work/xorg-server-1.2.0/hw/xfree86'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xorg-server-1.2.0/work/xorg-server-1.2.0/hw'
make: *** [all-recursive] Error 1
 
!!! ERROR: x11-base/xorg-server-1.2.0 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called x-modular_src_compile
  x-modular.eclass, line 333:   Called x-modular_src_make
  x-modular.eclass, line 328:   Called die


And my emerge --info:
Code:

# emerge --info
Portage 2.1.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-ck                                                                                                                                       
1-r1 x86_64)
=================================================================
System uname: 2.6.18-ck1-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.6
Last Sync: Fri, 26 Jan 2007 23:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu                                                                                                                                       
tdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms                                                                                                                                       
/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ "
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress                                                                                                                                         
--force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/d                                                                                                                                       
istfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi aiglx aim alsa alsa_cards_ali5451 alsa_cards_als4000 a                                                                                                                                       
lsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa                                                                                                                                       
_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_car                                                                                                                                       
ds_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_int                                                                                                                                       
el8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb                                                                                                                                       
-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_pl                                                                                                                                       
ugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy al                                                                                                                                       
sa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plu                                                                                                                                       
gins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks                                                                                                                                       
 alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pc                                                                                                                                       
m_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins                                                                                                                                       
_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_p                                                                                                                                       
cm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_s                                                                                                                                       
hm alsa_pcm_plugins_softvol bash-completion berkdb bitmap-fonts bzip2 cdinstall                                                                                                                                         
cdparanoia cdr cli cracklib crypt cups dbus dga dio dlloader dri dts dvd dvdr dv                                                                                                                                       
dread elibc_glibc encode ethereal fbcon ffmpeg flac flash fortran ftp gdbm glut                                                                                                                                         
gpm gstreamer gtk gtk2 iconv icq input_devices_evdev input_devices_fbdev input_d                                                                                                                                       
evices_joystick input_devices_keyboard input_devices_mouse input_devices_nv inpu                                                                                                                                       
t_devices_tseng input_devices_v4l input_devices_vesa input_devices_vga input_dev                                                                                                                                       
ices_void ipv6 isdnlog jabber java jikes jpeg jpeg2k kernel_linux lash lcd_devic                                                                                                                                       
es_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_h                                                                                                                                       
d44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncur                                                                                                                                       
ses lcd_devices_text libg++ linguas_en mad mikmod mmap mozilla mp3 mpeg msn ncur                                                                                                                                       
ses nls nocd nptl nptlonly nvidia ogg openal opengl osc oss pam pcre pda pdf per                                                                                                                                       
l png ppds pppd python readline reflection samba sdl session shorten skins speex                                                                                                                                       
 spell spl ssl svg tcpd threads truetype truetype-fonts type1-fonts udev unicode                                                                                                                                       
 usb userland_GNU v4l vcd verbose video_cards_fbdev video_cards_nv video_cards_n                                                                                                                                       
vidia video_cards_v4l videos wma wxwubdiws xine xorg xv xvid yahoo zlib"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_O                                                                                                                                       
VERLAY


Anybody have any ideas? I have looked all over with no success.
Another thing that is quite confusing is i am not using xorg, just xorg server:


Code:

*  x11-base/xorg-server
      Latest version available: 1.2.0
      Latest version installed: 1.1.1-r1
      Size of files: 9,091 kB
      Homepage:      http://xorg.freedesktop.org/
      Description:   X.Org X servers
      License:       xorg-server MIT

*  x11-base/xorg-x11
      Latest version available: 7.1
      Latest version installed: [ Not Installed ]
      Size of files: 0 kB
      Homepage:      http://xorg.freedesktop.org
      Description:   An X11 implementation maintained by the X.Org Foundation (meta package)
      License:       as-is
Back to top
View user's profile Send private message
SlashRhumSlashNeisson
Apprentice
Apprentice


Joined: 30 Dec 2006
Posts: 201
Location: Lille

PostPosted: Sat Jan 27, 2007 7:35 am    Post subject: Reply with quote

humm

try to return to the previous version of xorg-server in your "package.keywords",

with before,

Code:
emerge xorg-x11
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sat Jan 27, 2007 9:21 am    Post subject: Re: Failed to compile xorg 1.2.0 Reply with quote

Hell-Razor wrote:
/usr/include/X11/XF86keysym.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'XF86XK_Standby'

So check that file.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum