Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Xorg compile : Undeclared identifiers
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
EternalNewbye
n00b
n00b


Joined: 11 Mar 2005
Posts: 38

PostPosted: Sun Jul 30, 2006 12:49 pm    Post subject: [solved] Xorg compile : Undeclared identifiers Reply with quote

Hi,

I'm running gentoo on an amd64 HP labtop. I wanted to switch to modular xorg, and I get errors when compiling xorg-server-1.0.2-r7 :

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../../GL/include -I../../hw/xfree86/os-support -DHAVE_DIX_CONFIG_H -I/var/tmp/portage/xorg-server-1.0.2-r7/work/Mesa-6.4.2/include -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -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 -I../../lbx -march=k8 -O3 -pipe -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -fexpensive-optimizations -falign-functions=4 -MT glxcmds.lo -MD -MP -MF .deps/glxcmds.Tpo -c glxcmds.c  -fPIC -DPIC -o .libs/glxcmds.o
glxcmds.c: In function `__glXBindSwapBarrierSGIX':
glxcmds.c:1749: warning: cast to pointer from integer of different size
glxcmds.c: In function `__glxQueryHyperpipeNetworkSGIX':
glxcmds.c:1796: error: `xGLXQueryHyperpipeNetworkSGIXReq' undeclared (first use in this function)
glxcmds.c:1796: error: (Each undeclared identifier is reported only once
glxcmds.c:1796: error: for each function it appears in.)
glxcmds.c:1796: error: `req' undeclared (first use in this function)
glxcmds.c:1796: error: syntax error before ')' token
glxcmds.c:1797: error: `xGLXQueryHyperpipeNetworkSGIXReply' undeclared (first use in this function)
glxcmds.c:1812: error: `reply' undeclared (first use in this function)
glxcmds.c:1825: error: `sz_xGLXQueryHyperpipeNetworkSGIXReply' undeclared (first use in this function)
glxcmds.c: In function `__glxDestroyHyperpipeConfigSGIX':
glxcmds.c:1836: error: `xGLXDestroyHyperpipeConfigSGIXReq' undeclared (first use in this function)
glxcmds.c:1836: error: `req' undeclared (first use in this function)
glxcmds.c:1837: error: syntax error before ')' token
glxcmds.c:1838: error: `xGLXDestroyHyperpipeConfigSGIXReply' undeclared (first use in this function)
glxcmds.c:1851: error: `reply' undeclared (first use in this function)
glxcmds.c:1863: error: `sz_xGLXDestroyHyperpipeConfigSGIXReply' undeclared (first use in this function)
glxcmds.c: In function `__glxQueryHyperpipeConfigSGIX':
glxcmds.c:1871: error: `xGLXQueryHyperpipeConfigSGIXReq' undeclared (first use in this function)
glxcmds.c:1871: error: `req' undeclared (first use in this function)
glxcmds.c:1872: error: syntax error before ')' token
glxcmds.c:1873: error: `xGLXQueryHyperpipeConfigSGIXReply' undeclared (first use in this function)
glxcmds.c:1889: error: `reply' undeclared (first use in this function)
glxcmds.c:1904: error: `sz_xGLXQueryHyperpipeConfigSGIXReply' undeclared (first use in this function)
glxcmds.c: In function `__glxHyperpipeConfigSGIX':
glxcmds.c:1915: error: `xGLXHyperpipeConfigSGIXReq' undeclared (first use in this function)
glxcmds.c:1915: error: `req' undeclared (first use in this function)
glxcmds.c:1916: error: syntax error before ')' token
glxcmds.c:1917: error: `xGLXHyperpipeConfigSGIXReply' undeclared (first use in this function)
glxcmds.c:1935: error: `reply' undeclared (first use in this function)
glxcmds.c:1949: error: `sz_xGLXHyperpipeConfigSGIXReply' undeclared (first use in this function)
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../include -I../../include -I../../include -I../../GL/include -I../../hw/xfree86/os-support -DHAVE_DIX_CONFIG_H -I/var/tmp/portage/xorg-server-1.0.2-r7/work/Mesa-6.4.2/include -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -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 -I../../lbx -march=k8 -O3 -pipe -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -fexpensive-optimizations -falign-functions=4 -MT glxcmdsswap.lo -MD -MP -MF .deps/glxcmdsswap.Tpo -c glxcmdsswap.c  -fPIC -DPIC -o .libs/glxcmdsswap.o
make[2]: *** [glxcmds.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/xorg-server-1.0.2-r7/work/xorg-server-1.0.2/GL/glx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xorg-server-1.0.2-r7/work/xorg-server-1.0.2/GL'

make: *** [all-recursive] Error 1

!!! ERROR: x11-base/xorg-server-1.0.2-r7 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 1248:   Called x-modular_src_compile
  x-modular.eclass, line 327:   Called x-modular_src_make
  x-modular.eclass, line 322:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


Here is my make.conf file :
Code:
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -fexpensive-optimizations -falign-functions=4"
CXXFLAGS="${CLFAGS}"

MAKEOPTS="-j2"

USE="mutilib a52 aac alsa apm ac3 acpi audiofile avi -arts bash-completion -berkdb bmp -bonobo bzip2 cdparanoia cdr cpdflib crypt -cups curl ctype divx5linux -dri dvd dvdr dvdread emacs encode esd ethereal exif ftp -foomaticdb ffmpeg gif gtk gtk2 -gnome gphoto2 gstreamer hal -howl imlib imagemagick -ipv6 jpeg jpeg2k java javascript jikes -kde leim -libwww mad mime -motif mp3 mpeg ncurses -nls nptl nmap nvidia oss ogg offensive opengl -pcmcia pdf png pnp posix -python -qt -qt3 -qt4 quicktime readline sasl sdl sharedmem sockets socks5 ssl sysvipc truetype tcpd threads unicode usb video_cards_nvidia vorbis vcd wifi win32codecs xine xmms xpm xvid xmms xml xsl bitmap-fonts truetype-fonts type1-fonts"

ALSA_CARDS="intel8x0"

VIDEO_CARDS="nvidia"
INPUT_DEVICES="keyboard mouse synaptics nvidia"

CLEAN_DELAY="1"

PORTDIR_OVERLAY="/usr/local/portage"


Has anyone any idea of what's going wrong ?


Last edited by EternalNewbye on Mon Aug 07, 2006 10:42 am; edited 3 times in total
Back to top
View user's profile Send private message
phlexx
n00b
n00b


Joined: 11 Jul 2006
Posts: 42

PostPosted: Sun Jul 30, 2006 1:01 pm    Post subject: Reply with quote

maybe your optimizing flags are too hard ? =)
Back to top
View user's profile Send private message
EternalNewbye
n00b
n00b


Joined: 11 Mar 2005
Posts: 38

PostPosted: Tue Aug 01, 2006 6:57 pm    Post subject: Reply with quote

Just tried recompiling Mesa and xorg-server with flags "-O2 -pipe" only, but it didn't do any good, I'm still getting the same errors.
Back to top
View user's profile Send private message
karacazzo
n00b
n00b


Joined: 04 Aug 2006
Posts: 1

PostPosted: Fri Aug 04, 2006 8:42 am    Post subject: glx problem Reply with quote

I'v the same problem, i can't compile xorg-server
i try to emerge -e xorg-x11 but it fails.
i've nvidia video card and amd 64 pc.
can someone help me?
Back to top
View user's profile Send private message
FGA
Apprentice
Apprentice


Joined: 07 Apr 2004
Posts: 179

PostPosted: Sun Aug 06, 2006 3:47 pm    Post subject: Reply with quote

I'm having the same error :cry: can't compile xorg-server-1.0.2-r7

Anyone got it solved?

I also have nvidia and amd64
Back to top
View user's profile Send private message
EternalNewbye
n00b
n00b


Joined: 11 Mar 2005
Posts: 38

PostPosted: Sun Aug 06, 2006 4:29 pm    Post subject: Reply with quote

Not solved yet ...

FGA, do you get the exact same compile errors ?
And could you post your make.conf file to see if it might be due to some (mis)configuration issue ?
Back to top
View user's profile Send private message
FGA
Apprentice
Apprentice


Joined: 07 Apr 2004
Posts: 179

PostPosted: Sun Aug 06, 2006 5:29 pm    Post subject: Reply with quote

solved! :D

Just emerged emul-linux-x86-xlibs and now it compiled cleanly
Back to top
View user's profile Send private message
EternalNewbye
n00b
n00b


Joined: 11 Mar 2005
Posts: 38

PostPosted: Sun Aug 06, 2006 5:39 pm    Post subject: Reply with quote

Where the hell did you find the fix ?

It felt like I had been looking for it for yeeeaaaaarrrsss ...
___

(need my fix !)
Back to top
View user's profile Send private message
EternalNewbye
n00b
n00b


Joined: 11 Mar 2005
Posts: 38

PostPosted: Mon Aug 07, 2006 10:41 am    Post subject: Reply with quote

Well it worked for me, so thank you.

Now I got some keyboard issues ...
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