Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77959 - x11-base/xorg-x11-6.8.0-r3 fails in mesa: m_trans_tmp.h: error: `n' undeclared
Summary: x11-base/xorg-x11-6.8.0-r3 fails in mesa: m_trans_tmp.h: error: `n' undeclared
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-14 04:58 UTC by iid001
Modified: 2006-02-11 09:06 UTC (History)
1 user (show)

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 iid001 2005-01-14 04:58:48 UTC
rm -f m_matrix.o
i686-pc-linux-gnu-gcc -c -march=athlon-mp -O3 -pipe -fomit-frame-pointer -fno-strict-aliasing  -ansi
 -pedantic -Wno-return-type -w  -I../../../../extras/Mesa/src/mesa/main       -I../../../.
./extras/Mesa/src/mesa/math       -I../../../../extras/Mesa/src/mesa/glapi       -I..
/../../../extras/Mesa/src/mesa       -I../../../../extras/Mesa/src/mesa/x86       -I../../../.
./extras/Mesa/include       -I../../../include -I../../../../exports/include/X11 -I../../../dri
-I../../../glx -I../../dri -I..       -I../../../../exports/include/GL -I../../../../progr
ams/Xserver/hw/xfree86/os-support -I../../../../programs/Xserver/GL/dri  -I../../../.. -I../../../..
/exports/include   -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L             -D_P
OSIX_SOURCE -D_XOPEN_SOURCE             -D_BSD_SOURCE -D_SVID_SOURCE             
-D_GNU_SOURCE               -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS  -D_REENTRANT -DXU
SE_MTSAFE_API    -DMALLOC_0_RETURNS_NULL -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN
-DGLX_USE_MESA -DUSE_X86_ASM  -DUSE_3DNOW_ASM       -fPIC m_matrix.c
rm -f m_translate.o unshared/m_translate.o
i686-pc-linux-gnu-gcc -c -ansi -pedantic -Wno-return-type -w  -I../../../../extras/Mesa/src/mesa/mai
n       -I../../../../extras/Mesa/src/mesa/math       -I../../../../extras/Mesa/sr
c/mesa/glapi       -I../../../../extras/Mesa/src/mesa       -I../../../../extras/Mesa/sr
c/mesa/x86       -I../../../../extras/Mesa/include       -I../../../include -I../../.
./../exports/include/X11 -I../../../dri -I../../../glx -I../../dri -I..       -I../../../.
./exports/include/GL -I../../../../programs/Xserver/hw/xfree86/os-support -I../../../../programs/Xse
rver/GL/dri  -I../../../.. -I../../../../exports/include   -Dlinux -D__i386__ -D_POSIX_C_SOURCE=1993
09L             -D_POSIX_SOURCE -D_XOPEN_SOURCE             -D_B
SD_SOURCE -D_SVID_SOURCE              -D_GNU_SOURCE               -D
FUNCPROTO=15 -DNARROWPROTO -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API    -DMALLOC_0_RETURNS_NULL -DG
LXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA -DUSE_X86_ASM  -DUSE_3DNOW_AS
M       -march=athlon-mp -O3 -pipe -fomit-frame-pointer -fno-strict-aliasing   m_translate.c -o unsh
ared/m_translate.o
In file included from m_translate.c:249:
m_trans_tmp.h: In function `trans_2_GLshort_4f_raw':
m_trans_tmp.h:48: error: `n' undeclared (first use in this function)
m_trans_tmp.h:48: error: (Each undeclared identifier is reported only once
m_trans_tmp.h:48: error: for each function it appears in.)
m_trans_tmp.h: In function `trans_2_GLshort_4fc_raw':
m_trans_tmp.h:74: error: `n' undeclared (first use in this function)
In file included from m_translate.c:257:
m_trans_tmp.h: In function `trans_1_GLshort_4f_raw':
m_trans_tmp.h:48: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_1_GLshort_4fc_raw':
m_trans_tmp.h:74: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_1_GLshort_1ub_raw':
m_trans_tmp.h:188: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_1_GLshort_1ui_raw':
m_trans_tmp.h:210: error: `n' undeclared (first use in this function)
In file included from m_translate.c:288:
m_trans_tmp.h: In function `trans_4_GLushort_4f_raw':
m_trans_tmp.h:48: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_4_GLushort_4fc_raw':
m_trans_tmp.h:74: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_4_GLushort_4ub_raw':
m_trans_tmp.h:140: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_4_GLushort_4us_raw':
m_trans_tmp.h:164: error: `n' undeclared (first use in this function)
In file included from m_translate.c:297:
m_trans_tmp.h: In function `trans_3_GLushort_4f_raw':
m_trans_tmp.h:48: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_3_GLushort_4fc_raw':
m_trans_tmp.h:74: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_3_GLushort_3f_raw':
m_trans_tmp.h:98: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_3_GLushort_4ub_raw':
m_trans_tmp.h:140: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_3_GLushort_4us_raw':
m_trans_tmp.h:164: error: `n' undeclared (first use in this function)
In file included from m_translate.c:303:
m_trans_tmp.h: In function `trans_2_GLushort_4f_raw':
m_trans_tmp.h:48: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_2_GLushort_4fc_raw':
m_trans_tmp.h:74: error: `n' undeclared (first use in this function)
In file included from m_translate.c:311:
m_trans_tmp.h: In function `trans_1_GLushort_4f_raw':
m_trans_tmp.h:48: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_1_GLushort_4fc_raw':
m_trans_tmp.h:74: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_1_GLushort_1ub_raw':
m_trans_tmp.h:188: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_1_GLushort_1ui_raw':
m_trans_tmp.h:210: error: `n' undeclared (first use in this function)
In file included from m_translate.c:341:
m_trans_tmp.h: In function `trans_4_GLint_4f_raw':
m_trans_tmp.h:48: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_4_GLint_4fc_raw':
m_trans_tmp.h:74: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_4_GLint_4ub_raw':
m_trans_tmp.h:140: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_4_GLint_4us_raw':
m_trans_tmp.h:164: error: `n' undeclared (first use in this function)
In file included from m_translate.c:350:
m_trans_tmp.h: In function `trans_3_GLint_4f_raw':
m_trans_tmp.h:48: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_3_GLint_4fc_raw':
m_trans_tmp.h:74: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_3_GLint_3f_raw':
m_trans_tmp.h:98: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_3_GLint_4ub_raw':
m_trans_tmp.h:140: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_3_GLint_4us_raw':
m_trans_tmp.h:164: error: `n' undeclared (first use in this function)
In file included from m_translate.c:356:
m_trans_tmp.h: In function `trans_2_GLint_4f_raw':
m_trans_tmp.h:48: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_2_GLint_4fc_raw':
m_trans_tmp.h:74: error: `n' undeclared (first use in this function)
In file included from m_translate.c:364:
m_trans_tmp.h: In function `trans_1_GLint_4f_raw':
m_trans_tmp.h:48: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_1_GLint_4fc_raw':
m_trans_tmp.h:74: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_1_GLint_1ub_raw':
m_trans_tmp.h:188: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_1_GLint_1ui_raw':
m_trans_tmp.h:210: error: `n' undeclared (first use in this function)
In file included from m_translate.c:395:
m_trans_tmp.h: In function `trans_4_GLuint_4f_raw':
m_trans_tmp.h:48: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_4_GLuint_4fc_raw':
m_trans_tmp.h:74: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_4_GLuint_4ub_raw':
m_trans_tmp.h:140: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_4_GLuint_4us_raw':
m_trans_tmp.h:164: error: `n' undeclared (first use in this function)
In file included from m_translate.c:404:
m_trans_tmp.h: In function `trans_3_GLuint_4f_raw':
m_trans_tmp.h:48: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_3_GLuint_4fc_raw':
m_trans_tmp.h:74: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_3_GLuint_3f_raw':
m_trans_tmp.h:98: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_3_GLuint_4ub_raw':
m_trans_tmp.h:140: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_3_GLuint_4us_raw':
m_trans_tmp.h:164: error: `n' undeclared (first use in this function)
In file included from m_translate.c:410:
m_trans_tmp.h: In function `trans_2_GLuint_4f_raw':
m_trans_tmp.h:48: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_2_GLuint_4fc_raw':
m_trans_tmp.h:74: error: `n' undeclared (first use in this function)
In file included from m_translate.c:418:
m_trans_tmp.h: In function `trans_1_GLuint_4f_raw':
m_trans_tmp.h:48: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_1_GLuint_4fc_raw':
m_trans_tmp.h:74: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_1_GLuint_1ub_raw':
m_trans_tmp.h:188: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_1_GLuint_1ui_raw':
m_trans_tmp.h:210: error: `n' undeclared (first use in this function)
In file included from m_translate.c:449:
m_trans_tmp.h: In function `trans_4_GLdouble_4f_raw':
m_trans_tmp.h:48: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_4_GLdouble_4fc_raw':
m_trans_tmp.h:74: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_4_GLdouble_4ub_raw':
m_trans_tmp.h:140: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_4_GLdouble_4us_raw':
m_trans_tmp.h:164: error: `n' undeclared (first use in this function)
In file included from m_translate.c:458:
m_trans_tmp.h: In function `trans_3_GLdouble_4f_raw':
m_trans_tmp.h:48: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_3_GLdouble_4fc_raw':
m_trans_tmp.h:74: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_3_GLdouble_3f_raw':
m_trans_tmp.h:98: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_3_GLdouble_4ub_raw':
m_trans_tmp.h:140: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_3_GLdouble_4us_raw':
m_trans_tmp.h:164: error: `n' undeclared (first use in this function)
In file included from m_translate.c:464:
m_trans_tmp.h: In function `trans_2_GLdouble_4f_raw':
m_trans_tmp.h:48: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_2_GLdouble_4fc_raw':
m_trans_tmp.h:74: error: `n' undeclared (first use in this function)
In file included from m_translate.c:473:
m_trans_tmp.h: In function `trans_1_GLdouble_4f_raw':
m_trans_tmp.h:48: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_1_GLdouble_4fc_raw':
m_trans_tmp.h:74: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_1_GLdouble_1f_raw':
m_trans_tmp.h:120: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_1_GLdouble_1ub_raw':
m_trans_tmp.h:188: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_1_GLdouble_1ui_raw':
m_trans_tmp.h:210: error: `n' undeclared (first use in this function)
In file included from m_translate.c:488:
m_trans_tmp.h: In function `trans_4_GLfloat_4f_raw':
m_trans_tmp.h:48: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_4_GLfloat_4fc_raw':
m_trans_tmp.h:74: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_4_GLfloat_4ub_raw':
m_trans_tmp.h:140: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_4_GLfloat_4us_raw':
m_trans_tmp.h:164: error: `n' undeclared (first use in this function)
In file included from m_translate.c:497:
m_trans_tmp.h: In function `trans_3_GLfloat_4f_raw':
m_trans_tmp.h:48: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_3_GLfloat_4fc_raw':
m_trans_tmp.h:74: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_3_GLfloat_3f_raw':
m_trans_tmp.h:98: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_3_GLfloat_4ub_raw':
m_trans_tmp.h:140: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_3_GLfloat_4us_raw':
m_trans_tmp.h:164: error: `n' undeclared (first use in this function)
In file included from m_translate.c:503:
m_trans_tmp.h: In function `trans_2_GLfloat_4f_raw':
m_trans_tmp.h:48: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_2_GLfloat_4fc_raw':
m_trans_tmp.h:74: error: `n' undeclared (first use in this function)
In file included from m_translate.c:513:
m_trans_tmp.h: In function `trans_1_GLfloat_4f_raw':
m_trans_tmp.h:48: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_1_GLfloat_4fc_raw':
m_trans_tmp.h:74: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_1_GLfloat_1f_raw':
m_trans_tmp.h:120: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_1_GLfloat_1ub_raw':
m_trans_tmp.h:188: error: `n' undeclared (first use in this function)
m_trans_tmp.h: In function `trans_1_GLfloat_1ui_raw':
m_trans_tmp.h:210: error: `n' undeclared (first use in this function)
m_translate.c: In function `trans_4_GLubyte_4ub_raw':
m_translate.c:536: error: `n' undeclared (first use in this function)
make[6]: *** [m_translate.o] Error 1
make[6]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r3/work/xc/lib/GL/mesa/math'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r3/work/xc/lib/GL/mesa'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r3/work/xc/lib/GL'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r3/work/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r3/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r3/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.8.0-r3 failed.
!!! Function src_compile, Line 632, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.




Reproducible: Always
Steps to Reproduce:
1.VIDEO_CARDS="radeon" emerge x11-drm


Actual Results:  
The error of Details occurs during XOrg compile.


Expected Results:  
I want to complete compile.

#emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1,
2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 AMD Athlon(tm) MP 1800+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers: sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage"
USE="3dnow X apm arts avi berkdb bitmap-fonts canna cjk crypt cups encode f77
fbcon font-server foom
aticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad
mikmod motif mpeg n
curses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime
readline sdl spell ssl
svga tcpd truetype truetype-fonts type1-fonts x86 xml2 xmms xv zlib
video_cards_radeon"
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2005-10-05 20:15:44 UTC
If you can reproduce with >=6.8.99.15, please reopen.
Comment 2 gvwolf3d 2006-02-11 09:06:01 UTC
Occurs also in  x11-base/xorg-x11 6.8.2-r6:

emerge -av x11-drm


...
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_drv.c:42: warning: format argument is not a pointer (arg 8)
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_cp.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_state.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_mem.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_irq.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.o
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.c: In function `setup_i2c_bus':
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.c:91: error: `I2C_ALGO_ATI' undeclared (first use in this function)
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.c:91: error: (Each undeclared identifier is reported only once
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.c:91: error: for each function it appears in.)
make[2]: *** [/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.o] Error 1
make[1]: *** [_module_/var/tmp/portage/x11-drm-20050502/work/drm/linux-core] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.14.2'
make: *** [modules] Error 2
 * Portage could not build the DRM modules. If you see an ACCESS DENIED error,
 * this could mean that you were using an unsupported kernel build system. All
 * 2.4 kernels are supported, but only 2.6 kernels at least as new as 2.6.6
 * are supported.

!!! ERROR: x11-base/x11-drm-20050502 failed.
!!! Function die_error, Line 212, Exitcode 0
!!! Unable to build DRM modules.
!!! If you need support, post the topmost build error, NOT this status message.